|
|
@ -42,8 +42,7 @@ if (WITH_DISTRIBUTE)
|
|
|
|
SET(OP_PREFETCH_DEPS ${OP_PREFETCH_DEPS} parameter_prefetch)
|
|
|
|
SET(OP_PREFETCH_DEPS ${OP_PREFETCH_DEPS} parameter_prefetch)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
register_operators(EXCLUDES warpctc_op conv_fusion_op DEPS ${OP_HEADER_DEPS} ${OP_PREFETCH_DEPS})
|
|
|
|
register_operators(EXCLUDES py_func_op warpctc_op conv_fusion_op DEPS ${OP_HEADER_DEPS} ${OP_PREFETCH_DEPS})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# warpctc_op needs cudnn 7 above
|
|
|
|
# warpctc_op needs cudnn 7 above
|
|
|
|
if (WITH_GPU AND NOT WIN32)
|
|
|
|
if (WITH_GPU AND NOT WIN32)
|
|
|
@ -82,7 +81,7 @@ endif()
|
|
|
|
# op_library(unstack_op DEPS stack_op)
|
|
|
|
# op_library(unstack_op DEPS stack_op)
|
|
|
|
# op_library(tensor_array_to_tensor_op DEPS concat_op)
|
|
|
|
# op_library(tensor_array_to_tensor_op DEPS concat_op)
|
|
|
|
|
|
|
|
|
|
|
|
set(OPERATOR_DEPS ${OPERATOR_DEPS} ${COMMON_OP_DEPS} python pybind)
|
|
|
|
set(OPERATOR_DEPS ${OPERATOR_DEPS} ${COMMON_OP_DEPS})
|
|
|
|
set(GLOB_OPERATOR_DEPS ${OPERATOR_DEPS} CACHE INTERNAL "Global Op dependencies")
|
|
|
|
set(GLOB_OPERATOR_DEPS ${OPERATOR_DEPS} CACHE INTERNAL "Global Op dependencies")
|
|
|
|
|
|
|
|
|
|
|
|
cc_test(gather_test SRCS gather_test.cc DEPS tensor)
|
|
|
|
cc_test(gather_test SRCS gather_test.cc DEPS tensor)
|
|
|
@ -94,4 +93,8 @@ cc_test(save_load_op_test SRCS save_load_op_test.cc DEPS save_op load_op)
|
|
|
|
cc_test(save_load_combine_op_test SRCS save_load_combine_op_test.cc DEPS save_combine_op load_combine_op)
|
|
|
|
cc_test(save_load_combine_op_test SRCS save_load_combine_op_test.cc DEPS save_combine_op load_combine_op)
|
|
|
|
nv_test(dropout_op_test SRCS dropout_op_test.cc DEPS dropout_op tensor)
|
|
|
|
nv_test(dropout_op_test SRCS dropout_op_test.cc DEPS dropout_op tensor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (WITH_PYTHON)
|
|
|
|
|
|
|
|
cc_library(py_func_op SRCS py_func_op.cc DEPS op_registry python pybind)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
set(GLOB_OP_LIB ${OP_LIBRARY} CACHE INTERNAL "Global OP library")
|
|
|
|
set(GLOB_OP_LIB ${OP_LIBRARY} CACHE INTERNAL "Global OP library")
|
|
|
|