为实现onnx插件和protobu的解耦
为实现onnx插件和protobuf的解耦, 需要将仓中涉及到onnx插件的算子的参数解析接口迁移至新接口 (1)无属性或仅默认属性的算子,直接切换新注册接口 (2)对MM下的算子的 ge::Operator 的 attribute JSON 中解析ONNX属性 (3)保留旧逻辑中的默认值行为 (4)对缺失或者非数组形式的attribute JSON增加保护,避免无属性场景误返回FAILED
实现onnx插件和protobug的解耦
为实现onnx插件和protobug的解耦
为实现onnx插件和protobu的解耦
Backgroud(背景信息)
为实现onnx插件和protobuf的解耦, 需要将仓中涉及到onnx插件的算子的参数解析接口迁移至新接口
(1)无属性或仅默认属性的算子,直接切换新注册接口
(2)对MM下的算子的 ge::Operator 的 attribute JSON 中解析ONNX属性
(3)保留旧逻辑中的默认值行为
(4)对缺失或者非数组形式的attribute JSON增加保护,避免无属性场景误返回FAILED
Origin(信息来源)
实现onnx插件和protobug的解耦
Benefit / Necessity (价值/作用)
实现onnx插件和protobug的解耦
Design(设计方案)
为实现onnx插件和protobug的解耦