Home
last modified time | relevance | path

Searched refs:named_device (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/c/eager/parallel_device/
Dparallel_device.cc239 NamedParallelDevice* named_device = in CopyToParallelDevice() local
241 const ParallelDevice& dev = named_device->device(); in CopyToParallelDevice()
245 return ParallelTensorToTensorHandle(named_device->name(), context, in CopyToParallelDevice()
294 NamedParallelDevice* named_device = in ParallelDeviceExecute() local
306 if (named_device->name() == tensor_handle_device) { in ParallelDeviceExecute()
318 ExecuteWithSpecialOps(named_device->device(), named_device->name(), in ParallelDeviceExecute()
342 named_device->name(), context, in ParallelDeviceExecute()
/external/tensorflow/tensorflow/python/grappler/
Dcluster_wrapper.cc101 tensorflow::NamedDevice named_device; in PYBIND11_MODULE() local
102 if (!named_device.ParseFromString(std::string(s))) { in PYBIND11_MODULE()
107 named_devices.push_back(named_device); in PYBIND11_MODULE()
111 for (const auto& named_device : named_devices) { in PYBIND11_MODULE() local
112 devices[named_device.name()] = named_device.properties(); in PYBIND11_MODULE()
Dcluster_test.py103 named_device = device_properties_pb2.NamedDevice(
108 devices=[named_device])
113 estimated_perf = grappler_cluster.EstimatePerformance(named_device)
Dlayout_optimizer_test.py184 named_device = device_properties_pb2.NamedDevice()
185 named_device.name = '/GPU:0'
186 named_device.properties.type = 'GPU'
187 named_device.properties.num_cores = 24
188 named_device.properties.frequency = 1000
189 named_device.properties.environment['architecture'] = '4'
190 cluster = gcluster.Cluster(devices=[named_device])