ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.config.experimental.VirtualDeviceConfiguration

View source on GitHub

Configuration class for virtual devices for a PhysicalDevice.

Fields:

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

memory_limit