5 lines
128 B
Python
5 lines
128 B
Python
|
import tensorflow as tf
|
||
|
|
||
|
dataset1 = tf.data.Dataset.from_tensor_slices(tf.random.uniform([4, 10]))
|
||
|
|
||
|
print(dataset1.element_spec)
|