Skip to content

Commit 5a13c29

Browse files
committed
fix comments
1 parent 28482e0 commit 5a13c29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/cpp/src/test_seg.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
DEFINE_string(model_dir, "", "Directory of the inference model. "
1717
"It constains deploy.yaml and infer models");
1818
DEFINE_string(img_path, "", "Path of the test image.");
19-
DECLARE_string(devices); // 'devices' was already defined in paddle/fluid/inference/io.cc
19+
DECLARE_string(devices); // 'devices' was already defined in paddle/fluid/inference/io.cc: "(devices, "", "The devices to be used which is joined by comma.");"
2020
DEFINE_bool(use_trt, false, "Wether enable TensorRT when use GPU. Defualt: false.");
2121
DEFINE_string(trt_precision, "fp32", "The precision of TensorRT, support fp32, fp16 and int8. Default: fp32");
2222
DEFINE_bool(use_trt_dynamic_shape, false, "Wether enable dynamic shape when use GPU and TensorRT. Defualt: false.");
2323
DEFINE_string(dynamic_shape_path, "", "If set dynamic_shape_path, it read the dynamic shape for TRT.");
24-
DECLARE_bool(use_mkldnn); // 'use_mkldnn' was already defined in paddle/phi/core/flags.cc
24+
DECLARE_bool(use_mkldnn); // 'use_mkldnn' was already defined in paddle/phi/core/flags.cc: "(use_mkldnn, false, "Use MKLDNN to run");"
2525
DEFINE_string(save_dir, "", "Directory of the output image.");
2626

2727
typedef struct YamlConfig {

0 commit comments

Comments
 (0)