File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
paddle/fluid/inference/analysis Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,12 @@ function (inference_analysis_test TARGET)
35
35
cc_test (${TARGET}
36
36
SRCS "${analysis_test_SRCS} "
37
37
DEPS analysis pass ${GLOB_PASS_LIB} ${analysis_test_EXTRA_DEPS}
38
- ARGS ${mem_opt} ${analysis_test_ARGS} )
38
+ ARGS --inference_model_dir=${PYTHON_TESTS_DIR}/book/word2vec.inference.model ${mem_opt} ${analysis_test_ARGS} )
39
39
set_tests_properties (${TARGET} PROPERTIES DEPENDS test_word2vec )
40
40
endif (WITH_TESTING )
41
41
endfunction (inference_analysis_test )
42
42
43
- inference_analysis_test (test_analyzer SRCS analyzer_tester.cc
44
- EXTRA_DEPS paddle_inference_api paddle_fluid_api ir_pass_manager analysis_predictor
45
- ARGS --inference_model_dir=${PYTHON_TESTS_DIR}/book/word2vec.inference.model )
46
-
43
+ inference_analysis_test (test_analyzer SRCS analyzer_tester.cc EXTRA_DEPS paddle_inference_api )
47
44
inference_analysis_test (test_data_flow_graph SRCS data_flow_graph_tester.cc )
48
45
inference_analysis_test (test_data_flow_graph_to_fluid_pass SRCS data_flow_graph_to_fluid_pass_tester.cc )
49
46
inference_analysis_test (test_fluid_to_ir_pass SRCS fluid_to_ir_pass_tester.cc )
You can’t perform that action at this time.
0 commit comments