Home
last modified time | relevance | path

Searched refs:virtual_devices (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/eager/
Dcontext.py916 virtual_devices = self._virtual_device_map.get(dev)
917 if virtual_devices is None:
920 config.device_count[dev.device_type] += len(virtual_devices)
948 virtual_devices = []
967 virtual_devices.append(
973 if not virtual_devices and memory_growths:
984 virtual_devices=virtual_devices))
1284 def set_logical_device_configuration(self, dev, virtual_devices): argument
1292 for vdev in virtual_devices:
1297 for vdev in virtual_devices:
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_graph_test.cc90 auto virtual_devices = in TEST() local
92 virtual_devices->add_memory_limit_mb(200); in TEST()
93 virtual_devices->add_memory_limit_mb(200); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_device.cc773 const auto& virtual_devices = gpu_options.experimental().virtual_devices(); in VerifyVirtualDeviceSettings() local
774 CHECK(!virtual_devices.empty()); in VerifyVirtualDeviceSettings()
780 if (num_gpus_to_use < virtual_devices.size()) { in VerifyVirtualDeviceSettings()
784 num_gpus_to_use, " #virtual_devices: ", virtual_devices.size()); in VerifyVirtualDeviceSettings()
787 visible_gpu_order.size() != virtual_devices.size()) { in VerifyVirtualDeviceSettings()
792 " virtual_devices.size(): ", virtual_devices.size()); in VerifyVirtualDeviceSettings()
794 if (valid_platform_gpu_ids.size() != virtual_devices.size()) { in VerifyVirtualDeviceSettings()
799 " virtual_devices.size(): ", virtual_devices.size()); in VerifyVirtualDeviceSettings()
1122 const auto& virtual_devices = gpu_options.experimental().virtual_devices(); in CreateDevices() local
1123 if (!virtual_devices.empty()) { in CreateDevices()
[all …]
Dgpu_device_test.cc79 auto virtual_devices = local
82 virtual_devices->add_memory_limit_mb(mb);
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-g-p-u-options.pbtxt63 name: "virtual_devices"
/external/tensorflow/tensorflow/python/client/
Dvirtual_gpu_test.py92 experimental=config_pb2.GPUOptions.Experimental(virtual_devices=[
/external/tensorflow/tensorflow/core/protobuf/
Dconfig.proto106 // corresponding visible GPU (see "virtual_devices" below).
125 // virtual_devices { memory_limit: 1GB memory_limit: 2GB }
126 // virtual_devices {}
138 repeated VirtualDevices virtual_devices = 1; field