public abstract class ParameterBlock extends AbstractBlock
inputNames, inputShapes
Constructor and Description |
---|
ParameterBlock() |
Modifier and Type | Method and Description |
---|---|
BlockList |
getChildren()
Returns a list of all the children of the block.
|
Shape[] |
initialize(NDManager manager,
DataType dataType,
Shape... inputShapes)
Initializes the parameters of the block.
|
java.lang.String |
toString() |
beforeInitialize, cast, clear, describeInput, getParameters, isInitialized, readInputShapes, saveInputShapes, setInitializer, setInitializer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forward, forward, getDirectParameters, getOutputShapes, getParameterShape, loadParameters, saveParameters, validateLayout
public Shape[] initialize(NDManager manager, DataType dataType, Shape... inputShapes)
manager
- the NDManager to initialize the parametersdataType
- the datatype of the parametersinputShapes
- the shapes of the inputs to the blockpublic final BlockList getChildren()
public java.lang.String toString()
toString
in class java.lang.Object