Abstraction for a logical device initialized by the runtime.
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.config.LogicalDevice(
name, device_type
)
A tf.config.LogicalDevice
corresponds to an initialized logical device on a
tf.config.PhysicalDevice
or a remote device visible to the cluster. Tensors
and operations can be placed on a specific logical device by calling
tf.device
with a specified tf.config.LogicalDevice
.