将非量化Graph自动修改为量化后的Graph。详细使用场景请参见量化。
1
|
graphStatus aclgrphCalibration(ge::Graph &graph, const std::map<ge::AscendString, ge::AscendString> &quantizeConfigs) |
参数名 |
输入/输出 |
描述 |
---|---|---|
graph |
输入 |
待修改的用户原始Graph。 |
quantizeConfigs |
输入 |
map表,key为参数类型,value为参数值,均为字符串格式,描述执行接口所需要的配置选项。具体配置参数如下所示:
|
参数名 |
类型 |
描述 |
---|---|---|
- |
graphStatus |
SUCCESS:图修改成功。 其他:修改失败 |