osl_dynamics.utils.devices#
TensorFlow device settings.
gpu_growth() and select_gpu() must be called before TensorFlow
initializes the devices, e.g. at the start of a script.
Functions#
Only allocate the amount of memory required on the GPU. |
|
Whether TensorFlow supports XLA compilation on the available devices. |
|
|
Allows the user to pick a GPU to use. |
|
Suppress messages from TensorFlow. |