Home
last modified time | relevance | path

Searched refs:in_graph_mode (Results 1 – 25 of 67) sorted by relevance

123

/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py93 in_graph_mode = context.in_graph_mode()
97 if in_graph_mode:
134 if in_graph_mode and varscope_caching_device_was_none:
181 in_graph_mode = context.in_graph_mode()
185 if in_graph_mode:
222 if in_graph_mode and varscope_caching_device_was_none:
346 in_graph_mode = context.in_graph_mode()
350 if in_graph_mode:
425 if in_graph_mode and varscope_caching_device_was_none:
539 in_graph_mode = context.in_graph_mode()
[all …]
Drnn.py578 if context.in_graph_mode():
619 if context.in_graph_mode() and sequence_length is not None:
745 in_graph_mode = context.in_graph_mode()
746 if in_graph_mode:
780 if in_graph_mode:
808 if in_graph_mode:
817 if in_graph_mode:
835 if in_graph_mode:
847 if not in_graph_mode:
1030 if context.in_graph_mode():
[all …]
Dresource_variable_ops.py269 if not context.in_graph_mode():
365 self._in_graph_mode = context.in_graph_mode()
480 if context.in_graph_mode():
498 assert context.in_graph_mode()
630 if context.in_graph_mode():
909 shape, in_graph_mode, deleter, parent_op): argument
914 self._in_graph_mode = in_graph_mode
929 if context.in_graph_mode():
Ddata_flow_ops.py180 if context.in_graph_mode():
234 if context.in_graph_mode():
447 if context.in_graph_mode():
487 if context.in_graph_mode():
531 if context.in_graph_mode():
993 if context.in_graph_mode():
1006 if context.in_graph_mode():
1086 if context.in_graph_mode():
1186 if context.in_graph_mode():
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_test.py114 if context.in_graph_mode():
128 in_graph_mode = context.in_graph_mode()
130 if in_graph_mode:
139 if in_graph_mode:
149 if in_graph_mode:
159 if in_graph_mode:
176 in_graph_mode = context.in_graph_mode()
178 if in_graph_mode:
186 if in_graph_mode:
190 if in_graph_mode:
[all …]
Dtensor_array_ops_test.py402 in_graph_mode = context.in_graph_mode()
404 if in_graph_mode:
415 if context.in_graph_mode():
439 if context.in_graph_mode():
447 if context.in_graph_mode():
470 if context.in_graph_mode():
504 if context.in_graph_mode():
519 in_graph_mode = context.in_graph_mode()
523 if in_graph_mode:
532 if in_graph_mode:
[all …]
/external/tensorflow/tensorflow/python/layers/
Dbase.py511 if context.in_graph_mode():
519 if context.in_graph_mode():
622 in_graph_mode = context.in_graph_mode()
626 if in_graph_mode:
631 if in_graph_mode or in_deferred_mode:
665 if not in_graph_mode:
671 if not in_graph_mode and not in_deferred_mode:
700 if in_graph_mode or in_deferred_mode:
724 if in_graph_mode:
746 if in_graph_mode:
[all …]
Dbase_test.py47 if context.in_graph_mode():
66 if context.in_graph_mode():
80 if context.in_graph_mode():
164 if context.in_graph_mode():
213 if context.in_graph_mode():
283 if context.in_graph_mode():
310 if context.in_graph_mode():
338 if context.in_graph_mode():
433 if context.in_graph_mode():
456 if context.in_graph_mode():
Dcore_test.py80 if context.in_graph_mode():
101 if context.in_graph_mode():
116 if context.in_graph_mode():
165 if context.in_graph_mode():
171 if context.in_graph_mode():
377 if context.in_graph_mode():
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dcritical_section_ops.py148 if context.in_graph_mode():
198 if context.in_graph_mode():
233 if context.in_graph_mode():
/external/tensorflow/tensorflow/python/framework/
Drandom_seed.py55 is_graph_mode = context.in_graph_mode()
179 if context.in_graph_mode():
Drandom_seed_test.py43 if context.in_graph_mode():
/external/tensorflow/tensorflow/python/training/
Dsaver_test_utils.py43 if context.in_graph_mode():
54 if context.in_graph_mode():
Dsaver.py581 if context.in_graph_mode():
771 if context.in_graph_mode() and (not build_save or not build_restore):
809 if context.in_graph_mode():
1292 if not defer_build and context.in_graph_mode():
1310 if context.in_graph_mode():
1362 if context.in_graph_mode():
1612 if not self._is_built and context.in_graph_mode():
1644 if (context.in_graph_mode() and
1651 if context.in_graph_mode():
1680 if context.in_graph_mode():
[all …]
Dslot_creator.py109 …prefix = primary.op.name if context.in_graph_mode() else primary._shared_name # pylint: disable=p…
142 …prefix = primary.op.name if context.in_graph_mode() else primary._shared_name # pylint: disable=p…
Dmomentum_test.py69 if context.in_graph_mode():
81 if context.in_graph_mode():
87 if context.in_graph_mode():
102 if context.in_graph_mode():
/external/tensorflow/tensorflow/contrib/eager/python/
Dsaver.py76 if context.in_graph_mode():
134 if context.in_graph_mode():
Dmetrics_impl.py111 if context.in_graph_mode():
158 if context.in_graph_mode():
203 if context.in_graph_mode():
Dcheckpointable_utils_test.py87 if context.in_graph_mode():
162 if context.in_graph_mode():
210 if context.in_graph_mode():
221 if context.in_graph_mode():
406 if context.in_graph_mode():
608 if context.in_graph_mode():
649 if context.in_graph_mode():
Devaluator.py60 if context.in_graph_mode():
161 if context.in_graph_mode():
/external/tensorflow/tensorflow/python/eager/
Dcontext.py243 def in_graph_mode(self): member in Context
501 def in_graph_mode(): function
503 return context().in_graph_mode()
610 is_in_graph_mode.IS_IN_GRAPH_MODE = in_graph_mode
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dpowersign_test.py102 if context.in_graph_mode():
113 if context.in_graph_mode():
119 if context.in_graph_mode():
Daddsign_test.py100 if context.in_graph_mode():
111 if context.in_graph_mode():
117 if context.in_graph_mode():
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Dcore_rnn_test.py872 in_graph_mode = context.in_graph_mode()
876 if in_graph_mode:
914 if in_graph_mode:
934 if in_graph_mode:
949 in_graph_mode = context.in_graph_mode()
953 if in_graph_mode:
1002 if in_graph_mode:
1022 if in_graph_mode:
1046 in_graph_mode = context.in_graph_mode()
1051 if not in_graph_mode:
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dtfprof_logger.py159 if not graph and context.in_graph_mode():
213 if not graph and context.in_graph_mode():

123