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

Function case

tensorflow/tensorflow/python/ops/control_flow_ops.py:3386–3490  ·  view source on GitHub ↗

Create a case operation. See also `tf.switch_case`. The `pred_fn_pairs` parameter is a dict or 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 gener

(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