Home
last modified time | relevance | path

Searched refs:dead_branch (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_state.py298 def AddForwardAccumulator(self, value, dead_branch=False): argument
368 if dead_branch:
389 dead_branch=False): argument
424 branch = (1 - cond_ctxt.branch) if dead_branch else cond_ctxt.branch
665 dead_branch = util.IsSwitch(op)
683 if dead_branch:
690 if dead_branch:
709 zeros_shape, dead_branch=dead_branch)
714 zeros_shape, dead_branch)
/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py253 dead_branch = array_ops.identity(switch_op[0])
258 self.evaluate(dead_branch)