MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / case

Function case

tensorflow/python/ops/control_flow_ops.py:3049–3279  ·  view source on GitHub ↗

Create a case operation. 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 generating a list of tensors. All t

(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 11

_assert_exclusiveFunction · 0.85
_build_caseFunction · 0.85
_UnpackIfSingletonFunction · 0.85
in_eager_modeMethod · 0.80
itemsMethod · 0.80
name_scopeMethod · 0.80
control_dependenciesMethod · 0.80
fnFunction · 0.50
popMethod · 0.45
appendMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected