public abstract class AbstractSymbolBlock extends AbstractBlock implements SymbolBlock
AbstractSymbolBlock is an abstract implementation of SymbolBlock.children, inputNames, inputShapes, parameters, parameterShapeCallbacks, version| Constructor and Description |
|---|
AbstractSymbolBlock(byte version)
Builds an empty block with the given version for parameter serialization.
|
| Modifier and Type | Method and Description |
|---|---|
Shape[] |
getOutputShapes(NDManager manager,
Shape[] inputShapes)
Returns the expected output shapes of the block for the specified input shapes.
|
addChildBlock, addParameter, addParameter, addParameter, beforeInitialize, cast, clear, describeInput, forward, forwardInternal, getChildren, getDirectParameters, getParameters, getParameterShape, initialize, initializeChildBlocks, isInitialized, loadMetadata, loadParameters, readInputShapes, saveInputShapes, saveMetadata, saveParameters, setInitializer, setInitializer, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdescribeOutput, removeLastBlockcast, clear, describeInput, forward, forward, forward, getChildren, getDirectParameters, getParameters, getParameterShape, initialize, isInitialized, loadParameters, saveParameters, setInitializer, setInitializer, validateLayoutpublic AbstractSymbolBlock(byte version)
version - the version to use for parameter serialization.public Shape[] getOutputShapes(NDManager manager, Shape[] inputShapes)
getOutputShapes in interface Blockmanager - an NDManagerinputShapes - the shapes of the inputs