tf.raw_ops.ScanDataset
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Creates a dataset successively reduces f over the elements of input_dataset.
tf.raw_ops.ScanDataset(
    input_dataset, initial_state, other_arguments, f, output_types, output_shapes,
    preserve_cardinality=False, use_default_device=True, name=None
)
| Args | 
|---|
| input_dataset | A Tensorof typevariant. | 
| initial_state | A list of Tensorobjects. | 
| other_arguments | A list of Tensorobjects. | 
| f | A function decorated with @Defun. | 
| output_types | A list of tf.DTypesthat has length>= 1. | 
| output_shapes | A list of shapes (each a tf.TensorShapeor list ofints) that has length>= 1. | 
| preserve_cardinality | An optional bool. Defaults toFalse. | 
| use_default_device | An optional bool. Defaults toTrue. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A Tensorof typevariant. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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.
  Last updated 2020-10-01 UTC.
  
  
  
    
      [null,null,["Last updated 2020-10-01 UTC."],[],[]]