Searched refs:ENABLE_CONTROL_FLOW_V2 (Results 1 – 12 of 12) sorted by relevance
94 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V295 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False97 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val100 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2101 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True103 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val106 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2107 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False109 control_flow_util.ENABLE_CONTROL_FLOW_V2 = old_val112 old_val = control_flow_util.ENABLE_CONTROL_FLOW_V2[all …]
28 ENABLE_CONTROL_FLOW_V2 = ((tf2.enabled() and variable42 global ENABLE_CONTROL_FLOW_V243 ENABLE_CONTROL_FLOW_V2 = True50 return ENABLE_CONTROL_FLOW_V2 or (
45 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True61 control_flow_util.ENABLE_CONTROL_FLOW_V2 = False
30 self.assertTrue(control_flow_util.ENABLE_CONTROL_FLOW_V2)
31 self.assertFalse(control_flow_util.ENABLE_CONTROL_FLOW_V2)
30 self._enable_control_flow_v2_old = control_flow_util.ENABLE_CONTROL_FLOW_V231 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True34 control_flow_util.ENABLE_CONTROL_FLOW_V2 = self._enable_control_flow_v2_old
992 TypeError if control_flow_util.ENABLE_CONTROL_FLOW_V2 else ValueError,993 v2_msg if control_flow_util.ENABLE_CONTROL_FLOW_V2 else v1_msg):1250 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:1288 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1439 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1482 if not control_flow_util.ENABLE_CONTROL_FLOW_V2: return1697 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1760 if control_flow_util.ENABLE_CONTROL_FLOW_V2:1842 if control_flow_util.ENABLE_CONTROL_FLOW_V2:2659 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:[all …]
683 enter_count = 2 if control_flow_util.ENABLE_CONTROL_FLOW_V2 else 1697 enter_count = 3 if control_flow_util.ENABLE_CONTROL_FLOW_V2 else 2
398 if not control_flow_util.ENABLE_CONTROL_FLOW_V2:498 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and506 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and524 not control_flow_util.ENABLE_CONTROL_FLOW_V2):531 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and540 if (control_flow_util.ENABLE_CONTROL_FLOW_V2 and590 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and608 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and616 if control_flow_util.ENABLE_CONTROL_FLOW_V2 and not in_eager_mode:626 if not control_flow_util.ENABLE_CONTROL_FLOW_V2 or in_eager_mode:[all …]
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
559 enable_control_flow_v2_old = control_flow_util.ENABLE_CONTROL_FLOW_V2560 control_flow_util.ENABLE_CONTROL_FLOW_V2 = True564 control_flow_util.ENABLE_CONTROL_FLOW_V2 = enable_control_flow_v2_old613 if control_flow_util.ENABLE_CONTROL_FLOW_V2:
1007 if not control_flow_util.ENABLE_CONTROL_FLOW_V2: