tf.raw_ops.TensorDataset
Создаёт набор данных, который выводит components в виде кортежа тензоров один раз.
tf.raw_ops.TensorDataset(
components, output_shapes, metadata='', name=None
)
| Аргументы | |
|---|---|
components | Список объектов Tensor. |
output_shapes | Список форм (каждая — tf.TensorShape или список ints), длина которого равна >= 1. |
metadata | Необязательный string. По умолчанию "". |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Объект Tensor типа variant. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/TensorDataset