TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nmtSample::Projection Class Referenceabstract

calculates raw logits More...

Inheritance diagram for nmtSample::Projection:
Collaboration diagram for nmtSample::Projection:

Public Types

typedef std::shared_ptr< Projectionptr
 

Public Member Functions

 Projection ()=default
 
virtual void addToModel (nvinfer1::INetworkDefinition *network, nvinfer1::ITensor *input, nvinfer1::ITensor **outputLogits)=0
 add raw logits to the network More...
 
virtual int getOutputSize ()=0
 get the size of raw logits vector More...
 
 ~Projection () override=default
 
virtual std::string getInfo ()=0
 get the textual description of the component More...
 

Detailed Description

calculates raw logits

Member Typedef Documentation

◆ ptr

typedef std::shared_ptr<Projection> nmtSample::Projection::ptr

Constructor & Destructor Documentation

◆ Projection()

nmtSample::Projection::Projection ( )
default

◆ ~Projection()

nmtSample::Projection::~Projection ( )
overridedefault

Member Function Documentation

◆ addToModel()

virtual void nmtSample::Projection::addToModel ( nvinfer1::INetworkDefinition network,
nvinfer1::ITensor input,
nvinfer1::ITensor **  outputLogits 
)
pure virtual

add raw logits to the network

Implemented in nmtSample::SLPProjection.

◆ getOutputSize()

virtual int nmtSample::Projection::getOutputSize ( )
pure virtual

get the size of raw logits vector

Implemented in nmtSample::SLPProjection.

◆ getInfo()


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