提交 2795c1e3 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!152 Add description to sample code

Merge pull request !152 from TingWang/add-description
......@@ -223,7 +223,7 @@ class CusSquare(PrimitiveWithInfer):
return bprop
```
`test_square.py`文件中定义反向用例。
`test_square.py`文件中定义反向用例。其中,`grad_with_sens``GradOperation`类的实例化对象。
```python
from mindspore.ops import composite as C
def test_grad_net():
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册