Spec-Zone.ru › TensorFlow

tf.raw_ops.EmptyTensorList

Создает и возвращает пустой список тензоров.

Просмотреть псевдонимы

Совместимые псевдонимы для миграции

Подробнее см. в руководстве по миграции.

tf.compat.v1.raw_ops.EmptyTensorList

tf.raw_ops.EmptyTensorList(
    element_shape, max_num_elements, element_dtype, name=None
)

Все элементы списка должны быть тензорами типа dtype element_dtype и иметь форму, совместимую с element_shape.

handle: пустой список тензоров. element_dtype: тип элементов списка. element_shape: форма, совместимая с формой элементов списка.

Аргументы
element_shape A Tensor. Must be one of the following types: int32, int64.
max_num_elements A Tensor of type int32.
element_dtype A tf.DType.
name Имя операции (необязательно).
Возвращает
A Tensor of type 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/api_docs/python/tf/raw_ops/EmptyTensorList

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API