public class FunctionInfo
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getArgumentNames()
Returns the names of the params to the operator.
|
java.util.List<java.lang.String> |
getArgumentTypes()
Returns the types of the operator arguments.
|
java.lang.String |
getFunctionName()
Returns the name of the operator.
|
int |
invoke(ai.djl.ndarray.NDManager manager,
ai.djl.ndarray.NDArray[] src,
ai.djl.ndarray.NDArray[] dest,
ai.djl.util.PairList<java.lang.String,?> params)
Calls an operator with the given arguments.
|
ai.djl.ndarray.NDArray[] |
invoke(ai.djl.ndarray.NDManager manager,
ai.djl.ndarray.NDArray[] src,
ai.djl.util.PairList<java.lang.String,?> params)
Calls an operator with the given arguments.
|
public int invoke(ai.djl.ndarray.NDManager manager,
ai.djl.ndarray.NDArray[] src,
ai.djl.ndarray.NDArray[] dest,
ai.djl.util.PairList<java.lang.String,?> params)
manager - the manager to attach the result tosrc - the input NDArray(s) to the operatordest - the destination NDArray(s) to be overwritten with the result of the operatorparams - the non-NDArray arguments to the operator. Should be a PairList<String,
String>public ai.djl.ndarray.NDArray[] invoke(ai.djl.ndarray.NDManager manager,
ai.djl.ndarray.NDArray[] src,
ai.djl.util.PairList<java.lang.String,?> params)
manager - the manager to attach the result tosrc - the input NDArray(s) to the operatorparams - the non-NDArray arguments to the operator. Should be a PairList<String,
String>public java.lang.String getFunctionName()
public java.util.List<java.lang.String> getArgumentNames()
public java.util.List<java.lang.String> getArgumentTypes()