public interface SymbolBlock extends Block
SymbolBlock is a Block is used to load models that were exported directly from
the engine in its native format.| Modifier and Type | Method and Description |
|---|---|
default ai.djl.util.PairList<java.lang.String,Shape> |
describeOutput()
Returns a
PairList of output names and shapes stored in model file. |
static SymbolBlock |
newInstance(NDManager manager)
Creates an empty SymbolBlock instance.
|
default void |
removeLastBlock()
Removes the last block in the symbolic graph.
|
cast, clear, describeInput, forward, forward, forward, getChildren, getDirectParameters, getOutputShapes, getParameters, initialize, isInitialized, loadParameters, saveParameters, setInitializer, setInitializer, setInitializer, validateLayoutstatic SymbolBlock newInstance(NDManager manager)
manager - the manager to be applied in the SymbolBlockdefault void removeLastBlock()
default ai.djl.util.PairList<java.lang.String,Shape> describeOutput()
PairList of output names and shapes stored in model file.PairList of output names, and shapes