tf.config.experimental.VirtualDeviceConfiguration

TensorFlow 1 version 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