parse a UFF file
- Parameters
-
file | file name of the UFF file |
network | network in which the UFFParser will fill the layers |
weightsType | the type on which the weights will transformed in |
parse a UFF buffer, useful if the file already live in memory
- Parameters
-
buffer | buffer of the UFF file |
size | size of buffer of the UFF file |
network | network in which the UFFParser will fill the layers |
weightsType | the type on which the weights will transformed in |
virtual bool nvuffparser::IUffParser::registerInput |
( |
const char * |
inputName, |
|
|
nvinfer1::DimsCHW |
inputDims, |
|
|
UffInputOrder |
inputOrder = UffInputOrder::kNCHW |
|
) |
| |
|
pure virtual |
register an input name of a UFF network with the associated Dimensions
- Parameters
-
inputName | input name |
inputDims | input Dimensions, always provide your dimensions in CHW even if your network input was in HWC in yout original framework. |
inputOrder | input order on which the framework input was originally |
virtual bool nvuffparser::IUffParser::registerOutput |
( |
const char * |
outputName | ) |
|
|
pure virtual |
register an output name of a UFF network
- Parameters
-
The documentation for this class was generated from the following file: