tensorflow缓存读入
```
tf.data.Dataset.from_tensor_slices((x_train, y_train))
train_dataset.shuffle(buffer_size=1024).batch(batch_size)
```
```
tf.data.Dataset.from_tensor_slices((x_train, y_train))
train_dataset.shuffle(buffer_size=1024).batch(batch_size)
```
本文标题:tensorflow使用技巧
本文链接:https://www.haomeiwen.com/subject/qqljihtx.html
网友评论