From 3059bf54625a60b6df91775d4a06c0bde95b52f1 Mon Sep 17 00:00:00 2001 From: jiweibo Date: Tue, 22 Sep 2020 11:51:05 +0000 Subject: [PATCH] fix. test=develop. test=document_fix --- .../inference_deployment/inference/native_infer.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/paddle/advanced_guide/inference_deployment/inference/native_infer.md b/doc/paddle/advanced_guide/inference_deployment/inference/native_infer.md index 449ce0881..49ef48ce5 100644 --- a/doc/paddle/advanced_guide/inference_deployment/inference/native_infer.md +++ b/doc/paddle/advanced_guide/inference_deployment/inference/native_infer.md @@ -358,7 +358,7 @@ using PlaceType = paddle::PaddlePlace; PlaceType为目标设备硬件类型,用户可以根据应用场景选择硬件平台类型。 -枚举行变量`PlaceType`的所有可能取值包括: +枚举变量`PlaceType`的所有可能取值包括: `{kUNK, kCPU, kGPU}` @@ -371,7 +371,7 @@ using PrecisionType = paddle::AnalysisConfig::Precision; `PrecisionType`设置模型的运行精度,默认值为kFloat32(float32)。 -枚举型变量`PrecisionType`的所有可能取值包括: +枚举变量`PrecisionType`的所有可能取值包括: `{kFloat32, kInt8, kHalf}` @@ -384,7 +384,7 @@ using DataType = paddle::PaddleDType; `DataType`为模型中Tensor的数据精度,默认值为FLOAT32(float32)。 -枚举行变量`DataType`的所有可能取值包括: +枚举变量`DataType`的所有可能取值包括: `{FLOAT32, INT64, INT32, UINT8}` -- GitLab