14 lines
272 B
Python
14 lines
272 B
Python
# TensorFlow and tf.keras
|
|
import tensorflow as tf
|
|
|
|
# Helper libraries
|
|
import numpy as np
|
|
import matplotlib.pyplot as plt
|
|
|
|
# print(tf.__version__)
|
|
|
|
# print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
|
|
|
|
print(tf.config.list_physical_devices('GPU'))
|
|
|