Home
last modified time | relevance | path

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

1234

/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::__anon8af4ec1f0111::FakeSessionFactory
70 Status s = tensorflow::NewSession(options, &session); in TEST()
Dsession.cc62 Session* NewSession(const SessionOptions& options) { in NewSession() function
68 Status s = NewSession(options, &out_session); in NewSession()
76 Status NewSession(const SessionOptions& options, Session** out_session) { in NewSession() function
88 s = factory->NewSession(options, out_session); in NewSession()
Ddirect_session_test.cc89 return std::unique_ptr<Session>(NewSession(DefaultSessionOptions())); in CreateSession()
205 auto session = absl::WrapUnique(NewSession(options)); in TEST_F()
237 auto session = absl::WrapUnique(NewSession(options)); in TEST_F()
624 std::unique_ptr<Session> session(NewSession(options)); in TEST_F()
694 std::unique_ptr<Session> session(NewSession(options)); in TEST_F()
703 session.reset(NewSession(options)); in TEST_F()
1248 auto sess = std::unique_ptr<Session>(NewSession(session_options)); in TEST()
1279 auto sess = std::unique_ptr<Session>(NewSession(session_options)); in TEST()
1299 ASSERT_TRUE(NewSession(session_options0, &sess0_ptr).ok()); in TEST()
1305 errors::IsInvalidArgument(NewSession(session_options0, &dup_ptr))); in TEST()
[all …]
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()
194 std::unique_ptr<Session> session(NewSession(options)); in TestHWAccelerator()
277 std::unique_ptr<Session> session(NewSession(options)); in TEST()
335 std::unique_ptr<Session> session(NewSession(options)); in TEST()
Dsession_factory.h36 virtual Status NewSession(const SessionOptions& options,
/external/grpc-grpc/test/core/tsi/
Dssl_session_cache_test.cc46 tsi::SslSessionPtr NewSession(long id) { in NewSession() function in grpc_core::__anon8e1e0a060111::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/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()
436 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFoldFusedBatchNormsWithConcat()
445 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()
Dfreeze_requantization_ranges_test.cc139 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFreezeRequantizationRanges()
145 std::unique_ptr<Session> frozen_session(NewSession(SessionOptions())); in TestFreezeRequantizationRanges()
/external/tensorflow/tensorflow/go/
Dsession_test.go55 s, err := NewSession(graph, &SessionOptions{})
119 session, err := NewSession(graph, nil)
222 s, err := NewSession(g, &SessionOptions{})
258 s, err := NewSession(g, nil)
285 s, err := NewSession(graph, &SessionOptions{})
319 sess, err := NewSession(g, nil)
388 s, err := NewSession(graph, &opts)
402 s, err := NewSession(NewGraph(), nil)
Dgraph_test.go130 sess, err := NewSession(g, nil)
214 sess, err := NewSession(g, nil)
275 sess, err := NewSession(g, nil)
337 sess, err := NewSession(g, nil)
/external/tensorflow/tensorflow/python/tpu/profiler/
Dprofiler_analysis_pb2_grpc.py42 self.NewSession = channel.unary_unary(
73 def NewSession(self, request, context): member in ProfileAnalysisServicer
100 servicer.NewSession,
/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/core/kernels/
Dimmutable_constant_op_test.cc110 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
139 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
182 std::unique_ptr<Session> session(NewSession(session_options)); in TEST()
Dvariable_ops_test.cc50 Session* sess = NewSession(opts); in ManyManyVariablesHelper()
/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/go/op/
Dop_test.go71 sess, err := tf.NewSession(graph, nil)
115 sess, err := tf.NewSession(graph, nil)
Dgradients_test.go66 sess, err := tf.NewSession(graph, nil)
117 sess, err := tf.NewSession(graph, nil)
170 sess, err := tf.NewSession(graph, nil)
/external/tensorflow/tensorflow/examples/multibox_detector/
Dmain.cc131 tensorflow::NewSession(tensorflow::SessionOptions())); in ReadTensorFromImageFile()
158 tensorflow::NewSession(tensorflow::SessionOptions())); in SaveImage()
177 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); in LoadGraph()
200 tensorflow::NewSession(tensorflow::SessionOptions())); in GetTopDetections()
/external/tensorflow/tensorflow/core/public/
Dsession.h314 Status NewSession(const SessionOptions& options, Session** out_session);
351 Session* NewSession(const SessionOptions& options);
/external/tensorflow/tensorflow/examples/label_image/
Dmain.cc179 tensorflow::NewSession(tensorflow::SessionOptions())); in ReadTensorFromImageFile()
196 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); in LoadGraph()
219 tensorflow::NewSession(tensorflow::SessionOptions())); in GetTopLabels()

1234