TensorRT 10.8.0
|
TensorRT ONNX 解析器 API 命名空间。 更多...
命名空间 | |
namespace | anonymous_namespace{NvOnnxParser.h} |
类 | |
class | IOnnxConfig |
配置管理器类。 更多... | |
class | IParser |
用于将 ONNX 模型解析为 TensorRT 网络定义的对象 更多... | |
class | IParserError |
包含错误信息的对象 更多... | |
class | IParserRefitter |
旨在重新拟合 ONNX 模型权重的接口。 更多... | |
类型定义 | |
using | OnnxParserFlags = uint32_t |
使用二进制 OR 运算表示一个或多个 OnnxParserFlag 值,例如,1U << OnnxParserFlag::kNATIVE_INSTANCENORM。 更多... | |
枚举 | |
enum class | ErrorCode : int { kSUCCESS = 0 , kINTERNAL_ERROR = 1 , kMEM_ALLOC_FAILED = 2 , kMODEL_DESERIALIZE_FAILED = 3 , kINVALID_VALUE = 4 , kINVALID_GRAPH = 5 , kINVALID_NODE = 6 , kUNSUPPORTED_GRAPH = 7 , kUNSUPPORTED_NODE = 8 , kUNSUPPORTED_NODE_ATTR = 9 , kUNSUPPORTED_NODE_INPUT = 10 , kUNSUPPORTED_NODE_DATATYPE = 11 , kUNSUPPORTED_NODE_DYNAMIC = 12 , kUNSUPPORTED_NODE_SHAPE = 13 , kREFIT_FAILED = 14 } |
解析器或重拟合器可能返回的错误类型。 更多... | |
enum class | OnnxParserFlag : int32_t { kNATIVE_INSTANCENORM = 0 } |
函数 | |
IOnnxConfig * | createONNXConfig () |
template<typename T > | |
constexpr int32_t | EnumMax () noexcept |
template<> | |
constexpr int32_t | EnumMax< ErrorCode > () noexcept |
template<> | |
constexpr int32_t | EnumMax< OnnxParserFlag > () noexcept |
TensorRT ONNX 解析器 API 命名空间。
using nvonnxparser::OnnxParserFlags = typedef uint32_t |
使用二进制 OR 运算表示一个或多个 OnnxParserFlag 值,例如,1U << OnnxParserFlag::kNATIVE_INSTANCENORM。
|
strong |
解析器或重拟合器可能返回的错误类型。
|
strong |
IOnnxConfig * nvonnxparser::createONNXConfig | ( | ) |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
ErrorCode 枚举中标志的最大数量。
|
inlineconstexprnoexcept |
OnnxParserFlag 枚举中标志的最大数量。
版权所有 © 2024 NVIDIA Corporation
隐私政策 | 管理我的隐私 | 请勿出售或分享我的数据 | 服务条款 | 辅助功能 | 公司政策 | 产品安全 | 联系方式