!16571 Enable Graph Kernel for EfficientNet on GPU

From: @lishanni513
Reviewed-by: @gaoxiong1,@ckey_dou,@dylangeng
Signed-off-by: @ckey_dou,@dylangeng
This commit is contained in:
mindspore-ci-bot 2021-05-19 16:19:45 +08:00 committed by Gitee
commit 0b04e906f5
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ def main():
amp_level=cfg.amp_level
)
if args.GPU:
context.set_context(enable_graph_kernel=True)
# callbacks = callbacks if is_master else []
if args.resume: