Ich probiere das TensorFlow-Tutorial aus und verstehe nicht, woher kommt next_batch in dieser Zeile?Woher kommt next_batch im TensorFlow-Tutorial batch_xs, batch_ys = mnist.train.next_batch (100)?
batch_xs, batch_ys = mnist.train.next_batch(100)
Ich sah
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
Und next_batch es entweder gar nicht sehen.
Nun, wenn next_batch in meinem eigenen Code auszuprobieren, ich bin immer
AttributeError: 'numpy.ndarray' object has no attribute 'next_batch'
Also ich würde gerne verstehen woher kommt aus next_batch kommen?
auch hier gefragt: https://stackoverflow.com/questions/41454511/tensorflow-how-is -Dataset-Train-nächsten-Batch-definiert –