TensorFlow 2.0 Beta is available Learn more

tf.config.experimental.VirtualDeviceConfiguration

TensorFlow 2.0 version View source on GitHub

Class VirtualDeviceConfiguration

Configuration class for virtual devices for a PhysicalDevice.

Aliases:

  • Class tf.compat.v1.config.experimental.VirtualDeviceConfiguration
  • Class tf.compat.v2.config.experimental.VirtualDeviceConfiguration
  • Class tf.config.experimental.VirtualDeviceConfiguration

Fields:

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

Properties

memory_limit