public class GELU extends BaseTransformStrictOp
dimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue| Constructor and Description |
|---|
GELU(INDArray ndArray) |
GELU(INDArray x,
INDArray z) |
GELU(SameDiff sameDiff,
SDVariable i_v) |
GELU(SameDiff sameDiff,
SDVariable i_v,
boolean precise) |
GELU(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace,
boolean precise) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op) |
calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, getOpType, opType, resultType, resultType, validateDataTypeszclearArrays, defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getInputArgument, getNumOutputs, getOpType, hashCode, initFromOnnx, initFromTensorFlow, onnxName, outputVariables, setX, setY, setZ, tensorflowName, 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, waitclearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, zpublic GELU(SameDiff sameDiff, SDVariable i_v, boolean inPlace, boolean precise)
public GELU(SameDiff sameDiff, SDVariable i_v, boolean precise)
public GELU(SameDiff sameDiff, SDVariable i_v)
public GELU(INDArray ndArray)
public int opNum()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunctiondoDiff in class DifferentialFunctionCopyright © 2021. All rights reserved.