Create an operator that carries out the real computation given the context, input shapes, and input data types.
Declare dependencies of this operator for backward pass.
Declare dependencies of this operator for backward pass.
: array of Int ids of outGrad blobs.
: array of Int ids of inData blobs.
: array of Int ids of outData blobs.
deps : array of Int ids of the needed blobs.
inferShape interface.
inferShape interface. override to create new operators
: array of Shape list of argument shapes in the same order as declared in listArguments().
inShapes : array of Shape array of argument shapes. Can be modified from inShape. outShapes : array of Shape array of output shapes calculated from inShape, in the same order as declared in listOutputs(). auxShapes : Optional, array of Shape array of aux shapes calculated from inShape, in the same order as declared in listAuxiliaryStates().
inferType interface.
inferType interface. override to create new operators
: array of DType list of argument types in the same order as declared in listArguments().
inTypes : array of DType array of argument types. Can be modified from inType. outTypes : array of DType array of output types calculated from inType, in the same order as declared in listOutputs(). auxTypes : Optional, array of DType array of aux types calculated from inType, in the same order as declared in listAuxiliaryStates().
listArguments interface.
listArguments interface. override to create new operators
arguments : array of String list of argument blob names.
listAuxiliaryStates interface.
listAuxiliaryStates interface. override to create new operators
auxs : array of String list of auxiliary state blob names.
listOutputs interface.
listOutputs interface. override to create new operators
outputs : array of String list of output blob names.
Base class for operator property class implemented in Scala. MXNET_CPU_WORKER_NTHREADS must be greater than 1 for custom op to work on CPU