Home
last modified time | relevance | path

Searched refs:as_default (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/python/framework/
Dimporter_test.py63 with ops.Graph().as_default():
121 with ops.Graph().as_default():
223 with ops.Graph().as_default():
237 with ops.Graph().as_default():
264 with ops.Graph().as_default():
291 with ops.Graph().as_default():
318 with ops.Graph().as_default():
329 with ops.Graph().as_default():
342 with ops.Graph().as_default():
353 with ops.Graph().as_default():
[all …]
Dop_def_library_test.py46 with ops.Graph().as_default():
70 with ops.Graph().as_default():
113 with ops.Graph().as_default():
120 with ops.Graph().as_default():
148 with ops.Graph().as_default():
174 with ops.Graph().as_default():
191 with ops.Graph().as_default():
214 with ops.Graph().as_default():
236 with ops.Graph().as_default():
267 with ops.Graph().as_default():
[all …]
Derror_interpolation_test.py145 with ops.Graph().as_default():
188 with ops.Graph().as_default():
204 with ops.Graph().as_default():
219 with ops.Graph().as_default():
227 with ops.Graph().as_default():
234 with ops.Graph().as_default():
246 with ops.Graph().as_default():
258 with ops.Graph().as_default():
271 with ops.Graph().as_default():
283 with ops.Graph().as_default():
[all …]
Dsmart_cond_test.py40 with ops.Graph().as_default():
50 with ops.Graph().as_default():
59 with ops.Graph().as_default():
68 with ops.Graph().as_default():
79 with ops.Graph().as_default():
88 with ops.Graph().as_default():
95 with ops.Graph().as_default():
153 with ops.Graph().as_default():
Dmeta_graph_test.py294 with ops.Graph().as_default() as graph1:
307 with ops.Graph().as_default() as graph2:
318 with ops.Graph().as_default() as graph1:
328 with ops.Graph().as_default() as graph2:
343 with graph.as_default():
429 with graph.as_default():
528 with ops.Graph().as_default():
551 with ops.Graph().as_default():
580 with ops.Graph().as_default():
591 with ops.Graph().as_default():
[all …]
Dfunction_test.py103 with ops.Graph().as_default():
116 with ops.Graph().as_default():
132 with ops.Graph().as_default():
147 with ops.Graph().as_default():
160 with ops.Graph().as_default():
173 with ops.Graph().as_default():
189 with ops.Graph().as_default():
203 with g.as_default():
225 with g.as_default():
240 with g.as_default():
[all …]
/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util_test.py64 with ops.Graph().as_default() as g:
81 with ops.Graph().as_default() as g:
123 with ops.Graph().as_default() as g:
141 with ops.Graph().as_default() as g:
155 with ops.Graph().as_default() as g:
181 with ops.Graph().as_default() as g:
210 with ops.Graph().as_default() as g:
230 with ops.Graph().as_default() as g:
255 with ops.Graph().as_default() as g:
284 with ops.Graph().as_default() as g:
[all …]
Dsupervisor_test.py99 with ops.Graph().as_default():
110 with ops.Graph().as_default():
121 with ops.Graph().as_default():
139 with ops.Graph().as_default():
157 with ops.Graph().as_default():
209 with ops.Graph().as_default():
273 with ops.Graph().as_default():
292 with ops.Graph().as_default():
312 with ops.Graph().as_default():
332 with ops.Graph().as_default():
[all …]
Dtraining_util_test.py37 with ops.Graph().as_default() as g:
51 with ops.Graph().as_default() as g:
66 with ops.Graph().as_default() as g:
76 with ops.Graph().as_default() as g:
90 with ops.Graph().as_default() as g:
99 with ops.Graph().as_default():
105 with ops.Graph().as_default():
112 with ops.Graph().as_default():
Dslot_creator_test.py40 with ops.Graph().as_default(), self.cached_session():
53 with ops.Graph().as_default(), self.cached_session():
66 with ops.Graph().as_default(), self.cached_session():
81 with ops.Graph().as_default(), self.cached_session():
103 with ops.Graph().as_default(), self.cached_session():
117 with ops.Graph().as_default(), self.cached_session():
134 with ops.Graph().as_default(), self.cached_session():
142 with ops.Graph().as_default(), self.test_session():
164 with ops.Graph().as_default(), self.test_session():
182 with ops.Graph().as_default(), self.cached_session():
[all …]
Dsession_manager_test.py49 with ops.Graph().as_default():
58 with ops.Graph().as_default():
70 with ops.Graph().as_default():
79 with ops.Graph().as_default():
100 with ops.Graph().as_default():
115 with ops.Graph().as_default():
155 with ops.Graph().as_default():
183 with ops.Graph().as_default():
207 with ops.Graph().as_default():
238 with ops.Graph().as_default():
[all …]
Dbasic_session_run_hooks_test.py152 with ops.Graph().as_default():
176 with ops.Graph().as_default():
203 with ops.Graph().as_default():
247 with ops.Graph().as_default(), session_lib.Session() as sess:
299 with ops.Graph().as_default(), session_lib.Session() as sess:
305 with ops.Graph().as_default(), session_lib.Session() as sess:
312 with ops.Graph().as_default(), session_lib.Session() as sess:
358 with ops.Graph().as_default(), session_lib.Session() as sess:
366 with ops.Graph().as_default(), session_lib.Session() as sess:
373 with ops.Graph().as_default(), session_lib.Session() as sess:
[all …]
Dmonitored_session_test.py68 with ops.Graph().as_default():
79 with ops.Graph().as_default():
104 with ops.Graph().as_default():
118 with ops.Graph().as_default():
132 with ops.Graph().as_default():
140 with ops.Graph().as_default():
163 with ops.Graph().as_default():
172 with ops.Graph().as_default():
197 with ops.Graph().as_default():
232 with ops.Graph().as_default():
[all …]
Dinput_test.py58 with ops.Graph().as_default(), self.cached_session():
76 with ops.Graph().as_default(), self.cached_session():
84 with ops.Graph().as_default(), self.cached_session():
98 with ops.Graph().as_default(), self.cached_session():
122 with ops.Graph().as_default(), self.cached_session():
147 with ops.Graph().as_default():
156 with ops.Graph().as_default(), self.cached_session():
178 with ops.Graph().as_default(), self.cached_session():
226 with ops.Graph().as_default(), self.cached_session():
242 with ops.Graph().as_default(), self.cached_session():
[all …]
Dproximal_adagrad_test.py39 with ops.Graph().as_default(), self.cached_session():
76 with ops.Graph().as_default(), self.cached_session():
104 with ops.Graph().as_default(), self.cached_session():
122 with ops.Graph().as_default(), self.cached_session():
149 with ops.Graph().as_default(), self.cached_session():
216 with ops.Graph().as_default(), self.cached_session():
224 with ops.Graph().as_default(), self.cached_session():
234 with ops.Graph().as_default(), self.cached_session():
243 with ops.Graph().as_default(), self.cached_session():
/external/tensorflow/tensorflow/python/keras/feature_column/
Ddense_features_v2_test.py170 with ops.Graph().as_default():
207 with ops.Graph().as_default():
217 with ops.Graph().as_default():
239 with ops.Graph().as_default():
250 with ops.Graph().as_default():
262 with ops.Graph().as_default():
279 with ops.Graph().as_default():
288 with ops.Graph().as_default():
300 with ops.Graph().as_default():
312 with ops.Graph().as_default():
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_ops_test.py55 with summary_ops.create_file_writer_v2(logdir).as_default():
71 with writer.as_default():
87 with summary_ops.create_file_writer_v2(logdir).as_default():
108 with summary_ops.create_file_writer_v2(logdir).as_default():
118 with summary_ops.create_file_writer_v2(logdir).as_default():
131 with writer.as_default():
143 with summary_ops.create_file_writer_v2(logdir).as_default():
153 with summary_ops.create_file_writer(logdir).as_default():
178 with summary_ops.create_file_writer(logdir).as_default():
185 with summary_ops.create_file_writer(logdir).as_default():
[all …]
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib_test.py49 with ops.Graph().as_default():
50 with session.Session().as_default() as sess:
59 with ops.Graph().as_default():
60 with session.Session().as_default() as sess:
71 with ops.Graph().as_default():
72 with session.Session().as_default() as sess:
94 with ops.Graph().as_default():
109 with ops.Graph().as_default():
110 with session.Session().as_default() as sess:
145 with ops.Graph().as_default():
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcollective_ops_test.py113 with ops.Graph().as_default():
122 with ops.Graph().as_default():
131 with ops.Graph().as_default():
141 with ops.Graph().as_default():
156 with ops.Graph().as_default():
160 with ops.Graph().as_default():
174 with ops.Graph().as_default():
235 with ops.Graph().as_default():
240 with ops.Graph().as_default():
257 with ops.Graph().as_default():
[all …]
Dop_selector_test.py32 with self.graph.as_default():
53 with g0.as_default():
57 with g1.as_default():
74 with outer.as_default():
78 with inner.as_default():
87 with g0.as_default():
98 with g0.as_default():
114 with g0.as_default():
133 with self.graph.as_default():
Dgradients_test.py69 with ops.Graph().as_default():
82 with ops.Graph().as_default():
92 with ops.Graph().as_default() as g:
101 with ops.Graph().as_default() as g:
118 with ops.Graph().as_default() as g:
139 with ops.Graph().as_default() as g:
157 with ops.Graph().as_default():
217 with ops.Graph().as_default():
237 with ops.Graph().as_default():
257 with ops.Graph().as_default():
[all …]
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Dftrl_test.py40 with ops.Graph().as_default(), self.cached_session():
80 with ops.Graph().as_default(), self.cached_session():
110 with ops.Graph().as_default(), self.cached_session():
132 with ops.Graph().as_default(), self.cached_session():
162 with ops.Graph().as_default(), self.cached_session():
188 with ops.Graph().as_default(), self.cached_session():
219 with ops.Graph().as_default(), self.cached_session():
256 with ops.Graph().as_default(), self.cached_session():
289 with ops.Graph().as_default(), self.cached_session():
324 with ops.Graph().as_default(), self.cached_session() as sess:
[all …]
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_test.py353 with ops.Graph().as_default():
367 with ops.Graph().as_default():
456 with ops.Graph().as_default():
468 with ops.Graph().as_default():
482 with ops.Graph().as_default():
496 with ops.Graph().as_default():
511 with ops.Graph().as_default():
547 with ops.Graph().as_default():
575 with ops.Graph().as_default():
604 with ops.Graph().as_default():
[all …]
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dconvolutional_test.py93 with ops.Graph().as_default():
104 with ops.Graph().as_default():
165 with ops.Graph().as_default():
175 with ops.Graph().as_default():
203 with ops.Graph().as_default():
212 with ops.Graph().as_default():
225 with ops.Graph().as_default():
265 with ops.Graph().as_default():
274 with ops.Graph().as_default():
285 with ops.Graph().as_default(), self.cached_session():
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test.py45 with ops.Graph().as_default():
57 with ops.Graph().as_default():
85 with ops.Graph().as_default():
118 with ops.Graph().as_default():
148 with ops.Graph().as_default() as graph:
197 with ops.Graph().as_default() as g:
202 with ops.Graph().as_default() as g:

12345678910>>...15