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