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

Function _case_helper

tensorflow/tensorflow/python/ops/control_flow_ops.py:3134–3183  ·  view source on GitHub ↗

Implementation of case that allows for different cond functions. Args: cond_fn: method that has signature and semantics of `cond` above. pred_fn_pairs: Dict or list of pairs of a boolean scalar tensor, and a callable which returns a list of tensors. default: Optional callable th

(cond_fn,
                 pred_fn_pairs,
                 default,
                 exclusive,
                 name,
                 allow_python_preds=False,
                 **cond_kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

case_v2Function · 0.85
caseFunction · 0.85

Calls 6

_assert_at_most_n_trueFunction · 0.85
fnFunction · 0.70
name_scopeMethod · 0.45
control_dependenciesMethod · 0.45

Tested by

no test coverage detected