tf.train.batch(tensors, batch_size, num_threads=1, capacity=32, enqueue_many=False, shapes=None, dynamic_pad=False, allow_smaller_final_batch=False, shared_name=None, name=None)
Creates batches of tensors in tensors.
The argument tensors can be a list or a dictionary of tensors. The value returned by the function will be of the same type as tensors.
This function is implemented using a queue. A QueueRunner for the queue is added to the current Graph's QUEUE_RUNNER collection.
If enqueue_many i