CMakeLists.txt 852 字节
Newer Older
Y
Yan Chunwei 已提交
1
# Add TRT tests
2
nv_library(tensorrt_converter
3
           SRCS matmul_op.cc conv2d_op.cc fc_op.cc pool2d_op.cc elementwise_op.cc
4
                batch_norm_op.cc activation_op.cc softmax_op.cc concat_op.cc dropout_op.cc group_norm_op.cc
P
Pei Yang 已提交
5
                pad_op.cc split_op.cc prelu_op.cc leaky_relu_op.cc gelu_op.cc layer_norm_op.cc multihead_matmul_op.cc
6
                shuffle_channel_op.cc swish_op.cc instance_norm_op.cc stack_op.cc transpose_op.cc flatten_op.cc
P
Pei Yang 已提交
7
                emb_eltwise_layernorm.cc skip_layernorm.cc scale_op.cc slice_op.cc hard_sigmoid_op.cc hard_swish_op.cc clip_op.cc
8
                gather_op.cc
9
           DEPS tensorrt_engine tensorrt_plugin operator scope framework_proto op_registry)
10 11

nv_test(test_op_converter SRCS test_op_converter.cc DEPS
12
  paddle_framework ${GLOB_OPERATOR_DEPS} tensorrt_engine tensorrt_converter)