View source on GitHub |
Configuration class for a logical devices.
tf.config.LogicalDeviceConfiguration(
memory_limit=None,
experimental_priority=None,
experimental_device_ordinal=None
)
Used in the notebooks
Used in the guide | Used in the tutorials |
---|---|
The class specifies the parameters to configure a tf.config.PhysicalDevice
as it is initialized to a tf.config.LogicalDevice
during runtime
initialization. Not all fields are valid for all device types.
See tf.config.get_logical_device_configuration
and
tf.config.set_logical_device_configuration
for usage examples.
Attributes | |
---|---|
memory_limit
|
A namedtuple alias for field number 0
|
experimental_priority
|
A namedtuple alias for field number 1
|
experimental_device_ordinal
|
A namedtuple alias for field number 2
|