Home
last modified time | relevance | path

Searched refs:source_device (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/data/ops/
Dmulti_device_iterator_ops.py42 source_device, element_spec): argument
60 target=source_device,
96 target=source_device,
124 target=source_device,
219 source_device="/cpu:0"): argument
238 self._source_device = source_device
239 self._source_device_tensor = ops.convert_to_tensor(source_device)
415 def __init__(self, devices, source_device, element_spec): argument
417 self._source_device = source_device
447 source_device=self._source_device,
[all …]
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dprefetching_ops.py60 def copy_to_device(target_device, source_device="/cpu:0"): argument
78 source_device=source_device).with_options(options)
89 def __init__(self, input_dataset, target_device, source_device="/cpu:0"): argument
101 self._source_device_string = source_device
102 self._source_device = ops.convert_to_tensor(source_device)
/external/tensorflow/tensorflow/core/kernels/
Dfunction_ops.cc276 const string& source_device = lib->device()->name(); in ComputeAsync() local
284 target->scalar<tstring>()(), source_device, &function_target.first), in ComputeAsync()
330 opts.source_device = source_device; in ComputeAsync()
331 if (opts.source_device != target_device) { in ComputeAsync()
Dpartitioned_function_ops.cc251 run_opts.source_device = in RunFunction()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime_test.cc382 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
396 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
414 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
430 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
448 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
490 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
519 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
1162 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
1177 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
1224 opts.source_device = "/job:a/replica:0/task:0/cpu:0"; in TEST_F()
Dprocess_function_library_runtime.cc118 const string& source_device, const string& target_device, in SendTensors() argument
126 string key = Rendezvous::CreateKey(source_device, src_incarnation, in SendTensors()
137 const string& source_device, const string& target_device, in ReceiveTensorsAsync() argument
146 string key = Rendezvous::CreateKey(source_device, src_incarnation, in ReceiveTensorsAsync()
1505 string source_device = opts.source_device; in RunInternal() local
1507 Status s = GetDeviceContext(source_device, &device_context); in RunInternal()
1513 s = GetDeviceIncarnation(source_device, &src_incarnation); in RunInternal()
1523 s = SendTensors(source_device, target_device, "arg_", src_incarnation, in RunInternal()
1534 [source_device, target_device, target_incarnation, rendezvous, in RunInternal()
1546 ReceiveTensorsAsync(target_device, source_device, "ret_", in RunInternal()
Dfunction.cc1002 string source_device = opts.source_device; in RunRemote() local
1011 s = parent_->GetDeviceIncarnation(source_device, &src_incarnation); in RunRemote()
1051 source_device, target_device, "arg_", src_incarnation, args.size(), in RunRemote()
1053 [frame, remote_args, item, source_device, target_device, in RunRemote()
1069 [frame, rets, done, source_device, target_device, in RunRemote()
1083 target_device, source_device, "ret_", target_incarnation, in RunRemote()
Dprocess_function_library_runtime.h90 static Status SendTensors(const string& source_device,
105 const string& source_device, const string& target_device,
Dfunction_test.cc1985 opts.source_device = "/device:CPU:1"; in TEST_F()
1993 opts.source_device = "/job:localhost/replica:0/task:0/cpu:2"; in TEST_F()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dcopy_to_device_test.py406 prefetching_ops.copy_to_device("/gpu:0", source_device="/cpu:0"))
408 prefetching_ops.copy_to_device("/cpu:0", source_device="/gpu:0"))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.pbtxt105 …argspec: "args=[\'target_device\', \'source_device\'], varargs=None, keywords=None, defaults=[\'/c…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.pbtxt133 …argspec: "args=[\'target_device\', \'source_device\'], varargs=None, keywords=None, defaults=[\'/c…
/external/tensorflow/tensorflow/core/framework/
Dfunction.h799 std::string source_device = ""; // Fully specified device name. member
Dfunction.cc1765 " remote_execution=", remote_execution, " source_device=", source_device, in DebugString()
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib.py1767 self._dataset, self._devices, source_device=host_device)