Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/python/framework/
Dtf2_test.py23 from tensorflow.python import tf2
39 self.assertFalse(tf2.enabled())
43 self.assertTrue(tf2.enabled())
47 self.assertFalse(tf2.enabled())
52 self.assertFalse(tf2.enabled())
56 self.assertFalse(tf2.enabled())
60 self.assertTrue(tf2.enabled())
65 self.assertTrue(tf2.enabled())
69 self.assertTrue(tf2.enabled())
73 self.assertFalse(tf2.enabled())
[all …]
Dcombinations.py27 from tensorflow.python import tf2
69 if tf_api_version == 1 and tf2.enabled():
71 elif tf_api_version == 2 and not tf2.enabled():
Ddevice.py23 from tensorflow.python import tf2
26 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized_test.py26 from tensorflow.python import tf2
216 if not tf2.enabled():
221 if not tf2.enabled():
264 if not tf2.enabled():
280 if not tf2.enabled():
347 if not tf2.enabled():
361 if not tf2.enabled():
400 if not tf2.enabled():
414 if not tf2.enabled():
455 if not tf2.enabled():
[all …]
Dcombinations_test.py25 from tensorflow.python import tf2
50 if not tf2.enabled():
55 if not tf2.enabled():
87 if tf2.enabled():
167 if not tf2.enabled():
Dcombinations.py23 from tensorflow.python import tf2
49 mode = ['eager'] if tf2.enabled() else ['graph', 'eager']
/external/tensorflow/tensorflow/python/keras/layers/
Dserialization_test.py24 from tensorflow.python import tf2
57 if tf2.enabled():
92 if tf2.enabled():
110 if tf2.enabled():
129 if tf2.enabled():
148 if tf2.enabled():
162 if tf2.enabled():
Dserialization.py26 from tensorflow.python import tf2
91 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():
97 LOCAL.GENERATED_WITH_V2 = tf2.enabled()
106 if tf2.enabled():
135 if tf2.enabled():
Dlayers_test.py22 from tensorflow.python import tf2
31 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__.py24 from tensorflow.python import tf2
46 if LOCAL.ALL_OBJECTS and LOCAL.GENERATED_WITH_V2 == tf2.enabled():
52 LOCAL.GENERATED_WITH_V2 = tf2.enabled()
80 if tf2.enabled():
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_v2_enable_test.py24 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top
33 self.assertTrue(tf2.enabled())
Dcontrol_flow_v2_disable_test.py25 from tensorflow.python import tf2 # pylint: disable=g-import-not-at-top
34 self.assertTrue(tf2.enabled())
/external/tensorflow/tensorflow/python/compat/
Dv2_compat.py21 from tensorflow.python import tf2
58 tf2.enable()
93 tf2.disable()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dstats_dataset_test_base.py27 from tensorflow.python import tf2
42 if tf2.enabled():
68 if tf2.enabled():
80 if tf2.enabled():
92 if tf2.enabled():
103 if tf2.enabled():
116 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/distribute/
Dkeras_rnn_model_correctness_test.py22 from tensorflow.python import tf2
79 if tf2.enabled():
100 if tf2.enabled():
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dcounter.py20 from tensorflow.python import tf2
74 if tf2.enabled():
Drandom_ops.py22 from tensorflow.python import tf2
57 if tf2.enabled():
/external/tensorflow/tensorflow/python/module/
DBUILD16 "//tensorflow/python:tf2",
34 "//tensorflow/python:tf2",
Dmodule.py25 from tensorflow.python import tf2
122 if tf2.enabled():
141 if tf2.enabled():
/external/tensorflow/tensorflow/tools/api/tests/
Dmodule_test.py26 from tensorflow.python import tf2
57 if tf2.enabled():
/external/tensorflow/tensorflow/python/training/experimental/
Dmixed_precision_test.py25 from tensorflow.python import tf2
42 if tf2.enabled():
82 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dmixed_precision_graph_rewrite_test.py22 from tensorflow.python import tf2
34 if tf2.enabled():
/external/tensorflow/tensorflow/python/keras/saving/
Dsave.py23 from tensorflow.python import tf2
130 default_format = 'tf' if tf2.enabled() else 'h5'
/external/tensorflow/tensorflow/python/distribute/
Dstrategy_combinations_test.py23 from tensorflow.python import tf2
91 tf2.disable()
145 tf2.enable()

12345