我遵循本教程:,并在尝试使用tf.data.Dataset时出错。import tensorflow.datafrom tensorflow.keras import layers
# Adds a densely-connected layer with 64 units to the model:# Add an
np.random.random: {} seconds".format(time.time() - t))
for i in range(400):print("tf.random_uniform: {} seconds".format(time.time() - t))np.random.uniform: 10.4318959713