Merge pull request !42165 from ZPaC/code_docs
This commit is contained in:
i-robot 2022-09-16 09:34:47 +00:00 committed by Gitee
commit 72aedce9a5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 2 deletions

View File

@ -15,7 +15,6 @@
"""Context for parameter server training mode"""
import os
from mindspore._checkparam import Validator, Rel
from mindspore._c_expression import PSContext
from mindspore import context
from mindspore import log as logger
@ -225,4 +224,3 @@ def _enable_distributed_mindrt():
This method is used to distinguish from old distributed training mode.
'''
return ps_context().enable_distributed_mindrt()