Spec-Zone.ru › TensorFlow

tf.raw_ops.SparseMatrixZeros

Создает CSRSparseMatrix, заполненную нулями, с формой dense_shape.

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

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

Подробнее см. в руководстве по миграции.

tf.compat.v1.raw_ops.SparseMatrixZeros

tf.raw_ops.SparseMatrixZeros(
    dense_shape, type, name=None
)
Аргументы
dense_shape Tensor типа int64. Требуемая форма матрицы.
type tf.DType из: tf.float32, tf.float64, tf.complex64, tf.complex128.
name Имя операции (необязательно).
Возвращает
Tensor типа 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/SparseMatrixZeros

Spec-Zone.ru

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