50 #ifndef NV_UFF_PARSER_H
51 #define NV_UFF_PARSER_H
56 #define UFF_REQUIRED_VERSION_MAJOR 0
57 #define UFF_REQUIRED_VERSION_MINOR 2
58 #define UFF_REQUIRED_VERSION_PATCH 0
69 enum class UffInputOrder : int
87 UffInputOrder inputOrder = UffInputOrder::kNCHW) = 0;
93 virtual bool registerOutput(
const char* outputName) = 0;
101 virtual bool parse(
const char* file,
112 virtual bool parseBuffer(
const char* buffer, std::size_t size,
116 virtual void destroy() = 0;
120 virtual int getUffRequiredVersionMajor() = 0;
124 virtual int getUffRequiredVersionMinor() = 0;
128 virtual int getUffRequiredVersionPatch() = 0;
137 void shutdownProtobufLibrary(
void);
DataType
the type of weights and tensors.
Definition: NvInfer.h:108
Definition: NvUffParser.h:76
descriptor for data with one channel dimension and two spatial dimensions
Definition: NvInfer.h:212
a network definition for input to the builder
Definition: NvInfer.h:2027