Spec-Zone.ru › TensorFlow

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 Tensor типа variant. Пакетная разреженная матрица CSR.
index 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 Tensor типа int32.
col_inds Tensor типа int32.
values Tensor типа 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/CSRSparseMatrixComponents

Spec-Zone.ru

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