diff --git a/docs/en/01-how-to-build/cmake_option.md b/docs/en/01-how-to-build/cmake_option.md index 66732f818e..4c1df728ad 100644 --- a/docs/en/01-how-to-build/cmake_option.md +++ b/docs/en/01-how-to-build/cmake_option.md @@ -103,20 +103,20 @@ -DTENSORRT_DIR=${TENSORRT_DIR} -DCUDNN_DIR=${CUDNN_DIR} - 1. ort: ONNXRuntime. ONNXRUNTIME_DIR is needed. + 2. ort: ONNXRuntime. ONNXRUNTIME_DIR is needed.
-DONNXRUNTIME_DIR=${ONNXRUNTIME_DIR}
- 1. pplnn: PPL.NN. pplnn_DIR is needed. + 3. pplnn: PPL.NN. pplnn_DIR is needed.
-Dpplnn_DIR=${PPLNN_DIR}
- 1. ncnn: ncnn. ncnn_DIR is needed. + 4. ncnn: ncnn. ncnn_DIR is needed.
-Dncnn_DIR=${NCNN_DIR}/build/install/lib/cmake/ncnn
- 1. openvino: OpenVINO. InferenceEngine_DIR is needed. + 5. openvino: OpenVINO. InferenceEngine_DIR is needed.
-DInferenceEngine_DIR=${INTEL_OPENVINO_DIR}/deployment_tools/inference_engine/share
- 1. torchscript: TorchScript. Torch_DIR is needed. + 6. torchscript: TorchScript. Torch_DIR is needed.
-DTorch_DIR=${Torch_DIR}
-Currently, The Model Converter supports torchscript, but SDK doesn't.
- 1. snpe: qcom snpe. SNPE_ROOT must existed in the environment variable because of C/S mode.
- 2. coreml: CoreML. Torch_DIR is required. Torch_DIR
- 3. TVM: TVM. TVM_DIR is required.
-DTVM_DIR=${TVM_DIR}
+ 7. snpe: qcom snpe. SNPE_ROOT must existed in the environment variable because of C/S mode.
+ 8. coreml: CoreML. Torch_DIR is required. +
-DTorch_DIR=${Torch_DIR}
+ 9. TVM: TVM. TVM_DIR is required.
-DTVM_DIR=${TVM_DIR}
diff --git a/docs/zh_cn/01-how-to-build/cmake_option.md b/docs/zh_cn/01-how-to-build/cmake_option.md index 81d600e32d..64fc85c4d6 100644 --- a/docs/zh_cn/01-how-to-build/cmake_option.md +++ b/docs/zh_cn/01-how-to-build/cmake_option.md @@ -106,15 +106,15 @@ -DTENSORRT_DIR=$env:TENSORRT_DIR -DCUDNN_DIR=$env:CUDNN_DIR - 1. ort: 表示 ONNXRuntime。需要设置 ONNXRUNTIME_DIR。 + 2. ort: 表示 ONNXRuntime。需要设置 ONNXRUNTIME_DIR
-DONNXRUNTIME_DIR=$env:ONNXRUNTIME_DIR
- 1. pplnn: 表示 PPL.NN。需要设置 pplnn_DIR
- 2. ncnn:表示 ncnn。需要设置 ncnn_DIR
- 3. openvino: 表示 OpenVINO。需要设置 InferenceEngine_DIR
- 4. torchscript: 表示 TorchScript。目前仅模型转换支持 torchscript 格式,SDK 尚未支持。
- 5. snpe: 表示 qcom snpe。需要环境变量设置 SNPE_ROOT。
- 6. coreml: 表示 Core ML。目前在进行模型转换时需要设置 Torch_DIR
- 7. tvm: 表示 TVM。需要设置 TVM_DIR
+ 3. pplnn: 表示 PPL.NN。需要设置 pplnn_DIR
+ 4. ncnn:表示 ncnn。需要设置 ncnn_DIR
+ 5. openvino: 表示 OpenVINO。需要设置 InferenceEngine_DIR
+ 6. torchscript: 表示 TorchScript。需要设置Torch_DIR
+ 7. snpe: 表示 qcom snpe。需要环境变量设置 SNPE_ROOT。
+ 8. coreml: 表示 Core ML。目前在进行模型转换时需要设置 Torch_DIR
+ 9. tvm: 表示 TVM。需要设置 TVM_DIR