mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
Add paddlelite backend support (#260)
* Add paddlelite backend support * Update CMakeLists.txt * Update __init__.py
This commit is contained in:
@@ -17,7 +17,7 @@ import os
|
||||
import sys
|
||||
|
||||
from .c_lib_wrap import (Frontend, Backend, FDDataType, TensorInfo, Device,
|
||||
FDLogger, is_built_with_gpu, is_built_with_ort,
|
||||
is_built_with_gpu, is_built_with_ort,
|
||||
is_built_with_paddle, is_built_with_trt,
|
||||
get_default_cuda_directory)
|
||||
from .runtime import Runtime, RuntimeOption
|
||||
|
@@ -79,6 +79,9 @@ class RuntimeOption:
|
||||
def use_openvino_backend(self):
|
||||
return self._option.use_openvino_backend()
|
||||
|
||||
def use_lite_backend(self):
|
||||
return self._option.use_lite_backend()
|
||||
|
||||
def enable_paddle_mkldnn(self):
|
||||
return self._option.enable_paddle_mkldnn()
|
||||
|
||||
|
Reference in New Issue
Block a user