Spec-Zone.ru › TensorFlow 2.4

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.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/SerializeSparse

Spec-Zone.ru

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