|
| BertInferenceRunner (const std::string &enginePath, const int maxBatchSize, const int maxSeqLength, const bool enableGraph) |
|
void | prepare (const int batchSize) |
|
py::array_t< float > | run (py::array_t< int > inputIds, py::array_t< int > segmentIds, py::array_t< int > inputMask) |
|
◆ BertInferenceRunner()
BertInferenceRunner::BertInferenceRunner |
( |
const std::string & |
enginePath, |
|
|
const int |
maxBatchSize, |
|
|
const int |
maxSeqLength, |
|
|
const bool |
enableGraph |
|
) |
| |
|
inline |
◆ prepare()
void BertInferenceRunner::prepare |
( |
const int |
batchSize | ) |
|
|
inline |
◆ run()
py::array_t<float> BertInferenceRunner::run |
( |
py::array_t< int > |
inputIds, |
|
|
py::array_t< int > |
segmentIds, |
|
|
py::array_t< int > |
inputMask |
|
) |
| |
|
inline |
◆ bert
The documentation for this struct was generated from the following file: