Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

OnnxParamParse 类

Provides utilities for parsing ONNX model parameter strings. 提供解析ONNX模型参数字串的工具方法

Definition

命名空间: DeploySharp.Common
程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
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'`键值对的正则表达式

参见