Home
last modified time | relevance | path

Searched refs:graph_mode (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_output_test.py40 with context.graph_mode():
47 with context.graph_mode():
54 with context.graph_mode():
66 with context.graph_mode():
99 with context.graph_mode():
131 with context.graph_mode():
173 with context.graph_mode():
244 with context.graph_mode():
291 with context.graph_mode():
316 with context.graph_mode():
[all …]
/external/tensorflow/tensorflow/contrib/eager/python/
Dparameter_server.py36 def _eager_safe_variable_handle(shape, dtype, shared_name, name, graph_mode): argument
45 if graph_mode:
48 with context.graph_mode(), ops.Graph().as_default() as graph:
162 graph_mode=self._in_graph_mode)
174 graph_mode=False)
197 graph_mode=self._in_graph_mode)
Dmetrics_test.py53 with context.graph_mode(), ops.Graph().as_default():
65 with context.graph_mode(), ops.Graph().as_default():
207 with context.graph_mode(), self.cached_session() as sess:
283 with context.graph_mode():
300 with context.graph_mode(), self.cached_session():
Devaluator_test.py120 with context.graph_mode(), ops.Graph().as_default(), self.cached_session():
129 with context.graph_mode(), ops.Graph().as_default(), self.cached_session():
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps_test.py43 with context.graph_mode(), self.cached_session():
55 with context.graph_mode(), self.cached_session():
77 with context.graph_mode(), self.cached_session():
101 with context.graph_mode(), self.cached_session():
136 with context.graph_mode(), self.cached_session():
157 with context.graph_mode(), self.cached_session():
179 with context.graph_mode(), self.cached_session():
215 with context.graph_mode(), self.cached_session():
Dsparse_tensor_test.py70 with context.graph_mode():
/external/tensorflow/tensorflow/contrib/distribute/python/
Dinput_lib_test.py208 with context.graph_mode(), self.cached_session() as sess:
219 with context.graph_mode(), self.cached_session() as sess:
229 with context.graph_mode(), self.cached_session() as sess:
246 with context.graph_mode(), self.cached_session() as sess:
258 with context.graph_mode(), self.cached_session() as sess:
Dmirrored_strategy_multigpu_test.py248 with context.graph_mode(), \
745 with context.graph_mode(), distribution.scope():
814 with context.graph_mode(), distribution.scope():
832 with context.graph_mode(), distribution.scope():
856 with context.graph_mode(), distribution.scope():
885 with context.graph_mode(), distribution.scope():
1166 with context.graph_mode():
1181 with context.graph_mode():
1479 with context.graph_mode(), self.cached_session() as sess:
1504 with context.graph_mode(), self.cached_session() as sess:
Dmonitor_test.py79 with context.graph_mode(), ops.Graph().as_default():
Dvalues_test.py55 with context.graph_mode(), \
82 with context.graph_mode(), \
95 with context.graph_mode(), \
315 with context.graph_mode(), ops.Graph().as_default():
590 with context.graph_mode():
Dcombinations.py206 with ops.Graph().as_default(), context.graph_mode():
/external/tensorflow/tensorflow/python/ops/
Dresource_variable_ops.py71 def _set_handle_shapes_and_types(tensor, handle_data, graph_mode): argument
80 if not graph_mode:
131 def eager_safe_variable_handle(initial_value, shared_name, name, graph_mode): argument
181 if graph_mode:
183 _set_handle_shapes_and_types(handle, full_handle_data, graph_mode)
195 with context.graph_mode(), ops.Graph().as_default() as graph:
207 _set_handle_shapes_and_types(handle, full_handle_data, graph_mode)
551 graph_mode=self._in_graph_mode)
Dcontrol_flow_ops_benchmark.py76 with context.graph_mode():
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dcheckpointable_utils_test.py297 with context.graph_mode():
502 with context.graph_mode():
519 with context.graph_mode():
536 with context.graph_mode():
682 with context.graph_mode():
726 with context.graph_mode():
744 with context.graph_mode():
/external/tensorflow/tensorflow/python/eager/
Dtape_test.py75 with context.graph_mode(), self.cached_session():
138 with context.graph_mode(), self.cached_session():
Dfunction_test.py707 with context.graph_mode():
726 with context.graph_mode():
739 with context.graph_mode():
797 with context.graph_mode(), self.cached_session():
1087 with context.graph_mode(), self.cached_session():
1141 with context.graph_mode():
1387 with context.graph_mode(), self.cached_session():
1890 with context.graph_mode(), self.cached_session():
1924 with context.graph_mode(), self.cached_session():
1939 with context.graph_mode(), self.cached_session():
[all …]
Dbenchmarks_test.py802 with context.graph_mode():
815 with context.graph_mode():
821 with context.graph_mode():
844 with context.graph_mode():
Dlift_to_graph.py210 graph_mode=True)
Dfunction_gradients_test.py192 with context.graph_mode():
635 with context.graph_mode(), self.cached_session():
Ddef_function.py149 graph_mode=self._in_graph_mode)
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_with_v1_optimizers_test.py350 with context.graph_mode():
566 with context.graph_mode():
583 with context.graph_mode():
600 with context.graph_mode():
847 with context.graph_mode():
901 with context.graph_mode():
919 with context.graph_mode():
Dutil_test.py492 with context.graph_mode():
1028 with context.graph_mode():
1117 with context.graph_mode():
1454 with context.graph_mode():
1509 with context.graph_mode():
1527 with context.graph_mode():
Ddata_structures_test.py111 with context.graph_mode():
181 with context.graph_mode():
/external/tensorflow/tensorflow/python/keras/
Dkeras_parameterized.py270 with context.graph_mode(), testing_utils.run_eagerly_scope(False):
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py261 with context.graph_mode():
285 with context.graph_mode():
545 with context.graph_mode():
1051 with context.graph_mode():
1082 with context.graph_mode():

12