tf.compat.v1.data.get_output_classes
Stay organized with collections
Save and categorize content based on your preferences.
Returns the output classes for elements of the input dataset / iterator.
tf.compat.v1.data.get_output_classes(
dataset_or_iterator
)
Returns |
A nested structure of Python type objects matching the structure of the
dataset / iterator elements and specifying the class of the individual
components.
|
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 2021-02-18 UTC.
[null,null,["Last updated 2021-02-18 UTC."],[],[],null,["# tf.compat.v1.data.get_output_classes\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.4.0/tensorflow/python/data/ops/dataset_ops.py#L2883-L2897) |\n\nReturns the output classes for elements of the input dataset / iterator. \n\n tf.compat.v1.data.get_output_classes(\n dataset_or_iterator\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------------------|-----------------------------------------------------------------------------------------------------------|\n| `dataset_or_iterator` | A [`tf.data.Dataset`](../../../../tf/data/Dataset) or [`tf.data.Iterator`](../../../../tf/data/Iterator). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A nested structure of Python `type` objects matching the structure of the dataset / iterator elements and specifying the class of the individual components. ||\n\n\u003cbr /\u003e"]]