File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
paddle/fluid/inference/analysis Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 19
19
#include " paddle/fluid/inference/api/helper.h"
20
20
#include " paddle/fluid/inference/api/paddle_inference_api.h"
21
21
#include " paddle/fluid/platform/profiler.h"
22
+
22
23
DEFINE_string (infer_model, " " , " model path for LAC" );
23
24
DEFINE_string (infer_data, " " , " data file for LAC" );
24
25
DEFINE_int32 (batch_size, 1 , " batch size." );
25
26
DEFINE_int32 (burning, 0 , " Burning before repeat." );
26
27
DEFINE_int32 (repeat, 1 , " Running the inference program repeat times." );
27
28
DEFINE_bool (test_all_data, false , " Test the all dataset in data file." );
29
+
28
30
namespace paddle {
29
31
namespace inference {
30
32
namespace analysis {
33
+
31
34
struct DataRecord {
32
35
std::vector<int64_t > data;
33
36
std::vector<size_t > lod;
You can’t perform that action at this time.
0 commit comments