public class LeakyReLU extends BaseScalarOp
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_ALPHA |
dimensionz, extraArgs, extraArgz, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
LeakyReLU() |
LeakyReLU(INDArray x) |
LeakyReLU(INDArray x,
double alpha) |
LeakyReLU(INDArray x,
INDArray z) |
LeakyReLU(INDArray x,
INDArray z,
double alpha) |
LeakyReLU(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace,
double alpha) |
LeakyReLU(SameDiff sameDiff,
SDVariable i_v,
Object[] extraArgs,
double alpha) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
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
|
calculateOutputDataTypes, calculateOutputShape, getDimension, getOpType, opType, scalar, setDimension, setScalar, setScalar, validateDataTypes, z
defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getNumOutputs, getOpType, hashCode, initFromOnnx, initFromTensorFlow, outputVariables, setX, setY, setZ, toCustomOp, toString, x, y
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dimensions
extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y
public static final double DEFAULT_ALPHA
public LeakyReLU(SameDiff sameDiff, SDVariable i_v, boolean inPlace, double alpha)
public LeakyReLU(SameDiff sameDiff, SDVariable i_v, Object[] extraArgs, double alpha)
public LeakyReLU()
public LeakyReLU(INDArray x, double alpha)
public LeakyReLU(INDArray x)
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 © 2019. All rights reserved.