public class LeakyReLU extends BaseScalarOp
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_ALPHA |
dimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, ownName, ownNameSetWithDefault, 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,
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.
|
void |
initFromTensorFlow(NodeDef nodeDef,
SameDiff initWith,
Map<String,AttrValue> attributesForNode,
GraphDef graph)
Initialize the function from the given
NodeDef |
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, calculateOutputShape, getDimension, getOpType, opType, scalar, setDimension, setScalar, setScalar, validateDataTypes, zclearArrays, defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getInputArgument, getNumOutputs, getOpType, hashCode, initFromOnnx, outputVariables, setX, setY, setZ, toCustomOp, toString, x, yarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitdimensionsclearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, ypublic static final double DEFAULT_ALPHA
public LeakyReLU(SameDiff sameDiff, SDVariable i_v, boolean inPlace, double alpha)
public LeakyReLU(SameDiff sameDiff, SDVariable i_v, 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()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic String onnxName()
DifferentialFunctionpublic String tensorflowName()
DifferentialFunctiontensorflowName in class BaseOppublic List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunctiondoDiff in class DifferentialFunctionpublic void initFromTensorFlow(NodeDef nodeDef, SameDiff initWith, Map<String,AttrValue> attributesForNode, GraphDef graph)
DifferentialFunctionNodeDefinitFromTensorFlow in class BaseOpCopyright © 2021. All rights reserved.