modify format and api_updates urls

This commit is contained in:
huodagu 2023-02-14 11:38:42 +08:00
parent 5b6ffcf7ce
commit 9fda62ec1b
9 changed files with 13 additions and 9 deletions

View File

@ -5,7 +5,7 @@ mindspore.nn
用于构建神经网络中的预定义构建块或计算单元。
MindSpore中 `mindspore.nn` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `API Updates <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/ops_api_updates.md>`_
MindSpore中 `mindspore.nn` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `mindspore.nn API接口变更 <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/nn_api_updates_cn.md>`_
基本构成单元
------------

View File

@ -7,7 +7,7 @@ mindspore.ops.primitive
import mindspore.ops as ops
MindSpore中 `mindspore.ops.primitive` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `API Updates <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/ops_api_updates.md>`_
MindSpore中 `mindspore.ops.primitive` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `mindspore.ops.primitive API接口变更 <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/ops_api_updates_cn.md>`_
算子原语
----------

View File

@ -1,6 +1,8 @@
mindspore.ops
=============================
MindSpore中 `mindspore.ops` 接口与上一版本相比,新增、删除和支持平台的变化信息请参考 `mindspore.ops API接口变更 <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/func_api_updates_cn.md>`_
神经网络层函数
----------------

View File

@ -270,8 +270,8 @@ ReWrite完整示例请参考
创建ScopedValue的列表。
参数:
- **names** (list[str] or tuple[str]) 引用变量的名称类型为str的列表或元组。
- **scopes** (list[str] or tuple[str]) 引用变量的范围类型为str的列表或元组。表示没有指定作用范围。默认值None。
- **names** (list[str] or tuple[str]) - 引用变量的名称类型为str的列表或元组。
- **scopes** (list[str] or tuple[str]) - 引用变量的范围类型为str的列表或元组。表示没有指定作用范围。默认值None。
返回:
ScopedValue的实例列表。

View File

@ -2,7 +2,7 @@ mindspore.ops.mv
=================
.. py:function:: mindspore.ops.mv(mat, vec)
实现矩阵 `mat` 和向量 `vec` 相乘。
如果 `mat` 是shape为 :math:`(N, M)` 的Tensor `vec` 是长度为 :math:`M` 的一维Tensor则输出是长度为 :math:`N` 的一维Tensor。

View File

@ -5,7 +5,7 @@ Neural Network Cell
For building predefined building blocks or computational units in neural networks.
Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.nn` operators in MindSpore, please refer to the link `API Updates <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/nn_api_updates.md>`_ .
Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.nn` operators in MindSpore, please refer to the link `mindspore.nn API Interface Change <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/nn_api_updates_en.md>`_ .
Basic Block
-----------

View File

@ -7,7 +7,7 @@ operators that can be used for constructor function of Cell
import mindspore.ops as ops
Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.ops.primitive` operators in MindSpore, please refer to the link `API Updates <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/ops_api_updates.md>`_ .
Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.ops.primitive` operators in MindSpore, please refer to the link `mindspore.ops.primitive API Interface Change <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/ops_api_updates_en.md>`_ .
Operator Primitives
-------------------

View File

@ -1,6 +1,8 @@
mindspore.ops
==============
Compared with the previous version, the added, deleted and supported platforms change information of `mindspore.ops` operators in MindSpore, please refer to the link `mindspore.ops API Interface Change <https://gitee.com/mindspore/docs/blob/master/resource/api_updates/func_api_updates_en.md>`_.
Neural Network Layer Functions
------------------------------

View File

@ -5330,8 +5330,8 @@ def gcd(x1, x2):
one of: int32, int64
Args:
- **x1** (Tensor) - The first input tensor.
- **x2** (Tensor) - The second input tensor.
x1 (Tensor): The first input tensor.
x2 (Tensor): The second input tensor.
Returns:
Tensor, the shape is the same as the one after broadcasting, and the data type is one