| Package | Description |
|---|---|
| org.nd4j.autodiff.samediff |
| Modifier and Type | Method and Description |
|---|---|
SDVariable |
SameDiff.ifCond(@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
|
SDVariable |
SameDiff.ifCond(String outputName,
String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
Constructs a If statement using the tensorflow style control flow operations (Switch and Merge)
If the result of cond is true, returns the result of trueBody, otherwise returns the result of falseBody
Note that cond and body lambdas are only called once to construct the graph.
|
SDVariable |
SameDiff.ifCond(String outputName,
String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
Constructs a If statement using the tensorflow style control flow operations (Switch and Merge)
If the result of cond is true, returns the result of trueBody, otherwise returns the result of falseBody
Note that cond and body lambdas are only called once to construct the graph.
|
SDVariable |
SameDiff.ifCond(String outputName,
String ifName,
@NonNull SameDiffNoArgSingleLambda cond,
@NonNull SameDiffNoArgSingleLambda trueBody,
@NonNull SameDiffNoArgSingleLambda falseBody)
Constructs a If statement using the tensorflow style control flow operations (Switch and Merge)
If the result of cond is true, returns the result of trueBody, otherwise returns the result of falseBody
Note that cond and body lambdas are only called once to construct the graph.
|
Copyright © 2021. All rights reserved.