Searched refs:sess2 (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/contrib/copy_graph/python/util/ |
D | copy_test.py | 57 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/ |
D | session_clusterspec_prop_test.py | 283 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 …]
|
D | session_test.py | 1331 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/ |
D | flat_map_test.py | 82 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/ |
D | ssl_session_cache_test.cc | 103 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/ |
D | test_util_test.py | 68 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/ |
D | strip_pruning_vars_test.py | 162 with self.test_session(self.final_graph) as sess2: 164 sess2,
|
/external/tensorflow/tensorflow/python/training/ |
D | supervisor_test.py | 899 sess2 = sv.prepare_or_wait_for_session("") 902 sess2.close() 918 sess2 = sv.prepare_or_wait_for_session("") 921 sess2.close()
|
D | basic_session_run_hooks_test.py | 540 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)
|