mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
Fix bug of get input/output information from PaddleBackend (#339)
* Fix bug of get input/output information from PaddleBackend * Support Paddle Inference with TensorRT (#340) * Fix bug
This commit is contained in:
@@ -217,6 +217,11 @@ class RuntimeOption:
|
||||
"""
|
||||
return self._option.disable_trt_fp16()
|
||||
|
||||
def enable_paddle_to_trt(self):
|
||||
"""While using TensorRT backend, enable_paddle_to_trt() will change to use Paddle Inference backend, and use its integrated TensorRT instead.
|
||||
"""
|
||||
return self._option.enable_paddle_to_trt()
|
||||
|
||||
def set_trt_max_workspace_size(self, trt_max_workspace_size):
|
||||
"""Set max workspace size while using TensorRT backend.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user