Abstraction for a device initialized by the runtime. A LogicalDevice corresponds to a initialized instance on a PhysicalDevice or a remote device available in the cluster. Tensors and operations can be placed on a specific LogicalDevice by calling `tf.device()` with the `name` of the Logica
| 238 | |
| 239 | |
| 240 | class LogicalDevice( |
| 241 | collections.namedtuple("LogicalDevice", ["name", "device_type"])): |
| 242 | """Abstraction for a device initialized by the runtime. |
| 243 | |
| 244 | A LogicalDevice corresponds to a initialized instance on a PhysicalDevice or a |
| 245 | remote device available in the cluster. Tensors and operations can be placed |
| 246 | on a specific LogicalDevice by calling `tf.device()` with the `name` of the |
| 247 | LogicalDevice. |
| 248 | |
| 249 | Fields: |
| 250 | name: The fully qualified name of the device. Can be used for Op or function |
| 251 | placement. |
| 252 | device_type: String declaring the type of device such as "CPU" or "GPU". |
| 253 | """ |
| 254 | pass |
| 255 | |
| 256 | |
| 257 | @tf_export("config.experimental.VirtualDeviceConfiguration") |
no outgoing calls
no test coverage detected