Module: tf.compat.v1.data
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
Public API for tf._api.v2.data namespace
Modules
experimental
module: Public API for tf._api.v2.data.experimental namespace
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 the state of iterating through a Dataset
.
class NumpyIterator
: Iterator over a dataset with elements converted to numpy.
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.
class ThreadingOptions
: Represents options for dataset threading.
Functions
get_output_classes(...)
: Returns the output classes for elements of the input dataset / iterator.
get_output_shapes(...)
: Returns the output shapes for elements of the input dataset / iterator.
get_output_types(...)
: Returns the output shapes for elements of the input dataset / iterator.
make_initializable_iterator(...)
: Creates an iterator for elements of dataset
.
make_one_shot_iterator(...)
: Creates an iterator for elements of dataset
.
Other Members |
AUTOTUNE
|
-1
|
INFINITE_CARDINALITY
|
-1
|
UNKNOWN_CARDINALITY
|
-2
|
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# Module: tf.compat.v1.data\n\n\u003cbr /\u003e\n\nPublic API for tf._api.v2.data namespace\n\nModules\n-------\n\n[`experimental`](../../../tf/compat/v1/data/experimental) module: Public API for tf._api.v2.data.experimental namespace\n\nClasses\n-------\n\n[`class Dataset`](../../../tf/compat/v1/data/Dataset): Represents a potentially large set of elements.\n\n[`class DatasetSpec`](../../../tf/data/DatasetSpec): Type specification for [`tf.data.Dataset`](../../../tf/data/Dataset).\n\n[`class FixedLengthRecordDataset`](../../../tf/compat/v1/data/FixedLengthRecordDataset): A `Dataset` of fixed-length records from one or more binary files.\n\n[`class Iterator`](../../../tf/compat/v1/data/Iterator): Represents the state of iterating through a `Dataset`.\n\n[`class NumpyIterator`](../../../tf/data/NumpyIterator): Iterator over a dataset with elements converted to numpy.\n\n[`class Options`](../../../tf/data/Options): Represents options for [`tf.data.Dataset`](../../../tf/data/Dataset).\n\n[`class TFRecordDataset`](../../../tf/compat/v1/data/TFRecordDataset): A `Dataset` comprising records from one or more TFRecord files.\n\n[`class TextLineDataset`](../../../tf/compat/v1/data/TextLineDataset): A `Dataset` comprising lines from one or more text files.\n\n[`class ThreadingOptions`](../../../tf/data/ThreadingOptions): Represents options for dataset threading.\n\nFunctions\n---------\n\n[`get_output_classes(...)`](../../../tf/compat/v1/data/get_output_classes): Returns the output classes for elements of the input dataset / iterator.\n\n[`get_output_shapes(...)`](../../../tf/compat/v1/data/get_output_shapes): Returns the output shapes for elements of the input dataset / iterator.\n\n[`get_output_types(...)`](../../../tf/compat/v1/data/get_output_types): Returns the output shapes for elements of the input dataset / iterator.\n\n[`make_initializable_iterator(...)`](../../../tf/compat/v1/data/make_initializable_iterator): Creates an iterator for elements of `dataset`.\n\n[`make_one_shot_iterator(...)`](../../../tf/compat/v1/data/make_one_shot_iterator): Creates an iterator for elements of `dataset`.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|----------------------|------|\n| AUTOTUNE | `-1` |\n| INFINITE_CARDINALITY | `-1` |\n| UNKNOWN_CARDINALITY | `-2` |\n\n\u003cbr /\u003e"]]