Package | Description |
---|---|
org.nd4j.autodiff.samediff.ops |
Modifier and Type | Method and Description |
---|---|
SDVariable[] |
SDBaseOps.whileLoop(SDVariable[] loopVars,
SameDiffSingleLambda cond,
SameDiffLambda body)
|
SDVariable[] |
SDBaseOps.whileLoop(String[] outputNames,
String loopName,
SDVariable[] loopVars,
SameDiffSingleLambda cond,
SameDiffLambda body)
Constructs a While loop using the tensorflow style control flow operations (Switch, Merge, Enter, Exit, and NextIteration)
Repeatedly executes body on the loop variables and updates them with the results, until cond evaluates to false
Note that cond and body lambdas are only called once to construct the graph.
|
SDVariable[] |
SDBaseOps.whileLoop(String loopName,
SDVariable[] loopVars,
SameDiffSingleLambda cond,
SameDiffLambda body)
|
Copyright © 2019. All rights reserved.