MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _convert_selectv2

Function _convert_selectv2

tensorflow/python/ops/parallel_for/pfor.py:2520–2526  ·  view source on GitHub ↗
(pfor_input)

Source from the content-addressed store, hash-verified

2518
2519@RegisterPFor("SelectV2")
2520def _convert_selectv2(pfor_input):
2521 pfor_input.expanddim_inputs_for_broadcast()
2522 cond = pfor_input.input(0)[0]
2523 t = pfor_input.input(1)[0]
2524 e = pfor_input.input(2)[0]
2525 out = array_ops.where_v2(cond, t, e)
2526 return wrap(out, True)
2527
2528
2529# random_ops

Callers

nothing calls this directly

Calls 3

wrapFunction · 0.70
inputMethod · 0.45

Tested by

no test coverage detected