Searched refs:options_copy (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_testlib.cc | 78 SessionOptions options_copy(options); in MakeTestCluster() local 79 options_copy.target = strings::StrCat("grpc://", ret->targets_[0]); in MakeTestCluster() 82 TF_RETURN_IF_ERROR(GrpcSession::Create(options_copy, &session)); in MakeTestCluster()
|
/external/tflite-support/tensorflow_lite_support/cc/task/vision/ |
D | image_segmenter.cc | 167 auto options_copy = absl::make_unique<ImageSegmenterOptions>(options); in CreateFromOptions() local 171 &options_copy->model_file_with_metadata(), in CreateFromOptions() 172 std::move(resolver), options_copy->num_threads())); in CreateFromOptions() 174 RETURN_IF_ERROR(image_segmenter->Init(std::move(options_copy))); in CreateFromOptions()
|
D | object_detector.cc | 260 auto options_copy = absl::make_unique<ObjectDetectorOptions>(options); in CreateFromOptions() local 264 &options_copy->model_file_with_metadata(), in CreateFromOptions() 265 std::move(resolver), options_copy->num_threads())); in CreateFromOptions() 267 RETURN_IF_ERROR(object_detector->Init(std::move(options_copy))); in CreateFromOptions()
|
D | image_classifier.cc | 79 auto options_copy = absl::make_unique<ImageClassifierOptions>(options); in CreateFromOptions() local 83 &options_copy->model_file_with_metadata(), in CreateFromOptions() 84 std::move(resolver), options_copy->num_threads())); in CreateFromOptions() 86 RETURN_IF_ERROR(image_classifier->Init(std::move(options_copy))); in CreateFromOptions()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | rpcbench_test.cc | 95 SessionOptions options_copy(options); in MakeGRPCCluster() local 96 options_copy.target = (*workers)[0]; in MakeGRPCCluster() 98 TF_CHECK_OK(GrpcSession::Create(options_copy, &session)); in MakeGRPCCluster()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | function.cc | 211 InstantiateOptions options_copy = options; in Instantiate() local 212 options_copy.lib_def = lib_def_; in Instantiate() 213 return base_flr_->Instantiate(function_name, attrs, options_copy, handle); in Instantiate() 749 InstantiateOptions options_copy(options); in Instantiate() local 750 options_copy.target = device_name_; in Instantiate() 751 const string key = Canonicalize(function_name, attrs, options_copy); in Instantiate()
|