FastDeploy
latest
Fast & Easy to Deploy!
|
Option object to configure Paddle Lite backend. More...
#include <option.h>
Public Attributes | |
int | power_mode = 3 |
Paddle Lite power mode for mobile device. | |
bool | enable_fp16 = false |
Enable use half precision. | |
int | kunlunxin_l3_workspace_size = 0xfffc00 |
kunlunxin_l3_workspace_size | |
bool | kunlunxin_locked = false |
kunlunxin_locked | |
bool | kunlunxin_autotune = true |
kunlunxin_autotune | |
std::string | kunlunxin_autotune_file = "" |
kunlunxin_autotune_file | |
std::string | kunlunxin_precision = "int16" |
kunlunxin_precision | |
bool | kunlunxin_adaptive_seqlen = false |
kunlunxin_adaptive_seqlen | |
bool | kunlunxin_enable_multi_stream = false |
kunlunxin_enable_multi_stream | |
std::string | optimized_model_dir = "" |
Optimized model dir for CxxConfig. | |
std::string | nnadapter_subgraph_partition_config_path = "" |
nnadapter_subgraph_partition_config_path | |
std::string | nnadapter_subgraph_partition_config_buffer = "" |
nnadapter_subgraph_partition_config_buffer | |
std::string | nnadapter_context_properties = "" |
nnadapter_context_properties | |
std::string | nnadapter_model_cache_dir = "" |
nnadapter_model_cache_dir | |
std::string | nnadapter_mixed_precision_quantization_config_path = "" |
nnadapter_mixed_precision_quantization_config_path | |
std::map< std::string, std::vector< std::vector< int64_t > > > | nnadapter_dynamic_shape_info = {{"", {{0}}}} |
nnadapter_dynamic_shape_info | |
std::vector< std::string > | nnadapter_device_names = {} |
nnadapter_device_names | |
Option object to configure Paddle Lite backend.