torch_npu.npu.set_dump(path_to_json)
传入配置文件来配置dump参数。
path_to_json:配置文件路径,用户自行配置。
>>>torch_npu.npu.set_dump("/home/HwHiAiUser/dump.json")