OnnxParamParse 类
Provides utilities for parsing ONNX model parameter strings.
提供解析ONNX模型参数字串的工具方法
命名空间: DeploySharp.Common程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public static class OnnxParamParse
- Inheritance
- Object OnnxParamParse
This class specializes in parsing label mapping strings commonly found in ONNX model exports.
此类专门解析ONNX模型导出中常见的标签映射字符串。
ParseLabelString |
Parses a label mapping string into dictionary of index-label pairs.
将标签映射字符串解析为索引-标签的字典
|
PairRegex |
Regular expression for matching key-value pairs formatted as `2: 'storage tank'`
用于匹配类似`2: 'storage tank'`键值对的正则表达式
|