rename sparse to coo

This commit is contained in:
yanglf1121 2022-12-08 10:04:46 +08:00
parent e7a1806613
commit 2d39a17347
4 changed files with 8 additions and 6 deletions

View File

@ -603,7 +603,8 @@ COO函数
mindspore.ops.coo_sigmoid
mindspore.ops.coo_abs
mindspore.ops.coo_sin
mindspore.ops.sparse_add
mindspore.ops.coo_add
mindspore.ops.coo_concat
CSR函数
^^^^^^^^^^^^^^^^

View File

@ -1,7 +1,7 @@
mindspore.ops.sparse_add
mindspore.ops.coo_add
================================
.. py:function:: mindspore.ops.sparse_add(x1: COOTensor, x2: COOTensor, thresh: Tensor)
.. py:function:: mindspore.ops.coo_add(x1: COOTensor, x2: COOTensor, thresh: Tensor)
两个COOTensor相加根据相加的结果与 `thresh` 返回新的COOTensor。

View File

@ -1,7 +1,7 @@
mindspore.ops.sparse_concat
mindspore.ops.coo_concat
===========================
.. py:function:: mindspore.ops.sparse_concat(sp_input, concat_dim)
.. py:function:: mindspore.ops.coo_concat(sp_input, concat_dim)
根据指定的轴concat_dim对输入的COO Tensorsp_input进行合并操作。

View File

@ -603,7 +603,8 @@ COO Functions
mindspore.ops.coo_sigmoid
mindspore.ops.coo_abs
mindspore.ops.coo_sin
mindspore.ops.sparse_add
mindspore.ops.coo_add
mindspore.ops.coo_concat
CSR Functions
^^^^^^^^^^^^^