public interface Module extends CustomOp
CustomOp
with varying input arguments
and automatically calculated outputs
defined at a higher level than c++.
A Module is meant to be a way of implementing custom operations
in straight java/nd4j.Modifier and Type | Method and Description |
---|---|
void |
addModule(Module module) |
void |
exec(INDArray... inputs) |
void |
execSameDiff(SDVariable... input) |
Module[] |
subModules() |
addIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, assertValidForExecution, calculateOutputShape, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, inputArguments, isInplaceCall, numIArguments, numInputArguments, numOutputArguments, numTArguments, opHash, opName, outputArguments, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, tArgs
void exec(INDArray... inputs)
inputs
- Module[] subModules()
void addModule(Module module)
void execSameDiff(SDVariable... input)
Copyright © 2018. All rights reserved.