基础功能
参数名
描述
graph_run_mode
图执行模式,取值:
0:在线推理场景下,请配置为0。
1:训练场景下,请配置为1,默认为1。
配置示例:
npu.global_options().graph_run_mode=1
父主题:
npu.global_options