!42196 modify format

Merge pull request !42196 from 俞涵/code_docs_0819
This commit is contained in:
i-robot 2022-09-16 10:56:52 +00:00 committed by Gitee
commit 6f73e3b8f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 0 additions and 26 deletions

View File

@ -1,14 +0,0 @@
mindspore.parallel.nn
======================
Transformer接口的导入方式由 `mindspore.parallel.nn` 修改为 `mindspore.nn.transformer` ,这些接口的使用方式不变。
原始的导入方式将保留1-2个版本。你可以通过以下样例查看差异
::
# r1.5
from mindspore.parallel.nn import Transformer
# Current
from mindspore.nn.transformer import Transformer

View File

@ -1,12 +0,0 @@
mindspore.parallel.nn
======================
The import path of Transformer APIs have been modified from `mindspore.parallel.nn` to `mindspore.nn.transformer`, while the usage of these APIs stay unchanged. The original import path will retain one or two versions. You can view the changes using the examples described below
::
# r1.5
from mindspore.parallel.nn import Transformer
# Current
from mindspore.nn.transformer import Transformer