Searched refs:tf2 (Results 1 – 25 of 105) sorted by relevance
12345
19 from tensorflow.python import tf235 self.assertFalse(tf2.enabled())39 self.assertTrue(tf2.enabled())43 self.assertFalse(tf2.enabled())48 self.assertFalse(tf2.enabled())52 self.assertFalse(tf2.enabled())56 self.assertTrue(tf2.enabled())61 self.assertTrue(tf2.enabled())65 self.assertTrue(tf2.enabled())69 self.assertFalse(tf2.enabled())[all …]
23 from tensorflow.python import tf266 if tf_api_version == 1 and tf2.enabled():68 elif tf_api_version == 2 and not tf2.enabled():
18 from tensorflow.python import tf221 if tf2.enabled():
21 from tensorflow.python import tf267 if not tf2.enabled():107 if not tf2.enabled():123 if not tf2.enabled():144 if not tf2.enabled():164 if not tf2.enabled():184 if not tf2.enabled():
268 IsometryTransform tf2 = IsometryTransform::Identity(); in alignedboxRotatable() local272 tf2.rotate(rot); in alignedboxRotatable()274 c.transform(tf2); in alignedboxRotatable()282 tf2.setIdentity(); in alignedboxRotatable()283 tf2.rotate(rot); in alignedboxRotatable()285 c.transform(tf2); in alignedboxRotatable()336 IsometryTransform tf2; in alignedboxNonIntegralRotatable() local337 tf2.setIdentity(); in alignedboxNonIntegralRotatable()338 tf2.rotate(rot); in alignedboxNonIntegralRotatable()340 c.transform(tf2); in alignedboxNonIntegralRotatable()[all …]
17 from tensorflow.python import tf259 if tf2.enabled():131 if tf2.enabled():
24 from tensorflow.python import tf277 if not tf2.enabled():97 if not tf2.enabled():117 if not tf2.enabled():140 if not tf2.enabled():166 if not tf2.enabled():188 if not tf2.enabled():206 if not tf2.enabled():242 if not tf2.enabled():267 if not tf2.enabled():[all …]
19 from tensorflow.python import tf288 tf2.disable()142 tf2.enable()
20 from tensorflow.python import tf2375 if tf2.enabled():
22 from tensorflow.python import tf259 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():65 LOCAL.GENERATED_WITH_V2 = tf2.enabled()74 if tf2.enabled():
48 file(REMOVE "${OUTPUT}.tf1" "${OUTPUT}.tf2")82 "out=${OUTPUT}.tf2" "${OUTPUT}.tf1"86 message(FATAL_ERROR "Failed to generate ${OUTPUT}.tf2")90 file(RENAME "${OUTPUT}.tf2" "${OUTPUT}")
19 from tensorflow.python import tf241 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():47 LOCAL.GENERATED_WITH_V2 = tf2.enabled()75 if tf2.enabled():
23 from tensorflow.python import tf262 if tf2.enabled():68 if tf2.enabled():74 if not tf2.enabled():91 if is_anonymous and not tf2.enabled():119 if is_anonymous and not tf2.enabled():140 if is_anonymous and not tf2.enabled():161 if is_anonymous and not tf2.enabled():181 if is_anonymous and not tf2.enabled():218 if is_anonymous and not tf2.enabled():[all …]
20 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top29 self.assertTrue(tf2.enabled())
21 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top30 self.assertTrue(tf2.enabled())
17 from tensorflow.python import tf259 tf2.enable()104 tf2.disable()
18 from tensorflow.python import tf241 if tf2.enabled():
16 from tensorflow.python import tf271 if tf2.enabled():
16 from tensorflow.python import tf2242 if tf2.enabled():
14 "//tensorflow/python:tf2",31 "//tensorflow/python:tf2",
19 from tensorflow.python import tf2117 if tf2.enabled():136 if tf2.enabled():
19 from tensorflow.python import tf245 mode = ['eager'] if tf2.enabled() else ['graph', 'eager']
22 from tensorflow.python import tf253 if tf2.enabled():
17 from tensorflow.python import tf2123 default_format = 'tf' if tf2.enabled() else 'h5'
19 from tensorflow.python import tf235 if tf2.enabled():41 if not tf2.enabled():