Commit Graph

2 Commits

Author SHA1 Message Date
Jason
969531dcc8 Optimize TensorRT backend to support rebuild engine (#189)
* optimize tensorrt usage

* format code

* fix input shape error for onnx model

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
2022-09-06 10:53:05 +08:00
Jack Zhou
d792af059a Add text examples (#69)
* Add text init file

* Fix some cmake

* Add TextModel, TextResult, PredictionOption

* Add text preprocessor, postprocessor, pipeline of text model prediction

* remove Text prefix

* Add faster_tokenizer deps

* Add ernie IE examples

* Add eigen computation

* eigen.h->compute.h

* Add python ernie examples

* Fix some comments
2022-08-05 15:24:02 +08:00