मैं टेंसरफ्लो ट्यूटोरियल को आजमा रहा हूं और यह नहीं समझता कि इस लाइन में अगला_बैच कहां से आया है?TensorFlow ट्यूटोरियल batch_xs में next_batch कहां है, batch_ys = mnist.train.next_batch (100) से आते हैं?
batch_xs, batch_ys = mnist.train.next_batch(100)
मैं
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
को देखा और next_batch वहाँ या तो नहीं देखा।
अब जब मेरे अपने कोड में next_batch बाहर की कोशिश कर रहा है, मैं
AttributeError: 'numpy.ndarray' object has no attribute 'next_batch'
हो रही है तो मैं समझने के लिए जहां next_batch से आती है चाहते हैं?
भी यहाँ से पूछा मिल: https://stackoverflow.com/questions/41454511/tensorflow-how-is -डेटसेट-ट्रेन-अगली-बैच-परिभाषित –