Spec-Zone.ru › TensorFlow 2.4

tf.data.experimental.MapVectorizationOptions

View source on GitHub

Represents options for the MapVectorization optimization.

View aliases

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.data.experimental.MapVectorizationOptions

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__

View source

__eq__(
    other
)

Return self==value.

__ne__

View source

__ne__(
    other
)

Return self!=value.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/data/experimental/MapVectorizationOptions

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API