tf.config.experimental.VirtualDeviceConfiguration

TensorFlow 1 version View source on GitHub

Configuration class for virtual devices for a PhysicalDevice.

tf.config.experimental.VirtualDeviceConfiguration(
    memory_limit=None
)

Used in the notebooks

Used in the guide

Fields:

  • memory_limit: (optional) Maximum memory (in MB) to allocate on the virtual device. Currently only supported for GPUs.

Attributes:

  • memory_limit