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. Двумерный. indices SparseTensor.
sparse_values Tensor. Одномерный. values SparseTensor.
sparse_shape Tensor типа int64. Одномерный. 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