Object used to store and query Tensors after they have been extracted from a Caffe model using the ICaffeParser.
More...
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.
◆ ~IBlobNameToTensor()
virtual nvcaffeparser1::IBlobNameToTensor::~IBlobNameToTensor |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ find()
virtual nvinfer1::ITensor* nvcaffeparser1::IBlobNameToTensor::find |
( |
const char * |
name | ) |
const |
|
pure virtual |
Given a blob name, returns a pointer to a ITensor object.
- Parameters
-
name | Caffe 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.
Implemented in nvcaffeparser1::BlobNameToTensor.
The documentation for this class was generated from the following file: