Spec-Zone.ru › TensorFlow

tf.raw_ops.SerializeSparse

Сериализует SparseTensor в объект [3] Tensor.

Псевдонимы

Псевдонимы для миграции

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

tf.compat.v1.raw_ops.SerializeSparse

tf.raw_ops.SerializeSparse(
    sparse_indices,
    sparse_values,
    sparse_shape,
    out_type=tf.dtypes.string,
    name=None
)
Аргументы
sparse_indices Tensor типа int64. 2-мерный. Данные indices SparseTensor.
sparse_values Tensor. 1-мерный. Данные values SparseTensor.
sparse_shape Tensor типа int64. 1-мерный. Данные shape SparseTensor.
out_type Необязательный tf.DType из: tf.string, tf.variant. По умолчанию tf.string. Использовать для сериализации dtype; поддерживаемые типы — string (по умолчанию) и variant.
name Имя операции (необязательно).
Возвращаемое значение
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/api_docs/python/tf/raw_ops/SerializeSparse

Spec-Zone.ru

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