Home
last modified time | relevance | path

Searched refs:NewSession (Results 1 – 25 of 83) sorted by relevance

1234

/external/grpc-grpc/test/core/tsi/
Dssl_session_cache_test.cc46 tsi::SslSessionPtr NewSession(long id) { in NewSession() function in grpc_core::__anon20e3668f0111::SessionTracker
90 tsi::SslSessionPtr tmp_sess = tracker.NewSession(1); in TEST()
103 tsi::SslSessionPtr sess2 = tracker.NewSession(2); in TEST()
110 tsi::SslSessionPtr sess3 = tracker.NewSession(3); in TEST()
121 cache->Put(domain.c_str(), tracker.NewSession(id)); in TEST()
132 cache->Put("7.random.domain", tracker.NewSession(7)); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dsession_test.cc30 EXPECT_EQ(nullptr, tensorflow::NewSession(options)); in TEST()
33 Status s = tensorflow::NewSession(options, &session); in TEST()
50 Status NewSession(const SessionOptions& options, in NewSession() function in tensorflow::__anon21eec1a80111::FakeSessionFactory
70 Status s = tensorflow::NewSession(options, &session); in TEST()
Dsession.cc54 Session* NewSession(const SessionOptions& options) { in NewSession() function
62 s = NewSession(options, &out_session); in NewSession()
70 Status NewSession(const SessionOptions& options, Session** out_session) { in NewSession() function
78 s = factory->NewSession(options, out_session); in NewSession()
Ddirect_session_with_tracking_alloc_test.cc83 std::unique_ptr<Session> session(NewSession(options)); in TEST()
147 std::unique_ptr<Session> session(NewSession(options)); in TEST()
203 std::unique_ptr<Session> session(NewSession(options)); in TestHWAccelerator()
286 std::unique_ptr<Session> session(NewSession(options)); in TEST()
344 std::unique_ptr<Session> session(NewSession(options)); in TEST()
Ddirect_session_test.cc79 return std::unique_ptr<Session>(NewSession(options)); in CreateSession()
477 std::unique_ptr<Session> session(NewSession(options)); in TEST_F()
547 std::unique_ptr<Session> session(NewSession(options)); in TEST_F()
556 session.reset(NewSession(options)); in TEST_F()
1092 std::unique_ptr<Session> sess(NewSession(options)); in TEST()
1111 std::unique_ptr<Session> sess(NewSession(options)); in TEST()
1432 std::unique_ptr<Session> session(NewSession(options)); in TEST()
1493 std::unique_ptr<Session> session(NewSession(options)); in TEST()
1557 sessions.emplace_back(NewSession(options)); in TestSessionInterOpThreadsImpl()
1575 std::unique_ptr<Session> s(NewSession(options)); in TestSessionInterOpThreadsImpl()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_batch_norms_test.cc69 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2D()
78 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2D()
120 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsDepthwiseConv2dNative()
129 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsDepthwiseConv2dNative()
179 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2DShared()
189 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsConv2DShared()
228 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldBatchNormsMatMul()
237 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldBatchNormsMatMul()
Dfuse_convolutions_test.cc78 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFuseResizePadAndConv()
87 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFuseResizePadAndConv()
128 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFuseResizeAndConv()
137 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFuseResizeAndConv()
180 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFusePadAndConv()
189 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFusePadAndConv()
Dfold_old_batch_norms_test.cc103 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldOldBatchNorms()
112 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldOldBatchNorms()
181 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
190 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative()
258 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNorms()
267 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNorms()
335 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative()
344 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsAfterDepthwiseConv2dNative()
435 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsWithConcat()
444 std::unique_ptr<Session> fused_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsWithConcat()
[all …]
Dround_weights_test.cc65 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestRoundWeights()
74 std::unique_ptr<Session> rounded_session(NewSession(SessionOptions())); in TestRoundWeights()
Dflatten_atrous_test.cc84 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFlattenAtrousConv()
93 std::unique_ptr<Session> modified_session(NewSession(SessionOptions())); in TestFlattenAtrousConv()
Dquantize_weights_test.cc97 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestQuantizeWeights()
103 std::unique_ptr<Session> quantized_session(NewSession(SessionOptions())); in TestQuantizeWeights()
/external/tensorflow/tensorflow/go/
Dsession_test.go55 s, err := NewSession(graph, &SessionOptions{})
108 s, err := NewSession(g, &SessionOptions{})
144 s, err := NewSession(g, nil)
171 s, err := NewSession(graph, &SessionOptions{})
205 sess, err := NewSession(g, nil)
274 s, err := NewSession(graph, &opts)
288 s, err := NewSession(NewGraph(), nil)
/external/tensorflow/tensorflow/core/ops/
Darray_grad_test.cc30 std::unique_ptr<Session> NewSession() { in NewSession() function
33 return std::unique_ptr<Session>(NewSession(opts)); in NewSession()
50 auto sess = NewSession(); in PackGrad()
91 auto sess = NewSession(); in UnpackGrad()
130 auto sess = NewSession(); in ConcatGrad()
154 auto sess = NewSession(); in ConcatGradV2()
228 auto sess = NewSession(); in SplitGrad()
260 auto sess = NewSession(); in SplitVGrad()
319 auto sess = NewSession(); in ReshapeGrad()
358 auto sess = NewSession(); in ExpandDimsGrad()
[all …]
/external/tensorflow/tensorflow/python/tpu/profiler/
Dtpu_profiler_analysis_pb2_grpc.py42 self.NewSession = channel.unary_unary(
79 def NewSession(self, request, context): member in TPUProfileAnalysisServicer
107 servicer.NewSession,
/external/tensorflow/tensorflow/lite/tools/accuracy/
Deval_pipeline_test.cc68 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
93 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
116 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
Dfile_reader_stage_test.cc71 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
91 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
Drun_tflite_model_op_test.cc72 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
131 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
178 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dinception_preprocessing_test.cc67 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
96 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
125 std::unique_ptr<Session> session(NewSession(SessionOptions())); in TEST()
/external/tensorflow/tensorflow/cc/training/
Dqueue_runner_test.cc104 std::unique_ptr<Session> session(NewSession(options)); in BuildSessionAndInitVariable()
205 std::unique_ptr<Session> session(NewSession(options)); in TEST()
242 std::unique_ptr<Session> session(NewSession(options)); in TEST()
286 std::unique_ptr<Session> session(NewSession(options)); in TEST()
303 std::unique_ptr<Session> session(NewSession(options)); in TEST()
367 std::unique_ptr<Session> session(NewSession(sess_options)); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dimmutable_constant_op_test.cc106 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
135 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
178 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
/external/tensorflow/tensorflow/core/public/
Dsession.h241 Status NewSession(const SessionOptions& options, Session** out_session);
278 Session* NewSession(const SessionOptions& options);
/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dcapture_profile.cc126 Status NewSession(const string& service_addr, in NewSession() function
155 stub->NewSession(&context, new_session_request, &new_session_response))); in NewSession()
213 status = NewSession(tpu_master, hostnames, duration_ms, repository_root, in StartTracing()
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc127 tensorflow::NewSession(tensorflow::SessionOptions())); in ReadTensorFromImageFile()
154 tensorflow::NewSession(tensorflow::SessionOptions())); in SaveImage()
173 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); in LoadGraph()
196 tensorflow::NewSession(tensorflow::SessionOptions())); in GetTopDetections()
/external/tensorflow/tensorflow/go/op/
Dgradients_test.go66 sess, err := tf.NewSession(graph, nil)
117 sess, err := tf.NewSession(graph, nil)
170 sess, err := tf.NewSession(graph, nil)
Dop_test.go71 sess, err := tf.NewSession(graph, nil)
115 sess, err := tf.NewSession(graph, nil)

1234