Home
last modified time | relevance | path

Searched refs:executing_eagerly (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/external/tensorflow/tensorflow/python/eager/
Dfunction_context.py46 executing_eagerly = ctx.executing_eagerly()
49 if not executing_eagerly:
60 executing_eagerly = ctx.executing_eagerly()
61 parent_graph = None if executing_eagerly else ops.get_default_graph()
72 if executing_eagerly:
/external/tensorflow/tensorflow/python/kernel_tests/
Dgradient_correctness_test.py30 @parameterized.parameters(set((True, context.executing_eagerly())))
44 @parameterized.parameters(set((True, context.executing_eagerly())))
52 @parameterized.parameters(set((True, context.executing_eagerly())))
60 @parameterized.parameters(set((True, context.executing_eagerly())))
71 @parameterized.parameters(set((True, context.executing_eagerly())))
82 @parameterized.parameters(set((True, context.executing_eagerly())))
93 @parameterized.parameters(set((True, context.executing_eagerly())))
103 @parameterized.parameters(set((True, context.executing_eagerly())))
113 @parameterized.parameters(set((True, context.executing_eagerly())))
124 @parameterized.parameters(set((True, context.executing_eagerly())))
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dlegacy_learning_rate_decay.py97 if not context.executing_eagerly():
175 if not context.executing_eagerly():
276 if not context.executing_eagerly():
364 if not context.executing_eagerly():
447 if not context.executing_eagerly():
510 if not context.executing_eagerly():
587 if not context.executing_eagerly():
672 if not context.executing_eagerly():
767 if not context.executing_eagerly():
/external/tensorflow/tensorflow/python/framework/
Dops_enable_eager_test.py27 self.assertTrue(context.executing_eagerly())
31 self.assertTrue(context.executing_eagerly())
36 self.assertFalse(context.executing_eagerly())
40 self.assertFalse(context.executing_eagerly())
Dpython_tensor_converter_test.py53 self.assertEqual(used_fallback, not context.executing_eagerly())
61 self.assertEqual(used_fallback, not context.executing_eagerly())
107 self.assertEqual(used_fallback, not context.executing_eagerly())
116 self.assertEqual(used_fallback, not context.executing_eagerly())
143 self.assertEqual(used_fallback, not context.executing_eagerly())
152 self.assertEqual(used_fallback, not context.executing_eagerly())
Drandom_seed.py58 eager = context.executing_eagerly()
204 if context.executing_eagerly():
Dop_callbacks.py109 if ctx.executing_eagerly():
137 if ctx.executing_eagerly() and not ctx.op_callbacks:
/external/tensorflow/tensorflow/python/ops/
Dsummary_ops_v2.py190 if not context.executing_eagerly():
313 if context.executing_eagerly():
326 if context.executing_eagerly() and self._closed:
332 if context.executing_eagerly() and self._closed:
338 if context.executing_eagerly() and self._closed:
344 if context.executing_eagerly() and self._closed:
351 if context.executing_eagerly() and self._closed:
358 if context.executing_eagerly():
410 if context.executing_eagerly():
479 if context.executing_eagerly():
[all …]
Dbatch_ops_test.py56 if context.executing_eagerly():
98 if context.executing_eagerly():
130 if context.executing_eagerly():
171 if context.executing_eagerly():
187 if context.executing_eagerly():
213 if context.executing_eagerly():
241 if context.executing_eagerly():
261 if context.executing_eagerly():
290 if context.executing_eagerly():
318 if context.executing_eagerly():
[all …]
Dmetrics_impl.py440 if context.executing_eagerly():
619 if context.executing_eagerly():
893 if context.executing_eagerly():
1089 if context.executing_eagerly():
1149 if context.executing_eagerly():
1222 if context.executing_eagerly():
1331 if context.executing_eagerly():
1434 if context.executing_eagerly():
1501 if context.executing_eagerly():
1559 if context.executing_eagerly():
[all …]
Dcritical_section_ops.py55 elif context.executing_eagerly() and x is None:
224 if not context.executing_eagerly():
267 if not context.executing_eagerly():
283 if not context.executing_eagerly():
326 if not context.executing_eagerly():
Dcheck_ops.py386 if context.executing_eagerly():
504 if context.executing_eagerly():
558 if context.executing_eagerly():
613 if context.executing_eagerly():
669 if context.executing_eagerly():
725 return None if context.executing_eagerly() else control_flow_ops.no_op()
901 if context.executing_eagerly():
1230 if context.executing_eagerly() or isinstance(x, sparse_tensor.SparseTensor):
1331 if context.executing_eagerly():
1495 if context.executing_eagerly() or isinstance(x, sparse_tensor.SparseTensor):
[all …]
/external/tensorflow/tensorflow/python/data/benchmarks/
Dbenchmark_base.py51 if not context.executing_eagerly():
95 if context.executing_eagerly():
134 if context.executing_eagerly():
183 if context.executing_eagerly():
241 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_placeholder_op_test.py51 if not context.executing_eagerly():
58 if context.executing_eagerly():
63 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/training/
Dsaver.py509 if not context.executing_eagerly() and (not build_save or
554 if context.executing_eagerly():
899 if context.executing_eagerly():
927 if context.executing_eagerly():
941 if context.executing_eagerly():
951 if not context.executing_eagerly():
956 if not self.saver_def or context.executing_eagerly():
994 if not context.executing_eagerly():
1004 if not context.executing_eagerly():
1240 if not self._is_built and not context.executing_eagerly():
[all …]
/external/tensorflow/tensorflow/python/distribute/v1/
Dinput_lib.py63 if not context.executing_eagerly():
84 if context.executing_eagerly():
102 if context.executing_eagerly():
128 if context.executing_eagerly():
138 if not context.executing_eagerly():
155 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/util/
Dtf_should_use_test.py49 if not context.executing_eagerly():
60 if context.executing_eagerly():
104 if not context.executing_eagerly():
123 if not context.executing_eagerly():
Dvariable_utils_test.py62 if not context.executing_eagerly():
79 if not context.executing_eagerly():
94 if not context.executing_eagerly():
/external/tensorflow/tensorflow/python/tpu/
Dtpu_strategy_util.py68 if context.executing_eagerly():
95 if context.executing_eagerly():
181 if context.executing_eagerly():
196 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dreconstruction_ops_test.py64 if context.executing_eagerly():
76 if context.executing_eagerly():
89 if context.executing_eagerly():
169 if context.executing_eagerly():
182 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/distribute/
Done_device_strategy_test.py41 if context.executing_eagerly():
53 if tf2.enabled() and not context.executing_eagerly():
126 if context.executing_eagerly():
147 if context.executing_eagerly():
Dtpu_replicated_variable.py186 if save_context.in_save_context() or context.executing_eagerly():
223 if tpu_util.enclosing_tpu_context() is None or context.executing_eagerly():
241 if tpu_util.enclosing_tpu_context() is None or context.executing_eagerly():
259 if tpu_util.enclosing_tpu_context() is None or context.executing_eagerly():
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scale.py145 if context.executing_eagerly():
162 if context.executing_eagerly():
180 if context.executing_eagerly():
277 if context.executing_eagerly():
415 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dbase.py251 if context.executing_eagerly():
292 if not context.executing_eagerly():
424 if not context.executing_eagerly():
432 if not context.executing_eagerly():
570 if not context.executing_eagerly():
603 if context.executing_eagerly():
/external/tensorflow/tensorflow/python/checkpoint/
Dcheckpoint.py354 if not context.executing_eagerly():
415 assert context.executing_eagerly()
718 if context.executing_eagerly():
882 if context.executing_eagerly():
903 if context.executing_eagerly():
984 if context.executing_eagerly():
1090 if context.executing_eagerly():
1156 if context.executing_eagerly():
1235 or context.executing_eagerly() or ops.inside_function()):
1325 use_session = (not context.executing_eagerly() and
[all …]

12345678910>>...14