|
|
@ -17,5 +17,7 @@ import mindspore.context as context
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup_module(module):
|
|
|
|
def setup_module(module):
|
|
|
|
|
|
|
|
# 禁用pylint对未使用参数的警告
|
|
|
|
# pylint: disable=unused-argument
|
|
|
|
# pylint: disable=unused-argument
|
|
|
|
|
|
|
|
# 设置上下文模式为图模式
|
|
|
|
context.set_context(mode=context.GRAPH_MODE)
|
|
|
|
context.set_context(mode=context.GRAPH_MODE)
|
|
|
|