tf.data.get_output_classes
Возвращает классы выходных данных Dataset или Iterator элементов.
tf.data.get_output_classes(
dataset_or_iterator
)
Этот утилитарный метод заменяет устаревшее свойство tf.compat.v1.Dataset.output_classes в V2.
| Аргументы | |
|---|---|
dataset_or_iterator | tf.data.Dataset или tf.data.IteratorV2. |
| Возвращает | |
|---|---|
Вложенная структура объектов Python type , соответствующая структуре элементов набора данных/итератора и определяющая класс отдельных компонентов. |
© 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/r1.15/api_docs/python/tf/data/get_output_classes