blockName, dummyResult, falseBody, falseBodyExecution, falseBodyName, inputVars, loopBodyExecution, outputVars, predicate, predicateExecution, targetBoolean, trueBody, trueBodyExecuted, trueBodyNamedimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
IfDerivative(If ifBlock) |
| Modifier and Type | Method and Description |
|---|---|
List<int[]> |
calculateOutputShape()
Calculate
the output shape for this op
|
List<SDVariable> |
diff(List<SDVariable> i_v1)
Perform automatic differentiation
wrt the input variables
|
String |
getBlockName() |
SameDiff.SameDiffFunctionDefinition |
getFalseBody() |
SameDiff |
getFalseBodyExecution() |
String |
getFalseBodyName() |
SameDiff |
getLoopBodyExecution() |
SameDiff.SameDiffConditional |
getPredicate() |
SameDiff |
getPredicateExecution() |
Boolean |
getTrueBodyExecuted() |
String |
opName()
The name of the op
|
addIArgument, addInputArgument, addOutputArgument, addTArgument, assertValidForExecution, doDiff, exectedTrueOrFalse, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, isInplaceCall, numIArguments, numInputArguments, numOutputArguments, numTArguments, onnxName, opHash, opType, outputArguments, outputVariables, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, tArgs, tensorflowName, toStringarg, args, asProperties, attributeAdaptersForFunction, configFieldName, dup, equals, f, getValue, hashCode, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, opNum, outputVariables, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNamespublic IfDerivative(If ifBlock)
public Boolean getTrueBodyExecuted()
public SameDiff.SameDiffFunctionDefinition getFalseBody()
public SameDiff getFalseBodyExecution()
public String getBlockName()
public String getFalseBodyName()
public SameDiff getLoopBodyExecution()
public SameDiff.SameDiffConditional getPredicate()
public SameDiff getPredicateExecution()
public List<int[]> calculateOutputShape()
DifferentialFunctioncalculateOutputShape in interface CustomOpcalculateOutputShape in class Ifpublic String opName()
DifferentialFunctionpublic List<SDVariable> diff(List<SDVariable> i_v1)
DifferentialFunctiondiff in class DifferentialFunctioni_v1 - the input variablesCopyright © 2018. All rights reserved.