tf.raw_ops.ReaderReadUpTo
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Returns up to num_records (key, value) pairs produced by a Reader.
tf.raw_ops.ReaderReadUpTo(
    reader_handle, queue_handle, num_records, name=None
)
Will dequeue from the input queue if necessary (e.g. when the
Reader needs to start reading from a new file since it has finished
with the previous file).
It may return less than num_records even before the last batch.
| Args | 
|---|
| reader_handle | A Tensorof type mutablestring. Handle to aReader. | 
| queue_handle | A Tensorof type mutablestring.
Handle to aQueue, with string work items. | 
| num_records | A Tensorof typeint64.
number of records to read fromReader. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A tuple of Tensorobjects (keys, values). | 
| keys | A Tensorof typestring. | 
| values | A Tensorof typestring. | 
  
  
 
  
    
    
      
       
    
    
  
  
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
  Last updated 2023-03-27 UTC.
  
  
  
    
      [null,null,["Last updated 2023-03-27 UTC."],[],[]]