Home
last modified time | relevance | path

Searched refs:tf2 (Results 1 – 25 of 105) sorted by relevance

12345

/external/tensorflow/tensorflow/python/framework/
Dtf2_test.py19 from tensorflow.python import tf2
35 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 …]
Dcombinations.py23 from tensorflow.python import tf2
66 if tf_api_version == 1 and tf2.enabled():
68 elif tf_api_version == 2 and not tf2.enabled():
Ddevice.py18 from tensorflow.python import tf2
21 if tf2.enabled():
/external/tensorflow/tensorflow/core/function/
Druntime_client_test.py21 from tensorflow.python import tf2
67 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():
/external/eigen/test/
Dgeo_alignedbox.cpp268 IsometryTransform tf2 = IsometryTransform::Identity(); in alignedboxRotatable() local
272 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() local
337 tf2.setIdentity(); in alignedboxNonIntegralRotatable()
338 tf2.rotate(rot); in alignedboxNonIntegralRotatable()
340 c.transform(tf2); in alignedboxNonIntegralRotatable()
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dinput_util.py17 from tensorflow.python import tf2
59 if tf2.enabled():
131 if tf2.enabled():
Dvalues_test.py24 from tensorflow.python import tf2
77 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 …]
Dstrategy_combinations_test.py19 from tensorflow.python import tf2
88 tf2.disable()
142 tf2.enable()
Ddistribution_strategy_context.py20 from tensorflow.python import tf2
375 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization.py22 from tensorflow.python import tf2
59 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():
65 LOCAL.GENERATED_WITH_V2 = tf2.enabled()
74 if tf2.enabled():
/external/libpng/scripts/
Dgenout.cmake.in48 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}")
/external/tensorflow/tensorflow/python/keras/initializers/
D__init__.py19 from tensorflow.python import tf2
41 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():
47 LOCAL.GENERATED_WITH_V2 = tf2.enabled()
75 if tf2.enabled():
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dlookup_ops_test.py23 from tensorflow.python import tf2
62 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 …]
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_v2_enable_test.py20 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top
29 self.assertTrue(tf2.enabled())
Dcontrol_flow_v2_disable_test.py21 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top
30 self.assertTrue(tf2.enabled())
/external/tensorflow/tensorflow/python/compat/
Dv2_compat.py17 from tensorflow.python import tf2
59 tf2.enable()
104 tf2.disable()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Drandom_ops.py18 from tensorflow.python import tf2
41 if tf2.enabled():
Dcounter.py16 from tensorflow.python import tf2
71 if tf2.enabled():
Dinterleave_ops.py16 from tensorflow.python import tf2
242 if tf2.enabled():
/external/tensorflow/tensorflow/python/module/
DBUILD14 "//tensorflow/python:tf2",
31 "//tensorflow/python:tf2",
Dmodule.py19 from tensorflow.python import tf2
117 if tf2.enabled():
136 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/
Dcombinations.py19 from tensorflow.python import tf2
45 mode = ['eager'] if tf2.enabled() else ['graph', 'eager']
/external/tensorflow/tensorflow/tools/api/tests/
Dmodule_test.py22 from tensorflow.python import tf2
53 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/saving/
Dsave.py17 from tensorflow.python import tf2
123 default_format = 'tf' if tf2.enabled() else 'h5'
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dlookup_ops_test.py19 from tensorflow.python import tf2
35 if tf2.enabled():
41 if not tf2.enabled():

12345