Missed TensorFlow World? Check out the recap. Learn more

tf.config.experimental.VirtualDeviceConfiguration

TensorFlow 2 version View source on GitHub

Class VirtualDeviceConfiguration

Configuration class for virtual devices for a PhysicalDevice.

Aliases:

Fields:

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

__new__

View source

@staticmethod
__new__(
    cls,
    memory_limit=None
)

Create new instance of VirtualDeviceConfiguration(memory_limit,)

Properties

memory_limit