提交 9aec9d40 编写于 作者: L lvmingfu

fix code in debugging_in_pynative_mode.ipynb for r0.6

上级 c9f5bd54
......@@ -362,6 +362,7 @@
"outputs": [],
"source": [
"from mindspore import context, Tensor, ParameterTuple\n",
"context.set_context(mode=context.PYNATIVE_MODE, device_target = \"GPU\")\n",
"\n",
"class GradWrap(nn.Cell):\n",
" \"\"\" GradWrap definition \"\"\"\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册