public class Relu6 extends BaseTransformOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
Relu6() |
Relu6(INDArray x) |
Relu6(INDArray x,
double cutoff) |
Relu6(INDArray x,
INDArray z) |
Relu6(INDArray x,
INDArray z,
double cutoff) |
Relu6(INDArray x,
INDArray y,
INDArray z) |
Relu6(INDArray x,
INDArray y,
INDArray z,
long n) |
Relu6(INDArray x,
INDArray y,
INDArray z,
long n,
double cutoff) |
Relu6(INDArray x,
INDArray z,
long n) |
Relu6(INDArray x,
INDArray z,
long n,
double cutoff) |
Relu6(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace,
double cutoff) |
Relu6(SameDiff sameDiff,
SDVariable i_v1,
SDVariable i_v2,
boolean inPlace,
double cutoff) |
Relu6(SameDiff sameDiff,
SDVariable i_v1,
SDVariable i_v2,
Object[] extraArgs,
double cutoff) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
void |
init(INDArray x,
INDArray y,
INDArray z,
long n)
Initialize the operation based on the parameters
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op ) |
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, opType, z
equals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, initFromOnnx, initFromTensorFlow, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y
arg, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariables, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y
public Relu6(SameDiff sameDiff, SDVariable i_v1, SDVariable i_v2, boolean inPlace, double cutoff)
public Relu6(SameDiff sameDiff, SDVariable i_v1, SDVariable i_v2, Object[] extraArgs, double cutoff)
public Relu6(SameDiff sameDiff, SDVariable i_v, boolean inPlace, double cutoff)
public Relu6()
public Relu6(INDArray x, double cutoff)
public Relu6(INDArray x)
public void init(INDArray x, INDArray y, INDArray z, long n)
Op
public int opNum()
DifferentialFunction
Op
)opNum
in interface Op
opNum
in class DifferentialFunction
public String opName()
DifferentialFunction
opName
in interface Op
opName
in class DifferentialFunction
public String onnxName()
DifferentialFunction
onnxName
in class DifferentialFunction
public String tensorflowName()
DifferentialFunction
tensorflowName
in class DifferentialFunction
public List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunction
doDiff
in class DifferentialFunction
Copyright © 2018. All rights reserved.