SplQueue::enqueue (PHP5>=5.3.0,PHP7) SplQueue::enqueue—Addsanelementtothequeue.
←SplQueue::__construct SplQueue::enqueue→ ©1997–2017ThePHPDocumentationGroup LicensedundertheCreativeCommonsAttributionLicensev3.0orlater
←SplQueue::enqueue SplHeap→ ©1997–2017ThePHPDocumentationGroup LicensedundertheCreativeCommonsAttributionLicensev3.0orlater
php$q = new SplQueue();$q->setIteratorMode(SplQueue::IT_MODE_DELETE);// ... enqueue some tasks on the
construct—Constructsanewqueueimplementedusingadoublylinkedlist SplQueue::dequeue—Dequeuesanodefromthequeue SplQueue::enqueue—Addsanelementtothequeue
,function(){//Enqueue"bar"and"baz"tasks,torunafter"foo"finishes,in-order.grunt.task.run('bar','baz');
dataset_split.labels.astype(np.int32)],batch_size=batch_size,capacity=capacity,min_after_dequeue=min_after_dequeue,enqueue_many