!6135 targrt Davinci to Ascend

Merge pull request !6135 from yao_yf/wide_and_deep_Davinci_to_Ascend
pull/6135/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 411f13bde9

@ -110,7 +110,7 @@ if __name__ == "__main__":
wide_and_deep_config = WideDeepConfig()
wide_and_deep_config.argparse_init()
compute_emb_dim(wide_and_deep_config)
context.set_context(mode=context.GRAPH_MODE, device_target="Davinci",
context.set_context(mode=context.GRAPH_MODE, device_target="Ascend",
save_graphs=True)
init()
context.set_auto_parallel_context(parallel_mode=ParallelMode.DATA_PARALLEL, gradients_mean=True,

Loading…
Cancel
Save