forked from mindspore-Ecosystem/mindspore
commit
6f73e3b8f0
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue