Home
last modified time | relevance | path

Searched refs:sess2 (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/contrib/copy_graph/python/util/
Dcopy_test.py57 sess2 = session_lib.Session()
59 variables.global_variables_initializer().run(session=sess2)
63 v2 = copy1.eval(session=sess2)
64 v3 = copy2.eval(session=sess2)
97 sess2 = session_lib.Session()
99 variables.global_variables_initializer().run(session=sess2)
111 v2 = y1.eval({x1: 5}, session=sess2)
/external/tensorflow/tensorflow/python/client/
Dsession_clusterspec_prop_test.py283 sess2 = session.Session(server2.target, graph=g2, config=config2)
286 init2.run(session=sess2)
292 self.assertAllEqual(expected_zeros, sess2.run(var2))
296 self.assertAllEqual(expected_zeros, sess2.run(var2))
297 self.assertAllEqual(expected_ones, sess2.run(update_op2))
299 self.assertAllEqual(expected_ones, sess2.run(var2))
335 sess2 = session.Session(server2.target, config=config2)
338 variables.global_variables_initializer().run(session=sess2)
344 self.assertAllEqual(expected_zeros, sess2.run(var))
348 self.assertAllEqual(expected_zeros, sess2.run(var))
[all …]
Dsession_test.py1331 sess2 = session.InteractiveSession()
1337 sess2.close()
1391 with session.Session(graph=g) as sess2:
1392 self.assertAllEqual(sess1.run(c), sess2.run(c))
1797 sess2 = session.Session()
1798 sess2_controller = sess2.as_default()
1808 sess2 = session.InteractiveSession()
1810 del sess2
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dflat_map_test.py82 with session.Session(server.target) as sess2:
84 sess = random.choice([sess1, sess2])
89 sess = random.choice([sess1, sess2])
93 sess = random.choice([sess1, sess2])
/external/grpc-grpc/test/core/tsi/
Dssl_session_cache_test.cc103 tsi::SslSessionPtr sess2 = tracker.NewSession(2); in TEST() local
104 SSL_SESSION* sess2_ptr = sess2.get(); in TEST()
105 cache->Put("first.dropbox.com", std::move(sess2)); in TEST()
/external/tensorflow/tensorflow/python/framework/
Dtest_util_test.py68 with self.cached_session(graph=None, config=None) as sess2:
70 assert sess2 is sess
74 with self.cached_session(graph=ops.Graph()) as sess2:
77 with self.cached_session(force_gpu=True) as sess2:
84 with self.session() as sess2:
85 assert sess2 is not unique_sess
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dstrip_pruning_vars_test.py162 with self.test_session(self.final_graph) as sess2:
164 sess2,
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py899 sess2 = sv.prepare_or_wait_for_session("")
902 sess2.close()
918 sess2 = sv.prepare_or_wait_for_session("")
921 sess2.close()
Dbasic_session_run_hooks_test.py540 checkpoint_dir=self.model_dir) as sess2:
541 global_step_saved_val = sess2.run(global_step)
574 checkpoint_dir=self.model_dir) as sess2:
575 global_step_saved_val = sess2.run(global_step)