|
TensorRT
7.2.1.6
NVIDIA TensorRT
|
Looking for a C++ dev who knows TensorRT? I'm looking for work. Hire me!
|
|
The TensorRT Caffe parser API namespace.
More...
|
ICaffeParser * | createCaffeParser () |
| Creates a ICaffeParser object. More...
|
|
void | shutdownProtobufLibrary () |
| Shuts down protocol buffers library. More...
|
|
bool | checkBlobs (const trtcaffe::LayerParameter &msg, int bottoms, int tops) |
|
nvinfer1::ILayer * | parseAbsVal (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseBatchNormalization (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseBNLL (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseClip (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseConcat (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseConvolution (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseCrop (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseDeconvolution (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseEltwise (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseELU (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseInnerProduct (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseLRN (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parsePermute (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parsePooling (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parsePower (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parsePReLU (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseReduction (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseReLU (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseReshape (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseScale (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseSigmoid (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseSoftMax (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
nvinfer1::ILayer * | parseTanH (nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors) |
|
template<typename T > |
bool | bnConvertWrap (float scaleFactor, const Weights &variance, const Weights &mean, const Weights &scaleBlob, const Weights &biasBlob, Weights &shift, Weights &scale, float eps, bool nvCaffe, CaffeWeightFactory &weightFactory) |
|
bool | readBinaryProto (trtcaffe::NetParameter *net, const char *file, size_t bufSize) |
|
bool | readTextProto (trtcaffe::NetParameter *net, const char *file) |
|
The TensorRT Caffe parser API namespace.
◆ LayerParseFn
◆ WeightType
Enumerator |
---|
kGENERIC | |
kBIAS | |
kMEAN | |
kVARIANCE | |
kMOVING_AVERAGE | |
kNVMEAN | |
kNVVARIANCE | |
kNVSCALE | |
kNVBIAS | |
◆ createCaffeParser()
◆ shutdownProtobufLibrary()
void nvcaffeparser1::shutdownProtobufLibrary |
( |
| ) |
|
Shuts down protocol buffers library.
- Note
- No part of the protocol buffers library can be used after this function is called.
◆ checkBlobs()
bool nvcaffeparser1::checkBlobs |
( |
const trtcaffe::LayerParameter & |
msg, |
|
|
int |
bottoms, |
|
|
int |
tops |
|
) |
| |
|
inline |
◆ parseAbsVal()
◆ parseBatchNormalization()
◆ parseBNLL()
◆ parseClip()
◆ parseConcat()
◆ parseConvolution()
◆ parseCrop()
◆ parseDeconvolution()
◆ parseEltwise()
◆ parseELU()
◆ parseInnerProduct()
◆ parseLRN()
◆ parsePermute()
◆ parsePooling()
◆ parsePower()
◆ parsePReLU()
◆ parseReduction()
◆ parseReLU()
◆ parseReshape()
◆ parseScale()
◆ parseSigmoid()
◆ parseSoftMax()
◆ parseTanH()
◆ bnConvertWrap()
◆ readBinaryProto()
bool nvcaffeparser1::readBinaryProto |
( |
trtcaffe::NetParameter * |
net, |
|
|
const char * |
file, |
|
|
size_t |
bufSize |
|
) |
| |
◆ readTextProto()
bool nvcaffeparser1::readTextProto |
( |
trtcaffe::NetParameter * |
net, |
|
|
const char * |
file |
|
) |
| |
◆ gParseTable
std::unordered_map<std::string, LayerParseFn> nvcaffeparser1::gParseTable |
|
static |
nvinfer1::ILayer * parseELU(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseELU.cpp:23
nvinfer1::ILayer * parseLRN(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseLRN.cpp:23
nvinfer1::ILayer * parseReshape(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseReshape.cpp:23
nvinfer1::ILayer * parseEltwise(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseEltwise.cpp:23
nvinfer1::ILayer * parsePReLU(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parsePReLU.cpp:23
nvinfer1::ILayer * parseSoftMax(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseSoftMax.cpp:23
nvinfer1::ILayer * parseDeconvolution(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseDeconv.cpp:23
nvinfer1::ILayer * parseConvolution(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseConv.cpp:23
nvinfer1::ILayer * parseInnerProduct(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseInnerProduct.cpp:23
nvinfer1::ILayer * parseClip(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseClip.cpp:23
nvinfer1::ILayer * parseTanH(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseTanH.cpp:23
nvinfer1::ILayer * parseAbsVal(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseAbsVal.cpp:23
nvinfer1::ILayer * parseBNLL(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseBNLL.cpp:23
nvinfer1::ILayer * parsePooling(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parsePooling.cpp:23
nvinfer1::ILayer * parsePower(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parsePower.cpp:23
nvinfer1::ILayer * parseSigmoid(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseSigmoid.cpp:23
nvinfer1::ILayer * parsePermute(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parsePermute.cpp:23
nvinfer1::ILayer * parseConcat(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseConcat.cpp:23
nvinfer1::ILayer * parseCrop(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseCrop.cpp:23
nvinfer1::ILayer * parseReLU(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &, BlobNameToTensor &tensors)
Definition: parseReLU.cpp:23
nvinfer1::ILayer * parseReduction(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseReduction.cpp:23
nvinfer1::ILayer * parseScale(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseScale.cpp:23
nvinfer1::ILayer * parseBatchNormalization(nvinfer1::INetworkDefinition &network, const trtcaffe::LayerParameter &msg, CaffeWeightFactory &weightFactory, BlobNameToTensor &tensors)
Definition: parseBatchNorm.cpp:80