Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/client/
Dsession_clusterspec_prop_test.py277 sess2 = session.Session(server2.target, graph=g2, config=config2)
280 init2.run(session=sess2)
286 self.assertAllEqual(expected_zeros, sess2.run(var2))
290 self.assertAllEqual(expected_zeros, sess2.run(var2))
291 self.assertAllEqual(expected_ones, sess2.run(update_op2))
293 self.assertAllEqual(expected_ones, sess2.run(var2))
329 sess2 = session.Session(server2.target, config=config2)
332 variables.global_variables_initializer().run(session=sess2)
338 self.assertAllEqual(expected_zeros, sess2.run(var))
342 self.assertAllEqual(expected_zeros, sess2.run(var))
[all …]
Dsession_test.py1351 sess2 = session.InteractiveSession()
1357 sess2.close()
1411 with session.Session(graph=g) as sess2:
1412 self.assertAllEqual(sess1.run(c), sess2.run(c))
1817 sess2 = session.Session()
1818 sess2_controller = sess2.as_default()
1828 sess2 = session.InteractiveSession()
1830 del 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/data/kernel_tests/
Dflat_map_test.py88 with session.Session(server.target) as sess2:
90 sess = random.choice([sess1, sess2])
95 sess = random.choice([sess1, sess2])
99 sess = random.choice([sess1, sess2])
/external/tensorflow/tensorflow/python/framework/
Dtest_util_test.py72 with self.cached_session(graph=None, config=None) as sess2:
74 assert sess2 is sess
78 with self.cached_session(graph=ops.Graph()) as sess2:
81 with self.cached_session(force_gpu=True) as sess2:
88 with self.session() as sess2:
89 assert sess2 is not unique_sess
/external/tensorflow/tensorflow/python/training/
Dsupervisor_test.py897 sess2 = sv.prepare_or_wait_for_session("")
900 sess2.close()
916 sess2 = sv.prepare_or_wait_for_session("")
919 sess2.close()
Dbasic_session_run_hooks_test.py539 checkpoint_dir=self.model_dir) as sess2:
540 global_step_saved_val = sess2.run(global_step)
573 checkpoint_dir=self.model_dir) as sess2:
574 global_step_saved_val = sess2.run(global_step)