TensorFlow 2 version
 | 
  
     
    View source on GitHub
  
 | 
Represents options for the MapVectorization optimization.
tf.data.experimental.MapVectorizationOptions()
Attributes | |
|---|---|
enabled
 | 
Whether to vectorize map transformations. If None, defaults to False. | 
use_choose_fastest
 | 
Whether to use ChooseFastestBranchDataset with this transformation. If True, the pipeline picks between the vectorized and original segment at runtime based on their iterations speed. If None, defaults to False. | 
Methods
__eq__
__eq__(
    other
)
Return self==value.
__ne__
__ne__(
    other
)
Return self!=value.
  TensorFlow 2 version
    View source on GitHub