Rudy’s OBTF Rudolf Adamkovič

Home / TensorFlow / TensorFlow / Installation


Test

import tensorflow as tf
gpus = len(tf.config.list_physical_devices ('GPU'))
print(f"TensorFlow v{tf.__version__} installed.")
print(f"{gpus} GPU(s) available.")
TensorFlow v2.16.2 installed.
1 GPU(s) available.

© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.