IsAvailableΒΆ
Check if the accelerator backend is available.
JAX (Core)
API:
βStrategy: Macro 'len(jax.devices('gpu')) > 0'
TensorFlow
API:
βStrategy: Macro 'len(tf.config.list_physical_devices('GPU')) > 0'
Check if the accelerator backend is available.
ββ