Creates an iterator for elements of dataset.
dataset
tf.compat.v1.data.make_initializable_iterator( dataset, shared_name=None )
dataset = ... iterator = tf.compat.v1.data.make_initializable_iterator(dataset) # ... sess.run(iterator.initializer)
tf.data.Dataset
shared_name
tf.data.Iterator
RuntimeError
此页内容是否对您有帮助
感谢反馈!