W3cubDocs

/TensorFlow 2.3

Module: tf.data

tf.data.Dataset API for input pipelines.

See Importing Data for an overview.

Modules

experimental module: Experimental API for building input pipelines.

Classes

class Dataset: Represents a potentially large set of elements.

class DatasetSpec: Type specification for tf.data.Dataset.

class FixedLengthRecordDataset: A Dataset of fixed-length records from one or more binary files.

class Iterator: Represents an iterator of a tf.data.Dataset.

class IteratorSpec: Type specification for tf.data.Iterator.

class Options: Represents options for tf.data.Dataset.

class TFRecordDataset: A Dataset comprising records from one or more TFRecord files.

class TextLineDataset: A Dataset comprising lines from one or more text files.

Other Members

  • INFINITE_CARDINALITY = -1
  • UNKNOWN_CARDINALITY = -2

© 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.3/api_docs/python/tf/data