diff --git a/docs/api/api_python/mindspore.parallel.nn.rst b/docs/api/api_python/mindspore.parallel.nn.rst deleted file mode 100644 index 78fe2183b0c..00000000000 --- a/docs/api/api_python/mindspore.parallel.nn.rst +++ /dev/null @@ -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 diff --git a/docs/api/api_python_en/mindspore.parallel.nn.rst b/docs/api/api_python_en/mindspore.parallel.nn.rst deleted file mode 100644 index 29685edfcb9..00000000000 --- a/docs/api/api_python_en/mindspore.parallel.nn.rst +++ /dev/null @@ -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