Home
last modified time | relevance | path

Searched refs:allowed_devices (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dreplicate_per_replica_nodes.cc28 const std::vector<string>& allowed_devices, in ReplicateNode() argument
35 std::vector<Node*> replicated_nodes(allowed_devices.size()); in ReplicateNode()
36 for (int i = 0; i < allowed_devices.size(); ++i) { in ReplicateNode()
37 const auto& device = allowed_devices.at(i); in ReplicateNode()
179 const std::vector<string>& allowed_devices, in ReplicateNodes() argument
182 TF_RETURN_IF_ERROR(helper->ReplicateNode(n, allowed_devices, graph)); in ReplicateNodes()
243 const std::vector<string>& allowed_devices = in ReplicatePerReplicaNodesInFunctionGraph() local
245 if (allowed_devices.empty()) { in ReplicatePerReplicaNodesInFunctionGraph()
250 if (allowed_devices.size() == 1) { in ReplicatePerReplicaNodesInFunctionGraph()
253 n->set_assigned_device_name(allowed_devices.at(0)); in ReplicatePerReplicaNodesInFunctionGraph()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dclient_library.cc30 const absl::optional<std::set<int>>& allowed_devices) in LocalClientOptions() argument
34 allowed_devices_(allowed_devices) {} in LocalClientOptions()
64 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
65 allowed_devices_ = allowed_devices; in set_allowed_devices()
69 const absl::optional<std::set<int>>& LocalClientOptions::allowed_devices() in allowed_devices() function in xla::LocalClientOptions
111 service_options.set_allowed_devices(options.allowed_devices()); in GetOrCreateLocalClient()
Dclient_library.h51 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
69 const absl::optional<std::set<int>>& allowed_devices);
70 const absl::optional<std::set<int>>& allowed_devices() const;
90 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_saved_model_lift_variables_invalid_session.mlir9 …%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", dev…
11 …%2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", devic…
26 …%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", dev…
28 …%2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", devic…
Dtf_saved_model_lift_variables.mlir9 …%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", dev…
11 …%2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", devic…
33 …%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", dev…
35 …%2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", devic…
43 …%0 = "tf.VarHandleOp"() {_class = ["loc:@dense/kernel"], allowed_devices = [], container = "", dev…
45 …%2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", devic…
Dresource_inlining.mlir15 …%0 = "tf.VarHandleOp"() {_class = ["loc:@Variable"], allowed_devices = [], container = "", device …
Dmark_ops_for_outside_compilation.mlir355 …"tf.VarHandleOp"() {allowed_devices = [], container = "", device = "", shared_name = ""} : () -> t…
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.cc60 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
61 allowed_devices_ = allowed_devices; in set_allowed_devices()
65 const absl::optional<std::set<int>>& BackendOptions::allowed_devices() const { in allowed_devices() function in xla::BackendOptions
88 PlatformUtil::GetStreamExecutors(platform, options.allowed_devices())); in CreateBackend()
Dplatform_util.cc167 const absl::optional<std::set<int>>& allowed_devices) { in GetStreamExecutors() argument
194 if (allowed_devices && allowed_devices->count(i) == 0) { in GetStreamExecutors()
Dbackend.h61 const absl::optional<std::set<int>>& allowed_devices);
62 const absl::optional<std::set<int>>& allowed_devices() const;
Dplatform_util.h59 const absl::optional<std::set<int>>& allowed_devices = absl::nullopt);
Dservice.h68 const absl::optional<std::set<int>>& allowed_devices);
69 const absl::optional<std::set<int>>& allowed_devices() const;
Dlocal_service.cc58 .set_allowed_devices(options.allowed_devices()); in NewService()
Dservice.cc125 const absl::optional<std::set<int>>& allowed_devices) { in set_allowed_devices() argument
126 allowed_devices_ = allowed_devices; in set_allowed_devices()
130 const absl::optional<std::set<int>>& ServiceOptions::allowed_devices() const { in allowed_devices() function in xla::ServiceOptions
150 backend_options.set_allowed_devices(options.allowed_devices()); in NewService()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DVarHandleOp.pbtxt60 name: "allowed_devices"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DVarHandleOp.pbtxt60 name: "allowed_devices"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_VarHandleOp.pbtxt29 name: "allowed_devices"
/external/tensorflow/tensorflow/compiler/jit/
Dxla_gpu_device.cc156 options.allowed_devices = gpu_ids; in CreateDevices()
Dxla_device.h137 absl::optional<std::set<int>> allowed_devices; member
Dxla_device.cc214 allowed_devices_(options.allowed_devices) { in XlaDevice()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt5277 …argspec: "args=[\'dtype\', \'shape\', \'container\', \'shared_name\', \'allowed_devices\', \'name\…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt5277 …argspec: "args=[\'dtype\', \'shape\', \'container\', \'shared_name\', \'allowed_devices\', \'name\…
/external/llvm-project/llvm/lib/Analysis/models/inliner/
Dsaved_model.pbtxt181 name: "allowed_devices"
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt58062 name: "allowed_devices"