Home
last modified time | relevance | path

Searched refs:device_filters (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc136 const protobuf::RepeatedPtrField<string>& device_filters, MasterEnv* env, in GetRemoteDevices() argument
139 DeviceFinder finder(device_filters, env, worker_cache); in GetRemoteDevices()
147 const protobuf::RepeatedPtrField<string>& device_filters, MasterEnv* env, in GetRemoteWorkers() argument
149 DeviceFinder finder(device_filters, env, worker_cache); in GetRemoteWorkers()
155 const protobuf::RepeatedPtrField<string>& device_filters, MasterEnv* env, in DeviceFinder() argument
167 for (const string& filter : device_filters) { in DeviceFinder()
212 if (device_filters.empty()) { in DeviceFinder()
215 for (const string& filter : device_filters) { in DeviceFinder()
426 DeviceFinder::GetRemoteDevices(req->config().device_filters(), env_, in CreateSession()
444 DeviceFinder::GetRemoteDevices(req->config().device_filters(), env_, in CreateSession()
[all …]
/external/tensorflow/tensorflow/python/training/
Dserver_lib.py532 def set_device_filters(self, job_name, task_index, device_filters): argument
534 assert all(isinstance(df, str) for df in device_filters)
536 self._device_filters[job_name][task_index] = [df for df in device_filters]
573 jdf.tasks[i].device_filters.append(tdf)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.config.experimental.-cluster-device-filters.pbtxt11 …argspec: "args=[\'self\', \'job_name\', \'task_index\', \'device_filters\'], varargs=None, keyword…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.config.experimental.-cluster-device-filters.pbtxt11 …argspec: "args=[\'self\', \'job_name\', \'task_index\', \'device_filters\'], varargs=None, keyword…
Dtensorflow.-config-proto.pbtxt44 name: "device_filters"
/external/tensorflow/tensorflow/python/distribute/
Dcollective_all_reduce_strategy.py274 device_filters=("/job:%s/task:%d" % (task_type, task_id),))
502 del updated_config.device_filters[:]
503 updated_config.device_filters.append(
Dparameter_server_strategy.py594 del updated_config.device_filters[:]
596 updated_config.device_filters.extend(
599 updated_config.device_filters.append(
Ddistribute_coordinator_test.py134 session_config.device_filters.extend(
138 session_config.device_filters.append("/job:somejob")
840 self._device_filters.extend(session_config.device_filters)
850 self._device_filters.extend(session_config.device_filters)
Dcollective_all_reduce_strategy_test.py481 config_proto = config_pb2.ConfigProto(device_filters=['to_be_overridden'])
492 self.assertEqual(['/job:worker/task:1'], new_config.device_filters)
Dparameter_server_strategy_test.py705 config_proto = config_pb2.ConfigProto(device_filters=['to_be_overridden'])
711 new_config.device_filters)
Ddistribute_coordinator.py552 del session_config.device_filters[:]
/external/tensorflow/tensorflow/python/eager/
Dcontext.py650 device_filters=None): argument
675 self._collective_device_filters != device_filters):
686 self._collective_device_filters = device_filters
939 del config.device_filters[:]
941 config.device_filters.append(f)
/external/tensorflow/tensorflow/core/protobuf/
Dtensorflow_server.proto22 import "tensorflow/core/protobuf/device_filters.proto";
Ddevice_filters.proto59 repeated string device_filters = 1; field
Dmaster.proto248 repeated string device_filters = 2; field
Dconfig.proto434 repeated string device_filters = 4; field
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc834 const string& remote_worker, const std::vector<string>& device_filters) { in SetRemoteDeviceFilters() argument
852 for (auto& filter : device_filters) { in SetRemoteDeviceFilters()
863 for (auto& filter : device_filters) { in SetRemoteDeviceFilters()
Dcontext.h368 const std::vector<string>& device_filters);
/external/tensorflow/tensorflow/python/framework/
Dconfig_test.py676 device_filters=['/job:worker/task:1'])
684 self.assertEqual(['/job:worker/task:1'], new_config.device_filters)
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc778 std::vector<string> device_filters(tdf.second.device_filters_size()); in TFE_ContextSetServerDef()
780 device_filters[i] = tdf.second.device_filters(i); in TFE_ContextSetServerDef()
784 ctx->context->SetRemoteDeviceFilters(remote_worker, device_filters); in TFE_ContextSetServerDef()
/external/tensorflow/tensorflow/core/
DBUILD189 "protobuf/device_filters.proto",
/external/tensorflow/
DRELEASE.md1471 * `RunConfig` now sets device_filters to restrict how workers and PS can communicate. This can spee…