提交 2581dd69 编写于 作者: D Derek Murray 提交者: TensorFlower Gardener

[tf.data] Export `tf.data.experimental.AUTOTUNE`.

PiperOrigin-RevId: 216890862
上级 a4acd49c
......@@ -57,6 +57,8 @@ See [Importing Data](https://tensorflow.org/guide/datasets) for an overview.
@@StatsAggregator
@@unbatch
@@unique
@@AUTOTUNE
"""
from __future__ import absolute_import
......
......@@ -21,9 +21,12 @@ from tensorflow.python.data.ops import dataset_ops
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from tensorflow.python.ops import gen_experimental_dataset_ops
from tensorflow.python.util.tf_export import tf_export
# A constant that can be used to enable auto-tuning.
AUTOTUNE = -1
tf_export("data.experimental.AUTOTUNE").export_constant(__name__, "AUTOTUNE")
# TODO(jsimsa): Support RE matching for both individual transformation (e.g. to
......
path: "tensorflow.data.experimental"
tf_module {
member {
name: "AUTOTUNE"
mtype: "<type \'int\'>"
}
member {
name: "CheckpointInputPipelineHook"
mtype: "<type \'type\'>"
......
path: "tensorflow.data.experimental"
tf_module {
member {
name: "AUTOTUNE"
mtype: "<type \'int\'>"
}
member {
name: "CheckpointInputPipelineHook"
mtype: "<type \'type\'>"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册