rpi_assignments/assignment_3/tf_test.py

5 lines
128 B
Python
Raw Permalink Normal View History

2023-10-26 12:27:03 +00:00
import tensorflow as tf
dataset1 = tf.data.Dataset.from_tensor_slices(tf.random.uniform([4, 10]))
print(dataset1.element_spec)