Spec-Zone.ru › TensorFlow 2.4

tf.raw_ops.SparseMatrixZeros

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

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

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

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

tf.compat.v1.raw_ops.SparseMatrixZeros

tf.raw_ops.SparseMatrixZeros(
    dense_shape, type, name=None
)
Аргументы
dense_shape A Tensor типа int64. Желаемая форма матрицы.
type tf.DType из: tf.float32, tf.float64, tf.complex64, tf.complex128.
name Имя операции (необязательно).
Возвращает
A Tensor типа variant.

© 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.4/api_docs/python/tf/raw_ops/SparseMatrixZeros

Spec-Zone.ru

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