Spec-Zone.ru › TensorFlow

tf.raw_ops.SparseTensorToCSRSparseMatrix

Преобразует SparseTensor в CSRSparseMatrix (возможно, пакетную).

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

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

Дополнительные сведения см. в руководстве по миграции.

tf.compat.v1.raw_ops.SparseTensorToCSRSparseMatrix

tf.raw_ops.SparseTensorToCSRSparseMatrix(
    indices, values, dense_shape, name=None
)
Аргументы
indices A Tensor of type int64. Индексы SparseTensor.
values A Tensor. Допустимые типы: float32, float64, complex64, complex128. Значения SparseTensor.
dense_shape A Tensor of type int64. Плотная форма SparseTensor.
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/SparseTensorToCSRSparseMatrix

Spec-Zone.ru

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