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

Function case_v2

tensorflow/tensorflow/python/ops/control_flow_ops.py:3282–3382  ·  view source on GitHub ↗

Create a case operation. See also `tf.switch_case`. The `pred_fn_pairs` parameter is a list of pairs of size N. Each pair contains a boolean scalar tensor and a python callable that creates the tensors to be returned if the boolean evaluates to True. `default` is a callable generating a

(pred_fn_pairs,
            default=None,
            exclusive=False,
            strict=False,
            name="case")

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_case_helperFunction · 0.85

Tested by

no test coverage detected