摘要: import tensorflow as tf q = tf.FIFOQueue(1000,"float32") counter = tf.Variable(0.0) add_op = tf.assign_add(counter, tf.constant(1.0)) enqueueData_op = q.enqueue(counter) sess = tf.Session() qr = tf... 阅读全文