CMakeLists.txt 1.6 KB
Newer Older
Y
yuyang18 已提交
1
cc_library(node SRCS node.cc DEPS proto_desc)
D
Dang 已提交
2
cc_library(graph SRCS graph.cc DEPS node)
X
better  
Xin Pan 已提交
3
cc_library(graph_helper SRCS graph_helper.cc DEPS graph)
X
Xin Pan 已提交
4
cc_library(pass SRCS pass.cc DEPS graph node graph_helper)
X
Xin Pan 已提交
5
cc_library(graph_viz_pass SRCS graph_viz_pass.cc DEPS graph pass graph_helper)
X
Xin Pan 已提交
6
cc_library(graph_to_program_pass SRCS graph_to_program_pass.cc DEPS graph pass graph_helper)
7
cc_library(graph_traits SRCS graph_traits.cc DEPS graph)
8 9 10
cc_library(graph_pattern_detector SRCS graph_pattern_detector.cc DEPS graph graph_helper graph_traits)
cc_library(fc_fuse_pass SRCS fc_fuse_pass.cc DEPS graph graph_pattern_detector)
cc_library(attention_lstm_fuse_pass SRCS attention_lstm_fuse_pass.cc DEPS graph graph_pattern_detector)
11
cc_library(infer_clean_graph_pass SRCS infer_clean_graph_pass.cc DEPS graph pass)
12 13
cc_library(fc_lstm_fuse_pass SRCS fc_lstm_fuse_pass.cc DEPS graph graph_pattern_detector)
cc_library(seq_concat_fc_fuse_pass SRCS seq_concat_fc_fuse_pass.cc DEPS graph graph_pattern_detector)
X
Xin Pan 已提交
14 15 16 17

cc_test(pass_test SRCS pass_test.cc DEPS graph pass graph_helper)
cc_test(graph_test SRCS graph_test.cc DEPS graph graph_helper op_registry)
cc_test(graph_helper_test SRCS graph_helper_test.cc DEPS graph graph_helper op_registry)
X
Xin Pan 已提交
18
cc_test(graph_to_program_pass_test SRCS graph_to_program_pass_test.cc DEPS graph_to_program_pass)
19 20
cc_test(test_graph_pattern_detector SRCS graph_pattern_detector_tester.cc DEPS graph_pattern_detector)
cc_test(test_fc_fuse_pass SRCS fc_fuse_pass_tester.cc DEPS fc_fuse_pass graph_pattern_detector graph pass graph_traits framework_proto)
L
luotao1 已提交
21
set(GLOB_PASS_LIB fc_fuse_pass attention_lstm_fuse_pass infer_clean_graph_pass fc_lstm_fuse_pass seq_concat_fc_fuse_pass)