CMakeLists.txt 607 字节
Newer Older
W
Wu Yi 已提交
1
include(operators)
2
register_operators(DEPS naive_executor)
3
cc_library(op_variant SRCS op_variant.cc DEPS operator proto_desc)
Z
Zeng Jinle 已提交
4
cc_library(conditional_block_op_helper SRCS conditional_block_op_helper.cc DEPS operator op_variant conditional_block_op)
5 6
cc_library(recurrent_op_helper SRCS recurrent_op_helper.cc DEPS operator op_variant recurrent_op)
cc_library(while_op_helper SRCS while_op_helper.cc DEPS operator op_variant) 
W
Wu Yi 已提交
7

Z
Zeng Jinle 已提交
8 9
target_link_libraries(conditional_block_infer_op conditional_block_op) 

W
Wu Yi 已提交
10
file(APPEND ${pybind_file} "USE_OP(less_than);\nUSE_OP(logical_and);\nUSE_NO_KERNEL_OP(read_from_array);\n")