public class nvonnxparser extends nvonnxparser
| Modifier and Type | Class and Description |
|---|---|
static class |
nvonnxparser.ErrorCode
\enum ErrorCode
\brief The type of error that the parser or refitter may return
|
static class |
nvonnxparser.OnnxParserFlag
\brief Represents one or more OnnxParserFlag values using binary OR
operations, e.g., 1U << OnnxParserFlag::kNATIVE_INSTANCENORM
|
| Modifier and Type | Field and Description |
|---|---|
static int |
NV_ONNX_PARSER_MAJOR
\file NvOnnxParser.h
This is the API for the ONNX Parser
|
static int |
NV_ONNX_PARSER_MINOR |
static int |
NV_ONNX_PARSER_PATCH |
static int |
NV_ONNX_PARSER_VERSION |
| Constructor and Description |
|---|
nvonnxparser() |
| Modifier and Type | Method and Description |
|---|---|
static Pointer |
createNvOnnxParser_INTERNAL(Pointer network,
Pointer logger,
int version)
Maximum number of flags in the OnnxParserFlag enum.
|
static Pointer |
createNvOnnxParserRefitter_INTERNAL(Pointer refitter,
Pointer logger,
int version) |
static IParser |
createParser(INetworkDefinition network,
ILogger logger)
\brief Create a new parser object
|
static IParserRefitter |
createParserRefitter(IRefitter refitter,
ILogger logger)
\brief Create a new ONNX refitter object
|
static int |
getNvOnnxParserVersion() |
static int |
NV_ONNX_PARSER_VERSION() |
mappublic static final int NV_ONNX_PARSER_MAJOR
public static final int NV_ONNX_PARSER_MINOR
public static final int NV_ONNX_PARSER_PATCH
public static final int NV_ONNX_PARSER_VERSION
@MemberGetter public static int NV_ONNX_PARSER_VERSION()
@NoException(value=true) public static Pointer createNvOnnxParser_INTERNAL(Pointer network, Pointer logger, int version)
nvonnxparser.OnnxParserFlag@NoException(value=true) public static Pointer createNvOnnxParserRefitter_INTERNAL(Pointer refitter, Pointer logger, int version)
@NoException(value=true) public static int getNvOnnxParserVersion()
@Namespace(value="nvonnxparser") @NoException(value=true) public static IParser createParser(@ByRef INetworkDefinition network, @ByRef ILogger logger)
network - The network definition that the parser will write tologger - The logger to useIParser@Namespace(value="nvonnxparser") @NoException(value=true) public static IParserRefitter createParserRefitter(@ByRef IRefitter refitter, @ByRef ILogger logger)
refitter - The Refitter object used to refit the modellogger - The logger to useIParserRefitterCopyright © 2025. All rights reserved.