看了官网教程,除了context.set_context(save_graphs=True)之外,不知道如何进行MindSpore的MindIR推理,希望大佬指教一下~
解答:
导出的MindIR可以在Ascend 310 直接推理,也可以使用MindSpore Serving服务进行推理。
具体可参考:
https://www.mindspore.cn/tutorial/inference/zh-CN/r1.1/multi_platform_inference_ascend_310_mindir.html#
https://www.mindspore.cn/tutorial/inference/zh-CN/r1.1/serving_example.html