Spaces:
Sleeping
Sleeping
| import tensorflow as tf | |
| import tensorflow_datasets as tfds | |
| from tensorflow_examples.models.pix2pix import pix2pix | |
| import os | |
| import time | |
| import matplotlib.pyplot as plt | |
| print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU'))) | |
| tf.debugging.set_log_device_placement(True) | |
| # Create some tensors | |
| a = tf.constant([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]) | |
| b = tf.constant([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]]) | |
| c = tf.matmul(a, b) | |
| print(c) |