CMakeLists.txt 781 字节
Newer Older
1 2 3 4 5 6 7 8
set(op_DEPS ${tensor_lite} op_lite op_params_lite)
cc_library(fc_op_lite SRCS fc_op.cc DEPS ${op_DEPS})
cc_library(relu_op_lite SRCS relu_op.cc DEPS ${op_DEPS})
cc_library(mul_op_lite SRCS mul_op.cc DEPS ${op_DEPS})
cc_library(scale_op_lite SRCS scale_op.cc DEPS ${op_DEPS})
cc_library(feed_op_lite SRCS feed_op.cc DEPS ${op_DEPS})
cc_library(fetch_op_lite SRCS fetch_op.cc DEPS ${op_DEPS})
cc_library(io_copy_op_lite SRCS io_copy_op.cc DEPS ${op_DEPS})
S
superjomn 已提交
9

10
cc_library(op_params_lite SRCS op_params.cc DEPS ${tensor_lite})
S
superjomn 已提交
11 12
cc_library(ops_lite DEPS
        fc_op_lite
S
superjomn 已提交
13 14 15
        relu_op_lite
        mul_op_lite
        scale_op_lite
S
Superjomn 已提交
16
        feed_op_lite
17
        fetch_op_lite
S
Superjomn 已提交
18
        io_copy_op_lite
S
superjomn 已提交
19
        )
S
superjomn 已提交
20

S
superjomn 已提交
21
cc_test(test_fc_op_lite SRCS fc_op_test.cc DEPS fc_op_lite fc_compute_host)