Searched refs:enable_v2_behavior (Results 1 – 25 of 53) sorted by relevance
123
42 v2_compat.enable_v2_behavior()59 v2_compat.enable_v2_behavior()68 v2_compat.enable_v2_behavior()85 v2_compat.enable_v2_behavior()
100 def main(enable_v2_behavior=True, config_logical_devices=True): argument104 if enable_v2_behavior:105 v2_compat.enable_v2_behavior()
28 from tensorflow import enable_v2_behavior # pylint: disable=g-import-not-at-top29 enable_v2_behavior()
77 from tensorflow.python.compat.v2_compat import enable_v2_behavior # pylint: disable=g-import-not-a…78 setattr(_current_module, "enable_v2_behavior", enable_v2_behavior)
105 _compat.enable_v2_behavior()
43 v2_compat.enable_v2_behavior()
43 def enable_v2_behavior(): function
29 tf.enable_v2_behavior()
73 tf.enable_v2_behavior()
30 tf.compat.v1.enable_v2_behavior()
33 v2_compat.enable_v2_behavior()
37 v2_compat.enable_v2_behavior()
36 v2_compat.enable_v2_behavior()
35 v2_compat.enable_v2_behavior()
36 tf.compat.v1.enable_v2_behavior()
82 v2_compat.enable_v2_behavior()
110 v2_compat.enable_v2_behavior()
106 v2_compat.enable_v2_behavior()
83 v2_compat.enable_v2_behavior()
121 v2_compat.enable_v2_behavior()
133 v2_compat.enable_v2_behavior()
38 tf.compat.v1.enable_v2_behavior()
164 tf.enable_v2_behavior()