View source on GitHub
|
Represents options for dataset optimizations.
tf.data.experimental.OptimizationOptions()
You can set the optimization options of a dataset through the
experimental_optimization property of tf.data.Options; the property is
an instance of tf.data.experimental.OptimizationOptions.
options = tf.data.Options()
options.experimental_optimization.noop_elimination = True
options.experimental_optimization.apply_default_optimizations = False
dataset = dataset.with_options(options)
apply_default_optimizations
filter_fusion
filter_parallelization
inject_prefetch
map_and_batch_fusion
map_and_filter_fusion
map_fusion
map_parallelization
noop_elimination
parallel_batch
seq_interleave_prefetch
shuffle_and_repeat_fusion
__eq____eq__(
other
)
Return self==value.
__ne____ne__(
other
)
Return self!=value.
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 2024-04-26 UTC.