TensorRT  7.0.0.11
nvcaffeparser1::IBlobNameToTensor Class Referenceabstract

Object used to store and query Tensors after they have been extracted from a Caffe model using the ICaffeParser. More...

#include <NvCaffeParser.h>

Public Member Functions

virtual nvinfer1::ITensorfind (const char *name) const =0
 Given a blob name, returns a pointer to a ITensor object. More...
 

Detailed Description

Object used to store and query Tensors after they have been extracted from a Caffe model using the ICaffeParser.

Note
The lifetime of IBlobNameToTensor is the same as the lifetime of its parent ICaffeParser.
See also
nvcaffeparser1::ICaffeParser
Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.

Member Function Documentation

virtual nvinfer1::ITensor* nvcaffeparser1::IBlobNameToTensor::find ( const char *  name) const
pure virtual

Given a blob name, returns a pointer to a ITensor object.

Parameters
nameCaffe blob name for which the user wants the corresponding ITensor.
Returns
ITensor* corresponding to the queried name. If no such ITensor exists, then nullptr is returned.

The documentation for this class was generated from the following file: