[Example] Update runtime examples (#1542)

* Add notes for tensors

* Optimize some apis

* move some warnings
This commit is contained in:
Jason
2023-03-08 16:56:04 +08:00
committed by GitHub
parent 3d31834193
commit 6be2c0367b
17 changed files with 425 additions and 277 deletions

View File

@@ -54,6 +54,8 @@ struct PaddleBackendOption {
bool enable_mkldnn = true;
/// Use Paddle Inference + TensorRT to inference model on GPU
bool enable_trt = false;
/// Whether enable memory optimize, default true
bool enable_memory_optimize = true;
/*
* @brief IPU option, this will configure the IPU hardware, if inference model in IPU