/external/tensorflow/tensorflow/core/common_runtime/ |
D | session_test.cc | 30 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()
|
D | session.cc | 62 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()
|
D | direct_session_test.cc | 89 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 …]
|
D | direct_session_with_tracking_alloc_test.cc | 83 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()
|
D | session_factory.h | 36 virtual Status NewSession(const SessionOptions& options,
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_session_cache_test.cc | 46 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/ |
D | fold_batch_norms_test.cc | 69 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()
|
D | fuse_convolutions_test.cc | 78 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()
|
D | fold_old_batch_norms_test.cc | 103 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 …]
|
D | round_weights_test.cc | 65 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestRoundWeights() 74 std::unique_ptr<Session> rounded_session(NewSession(SessionOptions())); in TestRoundWeights()
|
D | flatten_atrous_test.cc | 84 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestFlattenAtrousConv() 93 std::unique_ptr<Session> modified_session(NewSession(SessionOptions())); in TestFlattenAtrousConv()
|
D | quantize_weights_test.cc | 97 std::unique_ptr<Session> original_session(NewSession(SessionOptions())); in TestQuantizeWeights() 103 std::unique_ptr<Session> quantized_session(NewSession(SessionOptions())); in TestQuantizeWeights()
|
D | freeze_requantization_ranges_test.cc | 139 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/ |
D | session_test.go | 55 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)
|
D | graph_test.go | 130 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/ |
D | profiler_analysis_pb2_grpc.py | 42 self.NewSession = channel.unary_unary( 73 def NewSession(self, request, context): member in ProfileAnalysisServicer 100 servicer.NewSession,
|
/external/tensorflow/tensorflow/core/ops/ |
D | array_grad_test.cc | 30 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/ |
D | immutable_constant_op_test.cc | 110 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()
|
D | variable_ops_test.cc | 50 Session* sess = NewSession(opts); in ManyManyVariablesHelper()
|
/external/tensorflow/tensorflow/cc/training/ |
D | queue_runner_test.cc | 104 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/ |
D | op_test.go | 71 sess, err := tf.NewSession(graph, nil) 115 sess, err := tf.NewSession(graph, nil)
|
D | gradients_test.go | 66 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/ |
D | main.cc | 131 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/ |
D | session.h | 314 Status NewSession(const SessionOptions& options, Session** out_session); 351 Session* NewSession(const SessionOptions& options);
|
/external/tensorflow/tensorflow/examples/label_image/ |
D | main.cc | 179 tensorflow::NewSession(tensorflow::SessionOptions())); in ReadTensorFromImageFile() 196 session->reset(tensorflow::NewSession(tensorflow::SessionOptions())); in LoadGraph() 219 tensorflow::NewSession(tensorflow::SessionOptions())); in GetTopLabels()
|