MCPcopy Create free account
hub / github.com/alibaba/nann / cond_for_tf_v2

Function cond_for_tf_v2

tensorflow/tensorflow/python/ops/control_flow_ops.py:1319–1389  ·  view source on GitHub ↗

Return `true_fn()` if the predicate `pred` is true else `false_fn()`. `true_fn` and `false_fn` both return lists of output tensors. `true_fn` and `false_fn` must have the same non-zero number and type of outputs. **WARNING**: Any Tensors or Operations created outside of `true_fn` and `fals

(pred, true_fn=None, false_fn=None, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

condFunction · 0.70

Tested by

no test coverage detected