Searched refs:ENABLE_CONTROL_FLOW_V2 (Results 1 – 13 of 13) sorted by relevance
98 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V299 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False101 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val104 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2105 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True107 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val110 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2111 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False113 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val116 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2[all …]
47 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True62 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False
32 ENABLE_CONTROL_FLOW_V2 = ((tf2.enabled() and variable46 global ENABLE_CONTROL_FLOW_V247 ENABLE_CONTROL_FLOW_V2 = True54 return ENABLE_CONTROL_FLOW_V2 or (
34 self.assertTrue(control_flow_util.ENABLE_CONTROL_FLOW_V2)
35 self.assertFalse(control_flow_util.ENABLE_CONTROL_FLOW_V2)
34 self._enable_control_flow_v2_old = control_flow_util.ENABLE_CONTROL_FLOW_V235 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True38 control_flow_util.ENABLE_CONTROL_FLOW_V2 = self._enable_control_flow_v2_old
402 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:502 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and510 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and528 not control_flow_util.ENABLE_CONTROL_FLOW_V2):535 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and544 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and594 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and612 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and620 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and not in_eager_mode:630 if not control_flow_util.ENABLE_CONTROL_FLOW_V2 or in_eager_mode:[all …]
972 TypeError if control_flow_util.ENABLE_CONTROL_FLOW_V2 else ValueError,973 v2_msg if control_flow_util.ENABLE_CONTROL_FLOW_V2 else v1_msg):1245 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:1283 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1424 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1467 if not control_flow_util.ENABLE_CONTROL_FLOW_V2: return1682 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1745 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1827 if control_flow_util.ENABLE_CONTROL_FLOW_V2:2644 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:[all …]
668 enter_count = 2 if control_flow_util.ENABLE_CONTROL_FLOW_V2 else 1682 enter_count = 3 if control_flow_util.ENABLE_CONTROL_FLOW_V2 else 2
381 previous_control_flow_v2_value = control_flow_util.ENABLE_CONTROL_FLOW_V2382 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True384 control_flow_util.ENABLE_CONTROL_FLOW_V2 = previous_control_flow_v2_value
170 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:
525 enable_control_flow_v2_old = control_flow_util.ENABLE_CONTROL_FLOW_V2526 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True530 control_flow_util.ENABLE_CONTROL_FLOW_V2 = enable_control_flow_v2_old579 if control_flow_util.ENABLE_CONTROL_FLOW_V2:
1011 if not control_flow_util.ENABLE_CONTROL_FLOW_V2: