Spec-Zone.ru › TensorFlow 2.3

tf.raw_ops.CSRSparseMatrixComponents

Выводит компоненты CSR в пакет index.

Псевдонимы

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

См. Руководство по миграции для получения дополнительных сведений.

tf.compat.v1.raw_ops.CSRSparseMatrixComponents

tf.raw_ops.CSRSparseMatrixComponents(
    csr_sparse_matrix, index, type, name=None
)

Этот оператор предназначен только для отладки/тестирования, и его интерфейс не ожидается стабильным.

Аргументы
csr_sparse_matrix A Tensor типа variant. Батчевый CSRSparseMatrix.
index A Tensor типа int32. Индекс в пакете csr_sparse_matrix .
type tf.DType из: tf.float32, tf.float64, tf.complex64, tf.complex128.
name Имя операции (необязательно).
Возвращаемые значения
Кортеж объектов Tensor (row_ptrs, col_inds, values).
row_ptrs A Tensor типа int32.
col_inds A Tensor типа int32.
values A Tensor типа 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.3/api_docs/python/tf/raw_ops/CSRSparseMatrixComponents

Spec-Zone.ru

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