#include <TensorRTEngine.hpp>
|
void | run () override |
|
void | load () override |
|
ImageOrdering | getPreferredImageOrdering () const override |
|
std::string | getName () const override |
|
std::vector< ModelFormat > | getSupportedModelFormats () const |
|
ModelFormat | getPreferredModelFormat () const |
|
| ~TensorRTEngine () override |
|
void | setMaxBatchSize (int maxBathSize) |
|
int | getMaxBatchSize () const |
|
| TensorRTEngine () |
|
virtual void | setFilename (std::string filename) |
|
virtual void | setModelAndWeights (std::vector< uint8_t > model, std::vector< uint8_t > weights) |
|
virtual std::string | getFilename () const |
|
virtual void | addInputNode (uint portID, std::string name, NodeType type=NodeType::IMAGE, TensorShape shape={}) |
|
virtual void | addOutputNode (uint portID, std::string name, NodeType type=NodeType::IMAGE, TensorShape shape={}) |
|
virtual void | setInputNodeShape (std::string name, TensorShape shape) |
|
virtual void | setOutputNodeShape (std::string name, TensorShape shape) |
|
virtual NetworkNode | getInputNode (std::string name) const |
|
virtual NetworkNode | getOutputNode (std::string name) const |
|
virtual std::unordered_map< std::string, NetworkNode > | getOutputNodes () const |
|
virtual std::unordered_map< std::string, NetworkNode > | getInputNodes () const |
|
virtual void | setInputData (std::string inputNodeName, std::shared_ptr< Tensor > tensor) |
|
virtual std::shared_ptr< Tensor > | getOutputData (std::string inputNodeName) |
|
virtual bool | isLoaded () const |
|
virtual bool | isModelFormatSupported (ModelFormat format) |
|
virtual void | setDeviceType (InferenceDeviceType type) |
|
virtual void | setDevice (int index=-1, InferenceDeviceType type=InferenceDeviceType::ANY) |
|
virtual std::vector< InferenceDeviceInfo > | getDeviceList () |
|
virtual int | getMaxBatchSize () |
|
| Object () |
|
virtual | ~Object () |
|
Reporter & | getReporter () |
|
◆ ~TensorRTEngine()
fast::TensorRTEngine::~TensorRTEngine |
( |
| ) |
|
|
override |
◆ TensorRTEngine()
fast::TensorRTEngine::TensorRTEngine |
( |
| ) |
|
◆ getMaxBatchSize()
int fast::TensorRTEngine::getMaxBatchSize |
( |
| ) |
const |
◆ getName()
std::string fast::TensorRTEngine::getName |
( |
| ) |
const |
|
overridevirtual |
◆ getPreferredImageOrdering()
ImageOrdering fast::TensorRTEngine::getPreferredImageOrdering |
( |
| ) |
const |
|
overridevirtual |
◆ getPreferredModelFormat()
ModelFormat fast::TensorRTEngine::getPreferredModelFormat |
( |
| ) |
const |
|
inlinevirtual |
◆ getSupportedModelFormats()
std::vector<ModelFormat> fast::TensorRTEngine::getSupportedModelFormats |
( |
| ) |
const |
|
inlinevirtual |
◆ load()
void fast::TensorRTEngine::load |
( |
| ) |
|
|
overridevirtual |
◆ run()
void fast::TensorRTEngine::run |
( |
| ) |
|
|
overridevirtual |
◆ setMaxBatchSize()
void fast::TensorRTEngine::setMaxBatchSize |
( |
int |
maxBathSize | ) |
|
|
virtual |
The documentation for this class was generated from the following file: