tf.shape_n
| View source on GitHub |
Возвращает форму тензоров.
tf.shape_n(
input,
out_type=tf.dtypes.int32,
name=None
)
| Аргументы | |
|---|---|
input | Список из как минимум 1 Tensor объекта с одинаковым типом. |
out_type | Указанный тип данных результата операции (int32 или int64). По умолчанию tf.int32(необязательно). |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Список той же длины, что и input, содержащий Tensor объекты типа out_type. |
© 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/shape_n