blockName, dummyResult, falseBody, falseBodyExecution, falseBodyName, inputVars, loopBodyExecution, outputVars, predicate, predicateExecution, targetBoolean, trueBody, trueBodyExecuted, trueBodyName
dimensions, extraArgs, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
IfDerivative(If ifBlock) |
Modifier and Type | Method and Description |
---|---|
List<LongShapeDescriptor> |
calculateOutputShape()
Calculate the output shape for this op
|
List<SDVariable> |
diff(List<SDVariable> i_v1)
Perform automatic differentiation
wrt the input variables
|
String |
getBlockName() |
SameDiffFunctionDefinition |
getFalseBody() |
SameDiff |
getFalseBodyExecution() |
String |
getFalseBodyName() |
SameDiff |
getLoopBodyExecution() |
SameDiffConditional |
getPredicate() |
SameDiff |
getPredicateExecution() |
Boolean |
getTrueBodyExecuted() |
String |
opName()
The name of the op
|
addBArgument, addIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, assertValidForExecution, bArgs, doDiff, exectedTrueOrFalse, getBArgument, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, isInplaceCall, numBArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, onnxName, opHash, opType, outputArguments, outputVariables, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, tArgs, tensorflowName, toString
arg, arg, argNames, args, attributeAdaptersForFunction, calculateOutputDataTypes, configFieldName, dup, equals, f, getNumOutputs, getValue, hashCode, isConfigProperties, larg, mappingsForFunction, onnxNames, opNum, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNames
public IfDerivative(If ifBlock)
public Boolean getTrueBodyExecuted()
public SameDiffFunctionDefinition getFalseBody()
public SameDiff getFalseBodyExecution()
public String getBlockName()
public String getFalseBodyName()
public SameDiff getLoopBodyExecution()
public SameDiffConditional getPredicate()
public SameDiff getPredicateExecution()
public List<LongShapeDescriptor> calculateOutputShape()
DifferentialFunction
calculateOutputShape
in interface CustomOp
calculateOutputShape
in class If
public String opName()
DifferentialFunction
public List<SDVariable> diff(List<SDVariable> i_v1)
DifferentialFunction
diff
in class DifferentialFunction
i_v1
- the input variablesCopyright © 2019. All rights reserved.