public class Xor extends BaseTransformBoolOp
Modifier and Type | Field and Description |
---|---|
protected double |
comparable |
dimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, extraArgs, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
Xor() |
Xor(@NonNull INDArray x,
@NonNull INDArray y) |
Xor(@NonNull INDArray x,
@NonNull INDArray y,
INDArray z) |
Xor(@NonNull INDArray x,
@NonNull INDArray y,
INDArray z,
Number comparable) |
Xor(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace,
double comparable) |
Xor(SameDiff sameDiff,
SDVariable ix,
SDVariable iy) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
Op.Type |
getOpType() |
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 ) |
Op.Type |
opType()
The type of the op
|
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, resultType, resultType, validateDataTypes
z
clearArrays, defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getInputArgument, getNumOutputs, getOpType, hashCode, initFromOnnx, initFromTensorFlow, outputVariables, setX, setY, setZ, toCustomOp, toString, x, y
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, z
public Xor(SameDiff sameDiff, SDVariable ix, SDVariable iy)
public Xor(SameDiff sameDiff, SDVariable i_v, boolean inPlace, double comparable)
public Xor()
public int opNum()
DifferentialFunction
Op
)opNum
in interface Op
opNum
in class DifferentialFunction
public Op.Type getOpType()
getOpType
in interface TransformOp
getOpType
in class BaseTransformBoolOp
public Op.Type opType()
DifferentialFunction
opType
in class BaseTransformBoolOp
public String opName()
DifferentialFunction
opName
in interface Op
opName
in class DifferentialFunction
public String onnxName()
DifferentialFunction
public String tensorflowName()
DifferentialFunction
tensorflowName
in class BaseOp
public List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunction
doDiff
in class DifferentialFunction
Copyright © 2020. All rights reserved.