(tensors, scope)
| 484 | """ |
| 485 | |
| 486 | def fn(tensors, scope): |
| 487 | return input.batch( |
| 488 | tensors, |
| 489 | batch_size=batch_size, |
| 490 | num_threads=num_threads, |
| 491 | capacity=capacity, |
| 492 | enqueue_many=enqueue_many, |
| 493 | allow_smaller_final_batch=allow_smaller_final_batch, |
| 494 | name=scope) |
| 495 | |
| 496 | return _batch_helper('lt_batch', fn, batch_size, enqueue_many, |
| 497 | labeled_tensors, allow_smaller_final_batch, name) |