fix static

This commit is contained in:
ZPaC 2022-09-16 14:35:33 +08:00
parent c0f53ab8b4
commit 2246323f14
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()