!31707 CSR add note

Merge pull request !31707 from huangmengxi/code_docs_csr
This commit is contained in:
i-robot 2022-03-22 11:42:27 +00:00 committed by Gitee
commit a5dbbb4bb5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ mindspore.CSRTensor
.. note::
这是一个实验特性在未来可能会发生API的变化。
如果values或indices的长度超出了indptr所指定的取值范围超出部分的行为将没有定义。
**参数:**

View File

@ -2627,6 +2627,7 @@ class CSRTensor(CSRTensor_):
Note:
This is an experimental feature and is subjected to change.
If the length of values or indices exceeds the range indicated by indptr, its behavior will be undefined.
Args:
indptr (Tensor): 1-D Tensor of size `shape[0] + 1`, which indicates the