From c2e9860feb25cc4f841247bb6b64a14087246f1c Mon Sep 17 00:00:00 2001 From: Megvii Engine Team Date: Fri, 25 Feb 2022 18:44:59 +0800 Subject: [PATCH] chore(license): remove all license in file header GitOrigin-RevId: a0e31247a6d2ec80b69c1909ba668fe488b39d5f --- dnn/atlas-stub/src/libacl_cblas-wrap.cpp | 12 -------- dnn/atlas-stub/src/libatlas-wrap.cpp | 12 -------- dnn/cuda-stub/src/libnvrtc.cpp | 12 -------- dnn/include/hcc_detail/hcc_defs_epilogue.h.in | 11 -------- dnn/include/hcc_detail/hcc_defs_prologue.h.in | 11 -------- dnn/include/hip_header.h | 11 -------- dnn/include/megcore.h | 11 -------- dnn/include/megcore_atlas.h | 12 -------- dnn/include/megcore_cdefs.h | 11 -------- dnn/include/megcore_cuda.h | 11 -------- dnn/include/megcore_rocm.h | 11 -------- dnn/include/megdnn.h | 10 ------- dnn/include/megdnn/algorithm_cache.h | 12 -------- dnn/include/megdnn/arch.h | 10 ------- dnn/include/megdnn/basic_types.h | 11 -------- dnn/include/megdnn/common.h | 11 -------- dnn/include/megdnn/config/config.h | 11 -------- dnn/include/megdnn/cuda.h | 10 ------- dnn/include/megdnn/dtype.h | 11 -------- dnn/include/megdnn/handle.h | 11 -------- dnn/include/megdnn/internal/defs.h | 10 ------- dnn/include/megdnn/internal/opr_header_epilogue.h | 10 ------- dnn/include/megdnn/internal/opr_header_prologue.h | 10 ------- dnn/include/megdnn/internal/visibility_epilogue.h | 11 -------- dnn/include/megdnn/internal/visibility_prologue.h | 11 -------- dnn/include/megdnn/named_tensor.h | 12 -------- dnn/include/megdnn/opr_result_defs.h | 11 -------- dnn/include/megdnn/oprs.h | 10 ------- dnn/include/megdnn/oprs/base.h | 11 -------- dnn/include/megdnn/oprs/cv.h | 11 -------- dnn/include/megdnn/oprs/general.h | 10 ------- dnn/include/megdnn/oprs/imgproc.h | 10 ------- dnn/include/megdnn/oprs/linalg.h | 10 ------- dnn/include/megdnn/oprs/nn.h | 11 -------- dnn/include/megdnn/oprs/nn_int.h | 10 ------- dnn/include/megdnn/oprs/utils.h | 11 -------- dnn/include/megdnn/tensor_format.h | 11 -------- dnn/include/megdnn/tensor_iter.h | 11 -------- dnn/include/megdnn/thin/function.h | 11 -------- dnn/include/megdnn/thin/small_vector.h | 10 ------- dnn/include/megdnn/version.h | 10 ------- dnn/src/aarch64/conv_bias/fp16/algos.cpp | 12 -------- dnn/src/aarch64/conv_bias/fp16/algos.h | 11 -------- dnn/src/aarch64/conv_bias/fp16/stride2_kern.h | 10 ------- dnn/src/aarch64/conv_bias/fp32/algos.cpp | 11 -------- dnn/src/aarch64/conv_bias/fp32/algos.h | 11 -------- dnn/src/aarch64/conv_bias/fp32/stride2_kern.h | 10 ------- dnn/src/aarch64/conv_bias/int8/algos.cpp | 11 -------- dnn/src/aarch64/conv_bias/int8/algos.h | 11 -------- dnn/src/aarch64/conv_bias/int8/strategy.cpp | 11 -------- dnn/src/aarch64/conv_bias/int8/strategy.h | 10 ------- dnn/src/aarch64/conv_bias/opr_impl.cpp | 11 -------- dnn/src/aarch64/conv_bias/opr_impl.h | 10 ------- dnn/src/aarch64/conv_bias/quint8/algos.cpp | 11 -------- dnn/src/aarch64/conv_bias/quint8/algos.h | 11 -------- dnn/src/aarch64/conv_bias/quint8/strategy.cpp | 11 -------- dnn/src/aarch64/conv_bias/quint8/strategy.h | 10 ------- dnn/src/aarch64/handle.cpp | 11 -------- dnn/src/aarch64/handle.h | 10 ------- dnn/src/aarch64/matrix_mul/algos.cpp | 12 -------- dnn/src/aarch64/matrix_mul/algos.h | 12 -------- dnn/src/aarch64/matrix_mul/asm/common.h | 11 -------- dnn/src/aarch64/matrix_mul/fp16/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/fp16/strategy.h | 10 ------- .../aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp | 11 -------- dnn/src/aarch64/matrix_mul/fp32/common.h | 10 ------- .../aarch64/matrix_mul/fp32/kernel_general_4x16.h | 11 -------- .../aarch64/matrix_mul/fp32/kernel_general_8x12.h | 12 -------- .../matrix_mul/fp32/kernel_general_8x12_a53.h | 12 -------- .../matrix_mul/fp32/kernel_general_8x12_a55.h | 12 -------- dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h | 12 -------- .../aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h | 12 -------- .../aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h | 12 -------- dnn/src/aarch64/matrix_mul/fp32/strategy.cpp | 12 -------- dnn/src/aarch64/matrix_mul/fp32/strategy.h | 11 -------- .../aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp | 11 -------- dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h | 11 -------- dnn/src/aarch64/matrix_mul/int16/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/int16/strategy.h | 10 ------- .../aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp | 11 -------- .../matrix_mul/int4x4x16/kernel_int4_8x8x8.h | 11 -------- dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp | 12 -------- dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h | 11 -------- dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h | 11 -------- dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h | 11 -------- .../aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h | 12 -------- dnn/src/aarch64/matrix_mul/int8/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/int8/strategy.h | 10 ------- .../aarch64/matrix_mul/int8_dot/kernel_8x12x4.h | 11 -------- .../matrix_mul/int8_dot/kernel_mk4_8x12x4.h | 12 -------- dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/int8_dot/strategy.h | 10 ------- .../aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h | 11 -------- .../aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h | 11 -------- .../matrix_mul/int8x8x16/kernel_mk4_16x12x4_a53.h | 12 -------- .../matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h | 12 -------- .../matrix_mul/int8x8x16/kernel_mk4_8x8x8.h | 12 -------- dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp | 12 -------- dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h | 11 -------- dnn/src/aarch64/matrix_mul/opr_impl.cpp | 11 -------- dnn/src/aarch64/matrix_mul/opr_impl.h | 11 -------- dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h | 11 -------- dnn/src/aarch64/matrix_mul/quint8/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/quint8/strategy.h | 10 ------- dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp | 11 -------- dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h | 10 ------- .../aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h | 11 -------- dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp | 11 -------- dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h | 10 ------- dnn/src/aarch64/relayout/opr_impl.cpp | 11 -------- dnn/src/aarch64/relayout/opr_impl.h | 10 ------- dnn/src/aarch64/rotate/opr_impl.cpp | 10 ------- dnn/src/aarch64/rotate/opr_impl.h | 10 ------- dnn/src/aarch64/warp_perspective/opr_impl.cpp | 10 ------- dnn/src/aarch64/warp_perspective/opr_impl.h | 10 ------- .../warp_perspective/warp_perspective_cv.cpp | 10 ------- .../aarch64/warp_perspective/warp_perspective_cv.h | 11 -------- dnn/src/arm_common/conv_bias/block_helper.h | 12 -------- dnn/src/arm_common/conv_bias/f16/algos.cpp | 11 -------- dnn/src/arm_common/conv_bias/f16/algos.h | 12 -------- .../f16/channel_wise_3x3_s1p1_nchw88_kern.cpp | 12 -------- .../f16/channel_wise_3x3_s1p1_nchw88_kern.h | 12 -------- .../conv_bias/f16/channel_wise_nchw88_algo.cpp | 12 -------- .../conv_bias/f16/channel_wise_nchw88_kern.cpp | 12 -------- .../conv_bias/f16/channel_wise_nchw88_kern.h | 12 -------- dnn/src/arm_common/conv_bias/f16/direct.cpp | 11 -------- dnn/src/arm_common/conv_bias/f16/direct.h | 10 ------- .../conv_bias/f16/direct_nchw88_algo.cpp | 12 -------- .../conv_bias/f16/direct_nchw88_kern.cpp | 13 --------- .../arm_common/conv_bias/f16/direct_nchw88_kern.h | 11 -------- .../arm_common/conv_bias/f16/do_conv_stride1.cpp | 11 -------- dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h | 10 ------- dnn/src/arm_common/conv_bias/f16/helper.h | 11 -------- dnn/src/arm_common/conv_bias/f16/strategy.h | 11 -------- dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp | 11 -------- .../arm_common/conv_bias/f16/strategy_2x3_8x8.cpp | 11 -------- dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp | 11 -------- dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp | 11 -------- dnn/src/arm_common/conv_bias/fp32/helper.h | 11 -------- dnn/src/arm_common/conv_bias/img2col_helper.h | 10 ------- dnn/src/arm_common/conv_bias/int8/algos.cpp | 12 -------- dnn/src/arm_common/conv_bias/int8/algos.h | 12 -------- .../conv_bias/int8/channel_wise_kernel.cpp | 12 -------- .../conv_bias/int8/channel_wise_kernel.h | 11 -------- .../conv_bias/int8/channel_wise_nchw44.cpp | 11 -------- .../conv_bias/int8/channel_wise_nchw44.h | 11 -------- dnn/src/arm_common/conv_bias/int8/direct.cpp | 11 -------- dnn/src/arm_common/conv_bias/int8/direct.h | 12 -------- .../arm_common/conv_bias/int8/direct_dotprod.cpp | 11 -------- dnn/src/arm_common/conv_bias/int8/direct_dotprod.h | 10 ------- .../conv_bias/int8/direct_dotprod_nchw44.cpp | 12 -------- .../conv_bias/int8/direct_dotprod_nchw44.h | 12 -------- .../conv_bias/int8/direct_dotprod_nchw44_algo.cpp | 12 -------- .../int8/direct_kernels/dot_direct_nchw44_common.h | 12 -------- .../int8/direct_kernels/dot_direct_nchw44_s1.h | 12 -------- .../direct_kernels/dot_direct_nchw44_s1_2x2.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s1_3x3.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s1_5x5.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s1_7x7.cpp | 12 -------- .../int8/direct_kernels/dot_direct_nchw44_s2.h | 13 --------- .../direct_kernels/dot_direct_nchw44_s2_2x2.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s2_3x3.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s2_5x5.cpp | 12 -------- .../direct_kernels/dot_direct_nchw44_s2_7x7.cpp | 12 -------- .../direct_kernels/dot_direct_nchw_nchw44_s1.cpp | 13 --------- .../direct_kernels/dot_direct_nchw_nchw44_s2.cpp | 12 -------- .../int8/direct_kernels/int8_direct_nchw44_s1.cpp | 12 -------- .../int8/direct_kernels/int8_direct_nchw44_s2.cpp | 13 --------- .../int8_direct_nchw_nchw44_common.h | 13 --------- .../direct_kernels/int8_direct_nchw_nchw44_s1.cpp | 13 --------- .../direct_kernels/int8_direct_nchw_nchw44_s1.h | 13 --------- .../int8_direct_nchw_nchw44_s1_1x1.cpp | 12 -------- .../int8_direct_nchw_nchw44_s1_2x2.cpp | 12 -------- .../int8_direct_nchw_nchw44_s1_3x3.cpp | 12 -------- .../int8_direct_nchw_nchw44_s1_5x5.cpp | 12 -------- .../int8_direct_nchw_nchw44_s1_7x7.cpp | 12 -------- .../direct_kernels/int8_direct_nchw_nchw44_s2.cpp | 13 --------- .../conv_bias/int8/direct_nchw44_algo.cpp | 12 -------- .../arm_common/conv_bias/int8/direct_nchw44_kern.h | 11 -------- .../conv_bias/int8/direct_nchw_nchw44_algo.cpp | 12 -------- .../conv_bias/int8/direct_nchw_nchw44_kern.h | 11 -------- .../conv_bias/int8/dot_direct_nchw_nchw44_kern.h | 12 -------- dnn/src/arm_common/conv_bias/int8/helper.h | 11 -------- dnn/src/arm_common/conv_bias/int8/strategy.h | 11 -------- .../arm_common/conv_bias/int8/strategy_2x3_8x8.cpp | 11 -------- .../conv_bias/int8/strategy_nchw44_2x3_4x4.cpp | 11 -------- .../conv_bias/int8/strategy_nchw44_2x3_8x8.cpp | 11 -------- dnn/src/arm_common/conv_bias/int8/stride1.cpp | 12 -------- dnn/src/arm_common/conv_bias/int8/stride1.h | 11 -------- .../arm_common/conv_bias/int8/stride1_dotprod.cpp | 11 -------- .../arm_common/conv_bias/int8/stride1_dotprod.h | 10 ------- dnn/src/arm_common/conv_bias/int8/stride2.cpp | 12 -------- dnn/src/arm_common/conv_bias/int8/stride2.h | 11 -------- .../arm_common/conv_bias/int8/stride2_dotprod.cpp | 11 -------- .../arm_common/conv_bias/int8/stride2_dotprod.h | 11 -------- dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp | 11 -------- dnn/src/arm_common/conv_bias/int8x8x16/algos.h | 12 -------- .../conv_bias/int8x8x16/channel_wise_kernel.h | 11 -------- .../channel_wise_kernel_int8x8x16_nchw44.cpp | 12 -------- .../conv_bias/int8x8x16/channel_wise_nchw44.h | 11 -------- .../int8x8x16/channel_wise_nchw44_8x8x16.cpp | 11 -------- .../int8x8x16/channel_wise_nchw44_8x8x16.h | 11 -------- .../arm_common/conv_bias/int8x8x16/conv_direct.cpp | 11 -------- .../arm_common/conv_bias/int8x8x16/conv_direct.h | 10 ------- .../conv_bias/int8x8x16/conv_stride2.cpp | 10 ------- .../arm_common/conv_bias/int8x8x16/conv_stride2.h | 10 ------- .../int8x8x16/direct_8x8x16_nchw44_algo.cpp | 12 -------- .../int8x8x16/direct_8x8x16_nchw44_kern.h | 11 -------- .../int8x8x16_direct_nchw44_s1_aarch64.cpp | 13 --------- .../int8x8x16_direct_nchw44_s1_armv7.cpp | 12 -------- .../direct_kernels/int8x8x16_direct_nchw44_s2.cpp | 13 --------- .../conv_bias/int8x8x16/direct_nchw_nchw44_kern.h | 11 -------- .../kernel/direct_nchw_nchw44_kern_impl.h | 13 --------- .../kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp | 12 -------- .../kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp | 12 -------- dnn/src/arm_common/conv_bias/intrinsic_helper.h | 11 -------- dnn/src/arm_common/conv_bias/matmul_postprocess.h | 10 ------- dnn/src/arm_common/conv_bias/opr_impl.cpp | 12 -------- dnn/src/arm_common/conv_bias/opr_impl.h | 11 -------- dnn/src/arm_common/conv_bias/postprocess_helper.h | 12 -------- dnn/src/arm_common/conv_bias/quint8/algos.cpp | 12 -------- dnn/src/arm_common/conv_bias/quint8/algos.h | 12 -------- dnn/src/arm_common/conv_bias/quint8/direct.cpp | 11 -------- dnn/src/arm_common/conv_bias/quint8/direct.h | 11 -------- .../arm_common/conv_bias/quint8/direct_dotprod.cpp | 11 -------- .../arm_common/conv_bias/quint8/direct_dotprod.h | 11 -------- dnn/src/arm_common/conv_bias/quint8/stride1.cpp | 11 -------- dnn/src/arm_common/conv_bias/quint8/stride1.h | 11 -------- .../conv_bias/quint8/stride1_dotprod.cpp | 10 ------- .../arm_common/conv_bias/quint8/stride1_dotprod.h | 10 ------- dnn/src/arm_common/conv_bias/quint8/stride2.cpp | 11 -------- dnn/src/arm_common/conv_bias/quint8/stride2.h | 11 -------- .../conv_bias/quint8/stride2_dotprod.cpp | 10 ------- .../arm_common/conv_bias/quint8/stride2_dotprod.h | 10 ------- .../conv_bias/winograd_common/winograd_common.h | 11 -------- dnn/src/arm_common/convolution/img2col_helper.h | 10 ------- dnn/src/arm_common/convolution/int8x8x32/algos.cpp | 11 -------- dnn/src/arm_common/convolution/int8x8x32/algos.h | 12 -------- .../int8x8x32/conv_backdata_stride1.cpp | 11 -------- .../convolution/int8x8x32/conv_backdata_stride1.h | 10 ------- .../int8x8x32/conv_backdata_stride2.cpp | 11 -------- .../convolution/int8x8x32/conv_backdata_stride2.h | 10 ------- dnn/src/arm_common/convolution/opr_impl.cpp | 11 -------- dnn/src/arm_common/convolution/opr_impl.h | 10 ------- dnn/src/arm_common/convolution/quint8/algos.cpp | 11 -------- dnn/src/arm_common/convolution/quint8/algos.h | 12 -------- .../convolution/quint8/conv_backdata_stride1.cpp | 11 -------- .../convolution/quint8/conv_backdata_stride1.h | 10 ------- .../convolution/quint8/conv_backdata_stride2.cpp | 11 -------- .../convolution/quint8/conv_backdata_stride2.h | 10 ------- dnn/src/arm_common/cvt_color/opr_impl.h | 10 ------- dnn/src/arm_common/elemwise/binary/algo.cpp | 11 -------- dnn/src/arm_common/elemwise/binary/algo.h | 11 -------- dnn/src/arm_common/elemwise/neon_mathfun.cpp | 18 ------------ dnn/src/arm_common/elemwise/neon_mathfun.h | 12 -------- .../arm_common/elemwise/neon_util_impl_helper.h | 12 -------- dnn/src/arm_common/elemwise/opr_impl.cpp | 11 -------- dnn/src/arm_common/elemwise/opr_impl.h | 11 -------- dnn/src/arm_common/elemwise/ternary/algo.cpp | 11 -------- dnn/src/arm_common/elemwise/ternary/algo.h | 11 -------- dnn/src/arm_common/elemwise/unary/algo.cpp | 11 -------- dnn/src/arm_common/elemwise/unary/algo.h | 11 -------- dnn/src/arm_common/elemwise_helper/elemwise_op.h | 12 -------- dnn/src/arm_common/elemwise_helper/kimpl/abs.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/add.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/exp.h | 10 ------- .../arm_common/elemwise_helper/kimpl/fast_tanh.h | 10 ------- .../elemwise_helper/kimpl/fuse_add_h_swish.h | 10 ------- .../elemwise_helper/kimpl/fuse_add_relu.h | 10 ------- .../elemwise_helper/kimpl/fuse_add_sigmoid.h | 10 ------- .../elemwise_helper/kimpl/fuse_add_tanh.h | 10 ------- .../elemwise_helper/kimpl/fuse_mul_add3.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/hswish.h | 11 -------- .../elemwise_helper/kimpl/kern_macro_epilogue.h | 11 -------- .../elemwise_helper/kimpl/kern_macro_prologue.h | 12 -------- dnn/src/arm_common/elemwise_helper/kimpl/max.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/min.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/mul.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/none.h | 11 -------- dnn/src/arm_common/elemwise_helper/kimpl/op_base.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/relu.h | 11 -------- dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h | 11 -------- dnn/src/arm_common/elemwise_helper/kimpl/sub.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/tanh.h | 10 ------- .../arm_common/elemwise_helper/kimpl/true_div.h | 10 ------- dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h | 11 -------- dnn/src/arm_common/elemwise_helper/op_binary.h | 10 ------- dnn/src/arm_common/elemwise_helper/op_ternary.h | 10 ------- dnn/src/arm_common/elemwise_helper/op_unary.h | 10 ------- dnn/src/arm_common/elemwise_multi_type/kernels.cpp | 12 -------- dnn/src/arm_common/elemwise_multi_type/kernels.h | 11 -------- .../arm_common/elemwise_multi_type/opr_impl.cpp | 12 -------- dnn/src/arm_common/elemwise_multi_type/opr_impl.h | 11 -------- dnn/src/arm_common/handle.cpp | 11 -------- dnn/src/arm_common/handle.h | 10 ------- dnn/src/arm_common/intrinsic_helper.h | 11 -------- dnn/src/arm_common/local/opr_impl.cpp | 10 ------- dnn/src/arm_common/local/opr_impl.h | 11 -------- dnn/src/arm_common/lstm/lstm_utils.cpp | 11 -------- dnn/src/arm_common/lstm/lstm_utils.h | 11 -------- dnn/src/arm_common/lstm/opr_impl.cpp | 11 -------- dnn/src/arm_common/lstm/opr_impl.h | 11 -------- dnn/src/arm_common/lstm_cell/cell_kernel.cpp | 11 -------- dnn/src/arm_common/lstm_cell/cell_kernel.h | 11 -------- dnn/src/arm_common/lstm_cell/opr_impl.cpp | 11 -------- dnn/src/arm_common/lstm_cell/opr_impl.h | 11 -------- dnn/src/arm_common/matrix_mul/algos.cpp | 11 -------- dnn/src/arm_common/matrix_mul/algos.h | 11 -------- .../matrix_mul/exec_gemm_int8_int8_int16.cpp | 10 ------- .../matrix_mul/exec_gemm_int8_int8_int16.h | 10 ------- dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp | 11 -------- dnn/src/arm_common/matrix_mul/fp16/hgemv.h | 10 ------- dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp | 12 -------- dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h | 10 ------- dnn/src/arm_common/matrix_mul/int8/gemv.cpp | 11 -------- dnn/src/arm_common/matrix_mul/int8/gemv.h | 10 ------- dnn/src/arm_common/matrix_mul/opr_impl.cpp | 10 ------- dnn/src/arm_common/matrix_mul/opr_impl.h | 10 ------- dnn/src/arm_common/neon_struct.h | 11 -------- dnn/src/arm_common/pooling/algo.cpp | 11 -------- dnn/src/arm_common/pooling/algo.h | 11 -------- .../pooling/do_max_pooling_3x3_s2x2_float.cpp | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_float.h | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_float16.cpp | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_float16.h | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_int8.cpp | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_int8.h | 10 ------- .../pooling/do_max_pooling_w2x2_s2x2.cpp | 11 -------- .../arm_common/pooling/do_max_pooling_w2x2_s2x2.h | 11 -------- .../pooling/do_max_pooling_w4x4_s2x2.cpp | 11 -------- .../arm_common/pooling/do_max_pooling_w4x4_s2x2.h | 11 -------- .../arm_common/pooling/do_pooling_2x2_nchw44.cpp | 11 -------- dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h | 11 -------- .../arm_common/pooling/do_pooling_3x3_nchw44.cpp | 11 -------- dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h | 11 -------- .../arm_common/pooling/do_pooling_4x4_nchw44.cpp | 11 -------- dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h | 11 -------- .../arm_common/pooling/do_pooling_5x5_nchw44.cpp | 11 -------- dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.h | 11 -------- .../arm_common/pooling/kern_fp32_pooling_nchw44.h | 11 -------- dnn/src/arm_common/pooling/opr_impl.cpp | 11 -------- dnn/src/arm_common/pooling/opr_impl.h | 11 -------- dnn/src/arm_common/pooling/pooling_helper.h | 12 -------- dnn/src/arm_common/quantized_converter.h | 11 -------- dnn/src/arm_common/reduce/opr_impl.cpp | 10 ------- dnn/src/arm_common/reduce/opr_impl.h | 10 ------- dnn/src/arm_common/resize/direct_nchwxx.cpp | 12 -------- dnn/src/arm_common/resize/direct_nchwxx.h | 12 -------- dnn/src/arm_common/resize/helper.h | 12 -------- dnn/src/arm_common/resize/opr_impl.cpp | 12 -------- dnn/src/arm_common/resize/opr_impl.h | 11 -------- dnn/src/arm_common/resize/resize_cv.h | 11 -------- dnn/src/arm_common/resize/upsample2_nchw.cpp | 12 -------- dnn/src/arm_common/resize/upsample2_nchw.h | 12 -------- dnn/src/arm_common/resize/upsample2_nchwxx.cpp | 12 -------- dnn/src/arm_common/resize/upsample2_nchwxx.h | 12 -------- dnn/src/arm_common/rnn_cell/opr_impl.cpp | 11 -------- dnn/src/arm_common/rnn_cell/opr_impl.h | 10 ------- dnn/src/arm_common/separable_conv/opr_impl.cpp | 10 ------- dnn/src/arm_common/separable_conv/opr_impl.h | 10 ------- .../arm_common/separable_conv/sep_conv_common.h | 10 ------- .../arm_common/separable_conv/sep_conv_filter.h | 10 ------- .../separable_conv/sep_conv_filter_engine.cpp | 10 ------- dnn/src/arm_common/separable_filter/opr_impl.h | 10 ------- dnn/src/arm_common/simd_macro/marm_neon.cpp | 11 -------- dnn/src/arm_common/simd_macro/marm_neon.h | 11 -------- dnn/src/arm_common/simd_macro/neon_helper.h | 10 ------- .../arm_common/simd_macro/neon_helper_epilogue.h | 10 ------- dnn/src/arm_common/simd_macro/neon_helper_fp16.h | 10 ------- dnn/src/arm_common/type_cvt/opr_impl.cpp | 10 ------- dnn/src/arm_common/type_cvt/opr_impl.h | 10 ------- dnn/src/arm_common/utils.cpp | 11 -------- dnn/src/arm_common/utils.h | 11 -------- dnn/src/arm_common/warp_affine/opr_impl.cpp | 10 ------- dnn/src/arm_common/warp_affine/opr_impl.h | 10 ------- dnn/src/arm_common/warp_affine/warp_affine_cv.h | 11 -------- dnn/src/arm_common/warp_perspective/opr_impl.cpp | 10 ------- dnn/src/arm_common/warp_perspective/opr_impl.h | 10 ------- .../warp_perspective/warp_perspective_cv.h | 11 -------- dnn/src/armv7/conv_bias/int8/algos.cpp | 11 -------- dnn/src/armv7/conv_bias/int8/algos.h | 11 -------- dnn/src/armv7/conv_bias/int8/strategy.cpp | 11 -------- dnn/src/armv7/conv_bias/int8/strategy.h | 10 ------- dnn/src/armv7/conv_bias/opr_impl.cpp | 11 -------- dnn/src/armv7/conv_bias/opr_impl.h | 10 ------- dnn/src/armv7/conv_bias/quint8/algos.cpp | 11 -------- dnn/src/armv7/conv_bias/quint8/algos.h | 11 -------- dnn/src/armv7/conv_bias/quint8/strategy.cpp | 11 -------- dnn/src/armv7/conv_bias/quint8/strategy.h | 10 ------- dnn/src/armv7/handle.cpp | 11 -------- dnn/src/armv7/handle.h | 10 ------- dnn/src/armv7/matrix_mul/algos.cpp | 12 -------- dnn/src/armv7/matrix_mul/algos.h | 12 -------- dnn/src/armv7/matrix_mul/asm/common.h | 11 -------- dnn/src/armv7/matrix_mul/fp16/strategy.cpp | 11 -------- dnn/src/armv7/matrix_mul/fp16/strategy.h | 10 ------- dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp | 11 -------- dnn/src/armv7/matrix_mul/fp32/strategy.h | 10 ------- dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp | 12 -------- dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp | 11 -------- dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp | 11 -------- .../armv7/matrix_mul/int16x16x32/kernel_12x4x1.h | 12 -------- dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp | 11 -------- dnn/src/armv7/matrix_mul/int16x16x32/strategy.h | 10 ------- .../matrix_mul/int16x16x32/strategy_mk8_4x8.cpp | 11 -------- dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h | 12 -------- dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h | 12 -------- dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h | 11 -------- dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h | 12 -------- .../armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h | 12 -------- dnn/src/armv7/matrix_mul/int8/strategy.cpp | 11 -------- dnn/src/armv7/matrix_mul/int8/strategy.h | 10 ------- dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h | 12 -------- dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h | 12 -------- dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h | 12 -------- .../armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h | 12 -------- dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp | 12 -------- dnn/src/armv7/matrix_mul/int8x8x16/strategy.h | 11 -------- dnn/src/armv7/matrix_mul/opr_impl.cpp | 11 -------- dnn/src/armv7/matrix_mul/opr_impl.h | 11 -------- dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h | 12 -------- dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h | 11 -------- dnn/src/armv7/matrix_mul/quint8/strategy.cpp | 11 -------- dnn/src/armv7/matrix_mul/quint8/strategy.h | 10 ------- dnn/src/armv7/relayout/opr_impl.cpp | 11 -------- dnn/src/armv7/relayout/opr_impl.h | 10 ------- dnn/src/armv7/rotate/opr_impl.cpp | 11 -------- dnn/src/armv7/rotate/opr_impl.h | 10 ------- dnn/src/atlas/checksum/opr_impl.cpp | 11 -------- dnn/src/atlas/checksum/opr_impl.h | 12 -------- dnn/src/atlas/handle.cpp | 12 -------- dnn/src/atlas/handle.h | 11 -------- dnn/src/atlas/megcore/computing_context.cpp | 11 -------- dnn/src/atlas/megcore/computing_context.hpp | 11 -------- dnn/src/atlas/megcore/device_context.cpp | 12 -------- dnn/src/atlas/megcore/device_context.hpp | 11 -------- dnn/src/atlas/megcore/public_api/computing.cpp | 11 -------- dnn/src/atlas/utils.cpp | 12 -------- dnn/src/atlas/utils.h | 11 -------- dnn/src/common/adaptive_pooling.cpp | 11 -------- dnn/src/common/add_update.cpp | 11 -------- dnn/src/common/add_update_helper.h | 11 -------- dnn/src/common/algo_base.cpp | 12 -------- dnn/src/common/algo_base.h | 12 -------- dnn/src/common/algo_chooser.h | 12 -------- dnn/src/common/algorithm_cache.cpp | 14 +--------- dnn/src/common/argmxx/base_impl.cpp | 10 ------- dnn/src/common/argmxx_helper.h | 11 -------- dnn/src/common/argsort.cpp | 11 -------- dnn/src/common/asm_common_defs.h | 10 ------- dnn/src/common/basic_types.cpp | 11 -------- dnn/src/common/batch_conv_bias.cpp | 10 ------- dnn/src/common/batch_normalization.cpp | 10 ------- dnn/src/common/batched_matrix_mul.cpp | 10 ------- dnn/src/common/check_non_finite.cpp | 11 -------- dnn/src/common/checksum.cpp | 11 -------- dnn/src/common/concat_split.cpp | 10 ------- dnn/src/common/cond_take/opr_impl.cpp | 11 -------- dnn/src/common/cond_take/predicate.cuh | 11 -------- dnn/src/common/conv_bias.cpp | 12 -------- dnn/src/common/conv_bias.h | 11 -------- dnn/src/common/conv_pooling.cpp | 10 ------- dnn/src/common/convolution.cpp | 12 -------- dnn/src/common/convolution3d.cpp | 11 -------- dnn/src/common/correlation.cpp | 11 -------- dnn/src/common/cpuinfo_arch_vendor.cpp | 11 -------- dnn/src/common/cpuinfo_arch_vendor.h | 12 -------- dnn/src/common/cumsum.cpp | 10 ------- dnn/src/common/cv/aligned_allocator.h | 11 -------- dnn/src/common/cv/cvt_color.h | 10 ------- dnn/src/common/cv/enums.h | 10 ------- dnn/src/common/cv/linalg.h | 11 -------- dnn/src/common/cv/mat.cpp | 11 -------- dnn/src/common/cvt_color.cpp | 10 ------- dnn/src/common/dct.cpp | 11 -------- dnn/src/common/deformable_conv.cpp | 11 -------- dnn/src/common/deformable_ps_roi_pooling.cpp | 11 -------- dnn/src/common/diag.cpp | 10 ------- dnn/src/common/dot.cpp | 10 ------- dnn/src/common/dropout.cpp | 12 -------- dnn/src/common/dtype.cpp | 11 -------- dnn/src/common/elemwise/kern_defs.cuh | 11 -------- dnn/src/common/elemwise/opr_impl.cpp | 11 -------- dnn/src/common/elemwise/opr_impl_body.inl | 11 -------- dnn/src/common/elemwise/opr_impl_class_def.inl | 11 -------- dnn/src/common/elemwise/opr_impl_helper.cpp | 12 -------- dnn/src/common/elemwise/opr_impl_helper.h | 12 -------- dnn/src/common/elemwise_helper.cpp | 11 -------- dnn/src/common/elemwise_helper.cuh | 11 -------- dnn/src/common/elemwise_multi_type/kern_defs.cuh | 11 -------- dnn/src/common/elemwise_multi_type/opr_impl.cpp | 11 -------- .../common/elemwise_multi_type/opr_impl_helper.cpp | 11 -------- .../common/elemwise_multi_type/opr_impl_helper.h | 11 -------- dnn/src/common/eye.cpp | 10 ------- dnn/src/common/fake_quant.cpp | 12 -------- dnn/src/common/fill.cpp | 11 -------- dnn/src/common/flag_warn.cpp | 11 -------- dnn/src/common/flip.cpp | 10 ------- dnn/src/common/gaussian_blur.cpp | 10 ------- dnn/src/common/gaussian_blur_helper.h | 11 -------- dnn/src/common/group_local.cpp | 10 ------- dnn/src/common/handle.cpp | 12 -------- dnn/src/common/handle_impl.h | 11 -------- dnn/src/common/images2neibs.cpp | 11 -------- dnn/src/common/indexing_multi_axis_vec.cpp | 11 -------- dnn/src/common/indexing_multi_axis_vec_kdef.h | 11 -------- dnn/src/common/indexing_one_hot.cpp | 11 -------- dnn/src/common/layer_norm.cpp | 11 -------- dnn/src/common/linspace.cpp | 10 ------- dnn/src/common/local/local_decl.inl | 10 ------- dnn/src/common/local/local_def.inl | 10 ------- dnn/src/common/local/opr_impl.cpp | 10 ------- dnn/src/common/local_share/opr_impl.cpp | 10 ------- dnn/src/common/lrn.cpp | 10 ------- dnn/src/common/lsq.cpp | 12 -------- dnn/src/common/lstm.cpp | 10 ------- dnn/src/common/lstm_cell.cpp | 10 ------- dnn/src/common/lstm_cell.h | 10 ------- dnn/src/common/macro_helper.h | 10 ------- dnn/src/common/macro_helper_epilogue.h | 10 ------- dnn/src/common/mask_conv.cpp | 11 -------- dnn/src/common/matrix_inverse.cpp | 10 ------- dnn/src/common/matrix_mul.cpp | 10 ------- dnn/src/common/max_tensor_diff.cpp | 11 -------- .../common/megcore/common/computing_context.cpp | 11 -------- .../common/megcore/common/computing_context.hpp | 11 -------- dnn/src/common/megcore/common/device_context.cpp | 10 ------- dnn/src/common/megcore/common/device_context.hpp | 10 ------- dnn/src/common/megcore/cpu/api.cpp | 10 ------- .../megcore/cpu/default_computing_context.cpp | 11 -------- .../megcore/cpu/default_computing_context.hpp | 10 ------- .../common/megcore/cpu/default_device_context.cpp | 11 -------- .../common/megcore/cpu/default_device_context.hpp | 10 ------- dnn/src/common/megcore/public_api/computing.cpp | 11 -------- dnn/src/common/megcore/public_api/computing.hpp | 10 ------- dnn/src/common/megcore/public_api/device.cpp | 10 ------- dnn/src/common/megcore/public_api/device.hpp | 10 ------- dnn/src/common/megcore/public_api/misc.cpp | 10 ------- dnn/src/common/mesh_indexing.cpp | 11 -------- dnn/src/common/metahelper.h | 11 -------- dnn/src/common/named_tensor.cpp | 12 -------- dnn/src/common/nchw_nchwxx_valid.cpp | 11 -------- dnn/src/common/nchw_nchwxx_valid.h | 12 -------- dnn/src/common/opr_delegate.cpp | 11 -------- dnn/src/common/opr_delegate.h | 11 -------- dnn/src/common/opr_trait.h | 11 -------- dnn/src/common/padding.cpp | 12 -------- dnn/src/common/param_pack.cpp | 11 -------- dnn/src/common/pooling.cpp | 11 -------- .../pooling/do_max_pooling_3x3_s2x2_float_decl.inl | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_float_def.inl | 10 ------- dnn/src/common/postprocess.h | 11 -------- dnn/src/common/postprocess_helper.h | 12 -------- dnn/src/common/powc.cpp | 11 -------- dnn/src/common/reduce.cpp | 10 ------- dnn/src/common/reduce_helper.cpp | 10 ------- dnn/src/common/reduce_helper.h | 10 ------- dnn/src/common/reduce_helper_device.h | 10 ------- dnn/src/common/relayout.cpp | 12 -------- dnn/src/common/relayout_format.cpp | 12 -------- dnn/src/common/relayout_helper.h | 11 -------- dnn/src/common/remap.cpp | 11 -------- dnn/src/common/resize.cpp | 12 -------- dnn/src/common/resize.cuh | 11 -------- dnn/src/common/rng.cpp | 11 -------- dnn/src/common/rnn.cpp | 10 ------- dnn/src/common/rnn.h | 10 ------- dnn/src/common/rnn_cell.cpp | 10 ------- dnn/src/common/rnn_cell.h | 10 ------- dnn/src/common/roi_align.cpp | 10 ------- dnn/src/common/roi_align_helper.h | 10 ------- dnn/src/common/roi_copy.cpp | 10 ------- dnn/src/common/roi_pooling.cpp | 10 ------- dnn/src/common/roi_pooling_helper.h | 10 ------- dnn/src/common/rotate.cpp | 11 -------- dnn/src/common/rounding_converter.cuh | 11 -------- dnn/src/common/separableConv.cpp | 10 ------- dnn/src/common/separableFilter.cpp | 10 ------- dnn/src/common/simd_macro/epilogue.h | 10 ------- dnn/src/common/sliding_window_transpose.cpp | 10 ------- dnn/src/common/small_vector.cpp | 11 -------- dnn/src/common/softmax.cpp | 11 -------- dnn/src/common/svd.cpp | 10 ------- dnn/src/common/tensor_format.cpp | 11 -------- dnn/src/common/tensor_iter.cpp | 11 -------- dnn/src/common/tensor_remap.cpp | 10 ------- dnn/src/common/tile_repeat.cpp | 10 ------- dnn/src/common/tile_repeat_helper.cpp | 10 ------- dnn/src/common/tile_repeat_helper.h | 10 ------- dnn/src/common/topk.cpp | 11 -------- dnn/src/common/tqt.cpp | 12 -------- dnn/src/common/transpose.cpp | 10 ------- dnn/src/common/type_cvt.cpp | 10 ------- dnn/src/common/unroll_macro.h | 12 -------- dnn/src/common/utils.cpp | 11 -------- dnn/src/common/utils.cuh | 10 ------- dnn/src/common/utils.h | 11 -------- dnn/src/common/version.cpp | 11 -------- dnn/src/common/version_symbol.h | 11 -------- dnn/src/common/warp_affine.cpp | 10 ------- dnn/src/common/warp_common.cpp | 11 -------- dnn/src/common/warp_perspective.cpp | 11 -------- dnn/src/common/warp_perspective_helper.cpp | 11 -------- dnn/src/common/warp_perspective_helper.h | 10 ------- dnn/src/common/winograd/winograd_helper.cpp | 11 -------- dnn/src/common/winograd/winograd_helper.h | 11 -------- dnn/src/cuda/adaptive_pooling/opr_impl.cpp | 11 -------- dnn/src/cuda/adaptive_pooling/opr_impl.h | 11 -------- dnn/src/cuda/add_update/kern.cu | 11 -------- dnn/src/cuda/add_update/kern.cuh | 11 -------- dnn/src/cuda/add_update/opr_impl.cpp | 11 -------- dnn/src/cuda/add_update/opr_impl.h | 11 -------- dnn/src/cuda/argmxx/argmxx.cu | 10 ------- dnn/src/cuda/argmxx/argmxx.cuh | 10 ------- dnn/src/cuda/argmxx/opr_impl.cpp | 10 ------- dnn/src/cuda/argmxx/opr_impl.h | 10 ------- dnn/src/cuda/argsort/argsort.cu | 11 -------- dnn/src/cuda/argsort/argsort.cuh | 11 -------- dnn/src/cuda/argsort/backward.cu | 11 -------- dnn/src/cuda/argsort/backward.cuh | 10 ------- dnn/src/cuda/argsort/bitonic_sort.cu | 11 -------- dnn/src/cuda/argsort/bitonic_sort.cuh | 11 -------- dnn/src/cuda/argsort/opr_impl.cpp | 11 -------- dnn/src/cuda/argsort/opr_impl.h | 10 ------- dnn/src/cuda/atomic_add.cuh | 11 -------- dnn/src/cuda/batch_conv_bias/algo.cpp | 11 -------- dnn/src/cuda/batch_conv_bias/algo.h | 11 -------- dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh | 10 ------- .../cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp | 11 -------- dnn/src/cuda/batch_conv_bias/helper.cu | 10 ------- dnn/src/cuda/batch_conv_bias/helper.cuh | 10 ------- .../implicit_gemm_int8_nchw4_dp4a.cpp | 11 -------- .../int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl | 10 ------- ...tch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl | 10 ------- ...bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl | 10 ------- dnn/src/cuda/batch_conv_bias/opr_impl.cpp | 10 ------- dnn/src/cuda/batch_conv_bias/opr_impl.h | 10 ------- dnn/src/cuda/batch_normalization/opr_impl.cpp | 10 ------- dnn/src/cuda/batch_normalization/opr_impl.h | 10 ------- dnn/src/cuda/batched_matrix_mul/algo.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/algo.h | 11 -------- dnn/src/cuda/batched_matrix_mul/brute_force.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/cublas.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/helper.cu | 10 ------- dnn/src/cuda/batched_matrix_mul/helper.cuh | 10 ------- dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/int8x8x32.cu | 10 ------- dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh | 10 ------- dnn/src/cuda/batched_matrix_mul/opr_impl.cpp | 10 ------- dnn/src/cuda/batched_matrix_mul/opr_impl.h | 10 ------- dnn/src/cuda/check_non_finite/kern.cu | 10 ------- dnn/src/cuda/check_non_finite/opr_impl.cpp | 11 -------- dnn/src/cuda/check_non_finite/opr_impl.h | 11 -------- dnn/src/cuda/checksum/kern.cu | 10 ------- dnn/src/cuda/checksum/kern.cuh | 11 -------- dnn/src/cuda/checksum/opr_impl.cpp | 11 -------- dnn/src/cuda/checksum/opr_impl.h | 11 -------- dnn/src/cuda/concat/concat.cu | 10 ------- dnn/src/cuda/concat/concat.cuh | 10 ------- dnn/src/cuda/concat/opr_impl.cpp | 10 ------- dnn/src/cuda/concat/opr_impl.h | 10 ------- dnn/src/cuda/cond_take/kern.cu | 11 -------- dnn/src/cuda/cond_take/kern.cuh | 10 ------- dnn/src/cuda/cond_take/kern.inl | 11 -------- dnn/src/cuda/cond_take/opr_impl.cpp | 11 -------- dnn/src/cuda/cond_take/opr_impl.h | 10 ------- dnn/src/cuda/conv_bias/algo.cpp | 12 -------- dnn/src/cuda/conv_bias/algo.h | 12 -------- dnn/src/cuda/conv_bias/batched_matmul.cpp | 12 -------- dnn/src/cuda/conv_bias/bfloat16.cpp | 12 -------- dnn/src/cuda/conv_bias/chanwise.cpp | 11 -------- .../conv_bias/chanwise/depthwise_large_filter.cuh | 10 ------- .../chanwise/depthwise_large_filter_algo.cuh | 10 ------- dnn/src/cuda/conv_bias/chanwise/fwd.cu | 11 -------- dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu | 10 ------- .../cuda/conv_bias/chanwise/fwd_large_filter.cu | 11 -------- dnn/src/cuda/conv_bias/chanwise/fwd_small.cu | 11 -------- dnn/src/cuda/conv_bias/chanwise/kern.cuh | 10 ------- dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh | 10 ------- dnn/src/cuda/conv_bias/chanwise/launch_config.cpp | 11 -------- dnn/src/cuda/conv_bias/chanwise/launch_config.cuh | 11 -------- dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp | 10 ------- dnn/src/cuda/conv_bias/chanwise_small.cpp | 11 -------- dnn/src/cuda/conv_bias/conv_bias_int8.cuh | 10 ------- dnn/src/cuda/conv_bias/conv_nchwqs8.cpp | 12 -------- dnn/src/cuda/conv_bias/cudnn_conv.cpp | 11 -------- .../cuda/conv_bias/cudnn_conv_bias_activation.cpp | 11 -------- .../cuda/conv_bias/cutlass_convolution_base.cpp | 12 -------- dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu | 12 -------- dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh | 12 -------- dnn/src/cuda/conv_bias/depthwise_large_filter.cpp | 11 -------- dnn/src/cuda/conv_bias/group_conv.cpp | 11 -------- dnn/src/cuda/conv_bias/helper.cpp | 10 ------- dnn/src/cuda/conv_bias/helper.h | 10 ------- .../implicit_batched_gemm_float16_nchw_hmma.cpp | 12 -------- .../implicit_batched_gemm_float32_nchw_fma.cpp | 12 -------- .../implicit_gemm_int4_int4_nchw64_imma.cpp | 12 -------- .../implicit_gemm_int4_int4_nhwc_imma.cpp | 12 -------- .../implicit_gemm_int4_nchw64_imma_base.cpp | 12 -------- .../implicit_gemm_int4_nhwc_imma_base.cpp | 12 -------- .../conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp | 11 -------- .../conv_bias/implicit_gemm_int8_chwn4_imma.cpp | 11 -------- ...mplicit_gemm_int8_chwn4_imma_reorder_filter.cpp | 11 -------- .../implicit_gemm_int8_chwn4_imma_unroll_width.cpp | 11 -------- .../conv_bias/implicit_gemm_int8_nchw32_imma.cpp | 12 -------- .../conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp | 12 -------- .../conv_bias/implicit_gemm_int8_nchw4_imma.cpp | 11 -------- .../conv_bias/implicit_gemm_int8_nhwc_imma.cpp | 12 -------- .../implicit_gemm_uint4_int4_nchw64_imma.cpp | 12 -------- .../implicit_gemm_uint4_int4_nhwc_imma.cpp | 12 -------- dnn/src/cuda/conv_bias/inplace_matmul.cpp | 11 -------- .../conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl | 10 ------- ...ias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl | 10 ------- ...icit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl | 10 ------- ...int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl | 10 ------- ...int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl | 10 ------- ...emm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl | 10 ------- ..._gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl | 10 ------- ..._int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl | 10 ------- ...gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl | 10 ------- ...t_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl | 10 ------- ..._int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl | 10 ------- ...gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl | 10 ------- ...t_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl | 10 ------- dnn/src/cuda/conv_bias/matmul.cpp | 12 -------- dnn/src/cuda/conv_bias/matmul/im2col.cu | 10 ------- dnn/src/cuda/conv_bias/matmul/im2col.cuh | 10 ------- dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu | 10 ------- dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh | 10 ------- .../cuda/conv_bias/matmul/inplace_matmul_impl.cu | 10 ------- .../cuda/conv_bias/matmul/inplace_matmul_impl.cuh | 10 ------- dnn/src/cuda/conv_bias/matmul_8x8x32.cpp | 10 ------- dnn/src/cuda/conv_bias/opr_impl.cpp | 11 -------- dnn/src/cuda/conv_bias/opr_impl.h | 11 -------- dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp | 11 -------- .../conv_bias/quint4x4x32_wmma/activation_u4.cpp | 26 ------------------ .../conv_bias/quint4x4x32_wmma/activation_u4.cu | 11 -------- .../conv_bias/quint4x4x32_wmma/activation_u4.cuh | 11 -------- .../quint4x4x32_wmma/reduce_with_scale_data.cu | 11 -------- .../quint4x4x32_wmma/reduce_with_scale_data.cuh | 11 -------- .../quint4x4x32_wmma/wmma_conv_integer_u4.cuh | 11 -------- .../quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu | 11 -------- .../quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu | 11 -------- dnn/src/cuda/conv_bias/reduce_filter.cu | 12 -------- dnn/src/cuda/conv_bias/reduce_filter.cuh | 12 -------- dnn/src/cuda/conv_bias/simple_int1.cpp | 12 -------- dnn/src/cuda/convolution/backward_data/algo.cpp | 12 -------- dnn/src/cuda/convolution/backward_data/algo.h | 12 -------- .../cuda/convolution/backward_data/bfloat16.cpp | 11 -------- .../cuda/convolution/backward_data/chanwise.cpp | 12 -------- .../convolution/backward_data/chanwise_small.cpp | 12 -------- dnn/src/cuda/convolution/backward_data/cudnn.cpp | 11 -------- .../backward_data/deconv_int8_helper.cu | 12 -------- .../backward_data/deconv_int8_helper.cuh | 11 -------- .../backward_data/depthwise_large_filter.cpp | 11 -------- .../cuda/convolution/backward_data/group_conv.cpp | 12 -------- .../implicit_batched_gemm_float16_nchw_hmma.cpp | 13 --------- .../implicit_batched_gemm_float32_nchw_fma.cpp | 13 --------- .../implicit_gemm_int8_nchw4_dp4a.cpp | 13 --------- .../backward_data/implicit_gemm_int8_nchw_dp4a.cpp | 13 --------- .../backward_data/implicit_gemm_int8_nhwc_imma.cpp | 13 --------- dnn/src/cuda/convolution/backward_data/matmul.cpp | 12 -------- dnn/src/cuda/convolution/backward_filter/algo.cpp | 11 -------- dnn/src/cuda/convolution/backward_filter/algo.h | 12 -------- .../cuda/convolution/backward_filter/bfloat16.cpp | 12 -------- .../cuda/convolution/backward_filter/chanwise.cpp | 11 -------- dnn/src/cuda/convolution/backward_filter/cudnn.cpp | 11 -------- .../convolution/backward_filter/group_conv.cpp | 11 -------- .../implicit_batched_gemm_float16_nchw_hmma.cpp | 13 --------- .../implicit_batched_gemm_float32_nchw_fma.cpp | 13 --------- .../cuda/convolution/backward_filter/matmul.cpp | 12 -------- dnn/src/cuda/convolution/chanwise/bwd_data.cu | 11 -------- dnn/src/cuda/convolution/chanwise/bwd_filter.cu | 11 -------- .../cuda/convolution/chanwise/bwd_large_filter.cu | 11 -------- dnn/src/cuda/convolution/chanwise/kern.cuh | 10 ------- dnn/src/cuda/convolution/chanwise/kern_helper.cuh | 10 ------- .../cuda/convolution/chanwise/launch_config.cpp | 11 -------- .../cuda/convolution/chanwise/launch_config.cuh | 11 -------- dnn/src/cuda/convolution/forward/algos.cpp | 12 -------- dnn/src/cuda/convolution/forward/algos.h | 12 -------- dnn/src/cuda/convolution/helper.cpp | 11 -------- dnn/src/cuda/convolution/helper.h | 10 ------- dnn/src/cuda/convolution/im2col.cu | 10 ------- dnn/src/cuda/convolution/im2col.cuh | 10 ------- dnn/src/cuda/convolution/opr_impl.cpp | 12 -------- dnn/src/cuda/convolution/opr_impl.h | 11 -------- dnn/src/cuda/convolution3d/backward_data/algo.cpp | 11 -------- dnn/src/cuda/convolution3d/backward_data/algo.h | 12 -------- .../cuda/convolution3d/backward_data/chanwise.cpp | 11 -------- dnn/src/cuda/convolution3d/backward_data/cudnn.cpp | 11 -------- .../convolution3d/backward_data/group_conv.cpp | 11 -------- .../cuda/convolution3d/backward_filter/algo.cpp | 11 -------- dnn/src/cuda/convolution3d/backward_filter/algo.h | 12 -------- .../convolution3d/backward_filter/chanwise.cpp | 11 -------- .../cuda/convolution3d/backward_filter/cudnn.cpp | 11 -------- .../convolution3d/backward_filter/group_conv.cpp | 11 -------- .../backward_filter/inplace_matmul.cpp | 11 -------- .../backward_filter/inplace_matmul_impl.cu | 10 ------- .../backward_filter/inplace_matmul_impl.cuh | 10 ------- dnn/src/cuda/convolution3d/chanwise/bwd_data.cu | 11 -------- dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu | 11 -------- dnn/src/cuda/convolution3d/chanwise/fwd.cu | 11 -------- dnn/src/cuda/convolution3d/chanwise/kern.cuh | 10 ------- .../cuda/convolution3d/chanwise/kern_helper.cuh | 10 ------- dnn/src/cuda/convolution3d/forward/1x1x1.cpp | 11 -------- dnn/src/cuda/convolution3d/forward/algo.cpp | 11 -------- dnn/src/cuda/convolution3d/forward/algo.h | 12 -------- dnn/src/cuda/convolution3d/forward/chanwise.cpp | 11 -------- dnn/src/cuda/convolution3d/forward/cudnn.cpp | 11 -------- dnn/src/cuda/convolution3d/forward/group_conv.cpp | 11 -------- .../cuda/convolution3d/forward/inplace_matmul.cpp | 11 -------- .../convolution3d/forward/inplace_matmul_impl.cu | 10 ------- .../convolution3d/forward/inplace_matmul_impl.cuh | 10 ------- dnn/src/cuda/convolution3d/helper.cpp | 11 -------- dnn/src/cuda/convolution3d/helper.h | 10 ------- dnn/src/cuda/convolution3d/opr_impl.cpp | 11 -------- dnn/src/cuda/convolution3d/opr_impl.h | 11 -------- dnn/src/cuda/convolution_helper/activation.cuh | 10 ------- dnn/src/cuda/convolution_helper/bias_visitor.cuh | 10 ------- .../block_tile_consumer/block_consumer.cuh | 10 ------- .../block_tile_consumer/iconv_block_consumer.cuh | 10 ------- .../iconv_block_consumer_coxhw.cuh | 11 -------- .../iconv_block_consumer_unroll_width.cuh | 11 -------- .../iconv_imma_block_consumer.cuh | 12 -------- .../iconv_imma_block_consumer_unroll_width.cuh | 11 -------- .../block_tile_iterator/block_tile_iterator.cuh | 10 ------- .../block_tile_iterator_basic.cuh | 12 -------- .../block_tile_iterator_coxhw.cuh | 12 -------- .../block_tile_iterator_unroll_width.cuh | 11 -------- .../block_tile_iterator_unroll_width_v2.cuh | 11 -------- dnn/src/cuda/convolution_helper/config.cuh | 10 ------- .../convolution_helper/conv_trait/conv_trait.cuh | 10 ------- .../conv_trait/ibatch_conv_trait.cuh | 10 ------- .../conv_trait/iconv_imma_trait.cuh | 10 ------- .../convolution_helper/conv_trait/iconv_trait.cuh | 10 ------- dnn/src/cuda/convolution_helper/epilogue.cuh | 10 ------- .../global_memory_visitor.cuh | 10 ------- .../global_memory_visitor_cixhw.cuh | 11 -------- .../global_memory_visitor_cixn.cuh | 11 -------- .../global_memory_visitor_cixwoxn.cuh | 11 -------- .../global_memory_visitor_common.cuh | 11 -------- .../global_memory_visitor_coxci.cuh | 11 -------- .../global_memory_visitor_imma_cixn.cuh | 11 -------- .../global_memory_visitor_imma_cixwixn.cuh | 11 -------- .../global_memory_visitor_imma_cixwoxn.cuh | 11 -------- .../global_memory_visitor_imma_fwxco.cuh | 11 -------- .../global_memory_writer/global_memory_writer.cuh | 10 ------- .../iconv_global_memory_writer.cuh | 11 -------- .../iconv_global_memory_writer_coxhw.cuh | 11 -------- .../iconv_global_memory_writer_unroll_width.cuh | 11 -------- .../iconv_imma_global_memory_writer.cuh | 11 -------- ...conv_imma_global_memory_writer_unroll_width.cuh | 11 -------- dnn/src/cuda/convolution_helper/kernel.cuh | 10 ------- dnn/src/cuda/convolution_helper/layout.cuh | 10 ------- dnn/src/cuda/convolution_helper/parameter.cuh | 10 ------- dnn/src/cuda/convolution_helper/prologue.cuh | 10 ------- dnn/src/cuda/convpooling/conv_pooling.cuh | 10 ------- dnn/src/cuda/convpooling/conv_pooling.h | 10 ------- dnn/src/cuda/convpooling/conv_pooling_tex.cu | 11 -------- dnn/src/cuda/convpooling/conv_pooling_utils.cuh | 10 ------- .../convpooling/kernel_impl/generate_kernel.py | 7 ----- dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h | 10 ------- .../kernel_impl/kernel_impl_identity_ksize1.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize2.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize3.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize4.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize5.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize6.cu | 10 ------- .../kernel_impl/kernel_impl_identity_ksize7.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize1.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize2.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize3.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize4.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize5.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize6.cu | 10 ------- .../kernel_impl/kernel_impl_relu_ksize7.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize1.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize2.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize3.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize4.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize5.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize6.cu | 10 ------- .../kernel_impl/kernel_impl_sigmoid_ksize7.cu | 10 ------- dnn/src/cuda/convpooling/opr_impl.cpp | 10 ------- dnn/src/cuda/convpooling/opr_impl.h | 10 ------- dnn/src/cuda/correlation/correlation_cuda.cu | 11 -------- dnn/src/cuda/correlation/correlation_cuda.cuh | 11 -------- dnn/src/cuda/correlation/opr_impl.cpp | 12 -------- dnn/src/cuda/correlation/opr_impl.h | 11 -------- dnn/src/cuda/cuda_shfl_compat.cuh | 10 ------- dnn/src/cuda/cudnn_with_check.h | 11 -------- dnn/src/cuda/cudnn_wrapper.cpp | 10 ------- dnn/src/cuda/cudnn_wrapper.h | 10 ------- dnn/src/cuda/cumsum/cumsum.cu | 11 -------- dnn/src/cuda/cumsum/kern.cuh | 11 -------- dnn/src/cuda/cumsum/kern_helper.cuh | 11 -------- dnn/src/cuda/cumsum/kern_impl.cu | 11 -------- dnn/src/cuda/cumsum/kern_impl.cuinl | 11 -------- dnn/src/cuda/cumsum/opr_impl.cpp | 11 -------- dnn/src/cuda/cumsum/opr_impl.h | 10 ------- dnn/src/cuda/cutlass/arch_mappings.h | 12 -------- dnn/src/cuda/cutlass/initialize_all.cu | 12 -------- dnn/src/cuda/cutlass/library.h | 12 -------- dnn/src/cuda/cutlass/library_internal.h | 12 -------- dnn/src/cuda/cutlass/manifest.cpp | 12 -------- dnn/src/cuda/cutlass/manifest.h | 12 -------- dnn/src/cuda/cutlass/operation_table.cpp | 12 -------- dnn/src/cuda/cutlass/operation_table.h | 12 -------- dnn/src/cuda/cutlass/singleton.cu | 12 -------- dnn/src/cuda/cutlass/singleton.h | 12 -------- dnn/src/cuda/cutlass/util.cu | 12 -------- dnn/src/cuda/cutlass/util.h | 12 -------- dnn/src/cuda/cv/kernel_common.cuh | 10 ------- dnn/src/cuda/cvt_color/opr_impl.cpp | 10 ------- dnn/src/cuda/cvt_color/opr_impl.h | 10 ------- dnn/src/cuda/dct/dct_channel_select.cu | 12 -------- dnn/src/cuda/dct/dct_channel_select.cuh | 13 --------- dnn/src/cuda/dct/opr_impl.cpp | 11 -------- dnn/src/cuda/dct/opr_impl.h | 11 -------- dnn/src/cuda/deformable_conv/bwd_data/algo.cpp | 11 -------- dnn/src/cuda/deformable_conv/bwd_data/algo.h | 11 -------- .../cuda/deformable_conv/bwd_data/algo_matmul.cpp | 11 -------- dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp | 11 -------- dnn/src/cuda/deformable_conv/bwd_flt/algo.h | 11 -------- .../cuda/deformable_conv/bwd_flt/algo_matmul.cpp | 12 -------- dnn/src/cuda/deformable_conv/fwd/algo.cpp | 11 -------- dnn/src/cuda/deformable_conv/fwd/algo.h | 11 -------- dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp | 11 -------- .../cuda/deformable_conv/kimpl/deformable_conv.cu | 11 -------- .../cuda/deformable_conv/kimpl/deformable_conv.cuh | 11 -------- dnn/src/cuda/deformable_conv/opr_impl.cpp | 11 -------- dnn/src/cuda/deformable_conv/opr_impl.h | 11 -------- .../cuda/deformable_ps_roi_pooling/kimpl/kern.cu | 11 -------- .../cuda/deformable_ps_roi_pooling/kimpl/kern.cuh | 11 -------- .../cuda/deformable_ps_roi_pooling/opr_impl.cpp | 10 ------- dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h | 10 ------- dnn/src/cuda/diag/diag.cu | 10 ------- dnn/src/cuda/diag/diag.cuh | 10 ------- dnn/src/cuda/diag/opr_impl.cpp | 10 ------- dnn/src/cuda/diag/opr_impl.h | 10 ------- dnn/src/cuda/dot/dot.cu | 10 ------- dnn/src/cuda/dot/dot.cuh | 10 ------- dnn/src/cuda/dot/opr_impl.cpp | 10 ------- dnn/src/cuda/dot/opr_impl.h | 10 ------- dnn/src/cuda/dropout/opr_impl.cpp | 12 -------- dnn/src/cuda/dropout/opr_impl.h | 11 -------- dnn/src/cuda/elemwise/kern_impl.inl | 11 -------- dnn/src/cuda/elemwise/kern_wrapper.cuh | 11 -------- dnn/src/cuda/elemwise/opr_impl.cpp | 11 -------- dnn/src/cuda/elemwise/opr_impl.h | 11 -------- dnn/src/cuda/elemwise/special_kerns.cuh | 11 -------- dnn/src/cuda/elemwise/special_kerns.inl | 11 -------- dnn/src/cuda/elemwise_helper.cpp | 12 -------- dnn/src/cuda/elemwise_helper.cuh | 12 -------- dnn/src/cuda/elemwise_helper_q4.cuh | 12 -------- dnn/src/cuda/elemwise_multi_type/kern.cu | 11 -------- dnn/src/cuda/elemwise_multi_type/kern.cuh | 10 ------- .../cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu | 10 ------- dnn/src/cuda/elemwise_multi_type/kern_impl.inl | 11 -------- dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl | 12 -------- dnn/src/cuda/elemwise_multi_type/kern_ops.cuh | 12 -------- dnn/src/cuda/elemwise_multi_type/opr_impl.cpp | 11 -------- dnn/src/cuda/elemwise_multi_type/opr_impl.h | 11 -------- dnn/src/cuda/error_info.cuh | 11 -------- dnn/src/cuda/eye/eye.cu | 10 ------- dnn/src/cuda/eye/eye.cuh | 10 ------- dnn/src/cuda/eye/opr_impl.cpp | 10 ------- dnn/src/cuda/eye/opr_impl.h | 10 ------- dnn/src/cuda/fake_quant/kern.cu | 12 -------- dnn/src/cuda/fake_quant/kern.cuh | 12 -------- dnn/src/cuda/fake_quant/opr_impl.cpp | 12 -------- dnn/src/cuda/fake_quant/opr_impl.h | 12 -------- dnn/src/cuda/fill/kern.cu | 10 ------- dnn/src/cuda/fill/kern.cuh | 10 ------- dnn/src/cuda/fill/opr_impl.cpp | 11 -------- dnn/src/cuda/fill/opr_impl.h | 11 -------- dnn/src/cuda/flip/flip.cu | 10 ------- dnn/src/cuda/flip/flip.cuh | 10 ------- dnn/src/cuda/flip/opr_impl.cpp | 11 -------- dnn/src/cuda/flip/opr_impl.h | 10 ------- dnn/src/cuda/fp16_help.cuh | 10 ------- dnn/src/cuda/gaussian_blur/gaussian_blur.cuh | 10 ------- dnn/src/cuda/gaussian_blur/opr_impl.cpp | 11 -------- dnn/src/cuda/gaussian_blur/opr_impl.h | 10 ------- dnn/src/cuda/group_local/bwd_data.cpp | 10 ------- dnn/src/cuda/group_local/bwd_filter.cpp | 10 ------- dnn/src/cuda/group_local/forward/kern.cu | 11 -------- dnn/src/cuda/group_local/forward/kern.cuh | 10 ------- dnn/src/cuda/group_local/forward/opr_impl.cpp | 11 -------- dnn/src/cuda/group_local/opr_impl.h | 10 ------- dnn/src/cuda/handle.cpp | 11 -------- dnn/src/cuda/handle.h | 10 ------- dnn/src/cuda/handle_create.cpp | 12 -------- dnn/src/cuda/images2neibs/kernel.cu | 10 ------- dnn/src/cuda/images2neibs/kernel.cuh | 10 ------- dnn/src/cuda/images2neibs/opr_impl.cpp | 10 ------- dnn/src/cuda/images2neibs/opr_impl.h | 10 ------- dnn/src/cuda/indexing_multi_axis_vec/kern.cuh | 11 -------- .../indexing_multi_axis_vec/kern_apply_opr_fwd.cu | 11 -------- .../kern_apply_opr_impl.cuinl | 11 -------- .../indexing_multi_axis_vec/kern_apply_opr_incr.cu | 11 -------- .../indexing_multi_axis_vec/kern_apply_opr_set.cu | 11 -------- .../kern_gen_offset_base.cu | 11 -------- dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp | 11 -------- dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h | 11 -------- dnn/src/cuda/indexing_one_hot/kern.cu | 11 -------- dnn/src/cuda/indexing_one_hot/kern.cuh | 11 -------- dnn/src/cuda/indexing_one_hot/opr_impl.cpp | 11 -------- dnn/src/cuda/indexing_one_hot/opr_impl.h | 11 -------- dnn/src/cuda/int_fastdiv.cpp | 11 -------- dnn/src/cuda/int_fastdiv.cuh | 11 -------- dnn/src/cuda/integer_subbyte_utils.cuh | 11 -------- dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh | 11 -------- dnn/src/cuda/kernel_common/diagnostic_prologue.cuh | 11 -------- dnn/src/cuda/layer_norm/layer_norm_cuda.cu | 11 -------- dnn/src/cuda/layer_norm/layer_norm_cuda.cuh | 11 -------- dnn/src/cuda/layer_norm/opr_impl.cpp | 12 -------- dnn/src/cuda/layer_norm/opr_impl.h | 11 -------- dnn/src/cuda/linspace/linspace.cu | 10 ------- dnn/src/cuda/linspace/linspace.cuh | 10 ------- dnn/src/cuda/linspace/opr_impl.cpp | 10 ------- dnn/src/cuda/linspace/opr_impl.h | 10 ------- dnn/src/cuda/local/backward_data.cpp | 10 ------- dnn/src/cuda/local/backward_data.cu | 10 ------- dnn/src/cuda/local/backward_filter.cpp | 10 ------- dnn/src/cuda/local/backward_filter.cu | 10 ------- dnn/src/cuda/local/cuda-convnet2/LICENSE | 10 ------- dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh | 32 ---------------------- dnn/src/cuda/local/cuda-convnet2/filter_acts.cu | 32 ---------------------- .../cuda-convnet2/filter_acts/filter_act_color.cuh | 31 --------------------- .../filter_acts/filter_act_color_scale0_ckimg0.cu | 31 --------------------- .../filter_acts/filter_act_color_scale0_ckimg1.cu | 31 --------------------- .../filter_acts/filter_act_color_scale1_ckimg0.cu | 31 --------------------- .../filter_acts/filter_act_color_scale1_ckimg1.cu | 31 --------------------- .../filter_acts/filter_act_sparse2.cuh | 31 --------------------- .../filter_act_sparse2_scale0_ckimg0.cu | 31 --------------------- .../filter_act_sparse2_scale0_ckimg1.cu | 31 --------------------- .../filter_act_sparse2_scale1_ckimg0.cu | 31 --------------------- .../filter_act_sparse2_scale1_ckimg1.cu | 31 --------------------- .../filter_act_sparse2_y4x32i4f16c4_tex.cu | 32 ---------------------- .../filter_acts/filter_act_templates.cuh | 31 --------------------- dnn/src/cuda/local/cuda-convnet2/helper_cuda.h | 10 ------- dnn/src/cuda/local/cuda-convnet2/img_acts.cu | 32 ---------------------- .../local/cuda-convnet2/img_acts/img_act_color.cuh | 31 --------------------- .../cuda-convnet2/img_acts/img_act_color_ff.cu | 31 --------------------- .../cuda-convnet2/img_acts/img_act_color_ft.cu | 31 --------------------- .../cuda-convnet2/img_acts/img_act_manycolor.cuh | 32 ---------------------- .../img_acts/img_act_manycolor_kepler.cuh | 31 --------------------- .../img_acts/img_act_manycolor_kepler_fff.cu | 31 --------------------- .../img_acts/img_act_manycolor_kepler_ftf.cu | 31 --------------------- .../cuda-convnet2/img_acts/img_act_medium_color.cu | 31 --------------------- .../img_acts/img_act_medium_color.cuh | 31 --------------------- .../cuda-convnet2/img_acts/img_act_templates.cuh | 31 --------------------- dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh | 32 ---------------------- dnn/src/cuda/local/cuda-convnet2/weight_acts.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_1_ff.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_1_ft.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_2_ff.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_2_ft.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_3_ff.cu | 32 ---------------------- .../weight_acts_c_kepler_sw_by_16_c_3_ft.cu | 31 --------------------- .../weight_acts_c_kepler_sw_by_16_f4.cu | 31 --------------------- .../weight_acts_c_kepler_sw_by_16_pt_4.cu | 32 ---------------------- .../weight_acts/weight_acts_c_kepler_sw_by_8.cu | 31 --------------------- .../cuda-convnet2/weight_acts/wet_act_c_kepler.cuh | 31 --------------------- .../weight_acts/wet_act_c_kepler_sw.cuh | 31 --------------------- .../weight_acts/wet_act_mc_mf_kepler.cuh | 31 --------------------- .../weight_acts/wet_act_mc_mf_kepler_sw.cuh | 31 --------------------- .../wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu | 32 ---------------------- .../wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu | 32 ---------------------- .../weight_acts/wet_act_templates.cuh | 31 --------------------- dnn/src/cuda/local/forward.cpp | 10 ------- dnn/src/cuda/local/forward.cu | 10 ------- dnn/src/cuda/local/local.cuh | 10 ------- dnn/src/cuda/local/opr_impl.h | 10 ------- dnn/src/cuda/local_share/backward_data/algo.cpp | 11 -------- dnn/src/cuda/local_share/backward_data/algo.h | 11 -------- .../local_share/backward_data/batched_matmul.cpp | 10 ------- .../local_share/backward_data/implicit_gemm.cpp | 10 ------- .../backward_data/local_share_bwd_data.cuh | 10 ------- .../local_share_bwd_data_f32_implicit_gemm.cu | 10 ------- dnn/src/cuda/local_share/backward_filter/algo.cpp | 11 -------- dnn/src/cuda/local_share/backward_filter/algo.h | 11 -------- .../local_share/backward_filter/batched_matmul.cpp | 10 ------- .../local_share/backward_filter/implicit_gemm.cpp | 10 ------- .../backward_filter/local_share_bwd_filter.cuh | 10 ------- .../local_share_bwd_filter_f32_implicit_gemm.cu | 11 -------- dnn/src/cuda/local_share/forward/algo.cpp | 11 -------- dnn/src/cuda/local_share/forward/algo.h | 11 -------- .../local_share/forward/batch_size_aware_chwn.cpp | 10 ------- .../forward/batch_size_aware_chwn_small_image.cpp | 10 ------- .../cuda/local_share/forward/batched_matmul.cpp | 10 ------- .../local_share/forward/local_share_forward.cuh | 10 ------- .../local_share_fwd_chwn_f32_batch_size_aware.cu | 10 ------- ...re_fwd_chwn_f32_batch_size_aware_small_image.cu | 11 -------- dnn/src/cuda/local_share/helper.cpp | 10 ------- dnn/src/cuda/local_share/helper.cuh | 10 ------- dnn/src/cuda/local_share/im2col.cu | 10 ------- dnn/src/cuda/local_share/im2col.cuh | 10 ------- dnn/src/cuda/local_share/opr_impl.cpp | 10 ------- dnn/src/cuda/local_share/opr_impl.h | 10 ------- dnn/src/cuda/lrn/opr_impl.cpp | 10 ------- dnn/src/cuda/lrn/opr_impl.h | 10 ------- dnn/src/cuda/lsq/kern.cu | 12 -------- dnn/src/cuda/lsq/kern.cuh | 12 -------- dnn/src/cuda/lsq/opr_impl.cpp | 12 -------- dnn/src/cuda/lsq/opr_impl.h | 12 -------- dnn/src/cuda/mask_conv/mask_conv.cu | 11 -------- dnn/src/cuda/mask_conv/mask_conv.cuh | 11 -------- dnn/src/cuda/mask_conv/opr_impl.cpp | 11 -------- dnn/src/cuda/mask_conv/opr_impl.h | 10 ------- dnn/src/cuda/matrix_inverse/helper.cu | 11 -------- dnn/src/cuda/matrix_inverse/helper.cuh | 10 ------- dnn/src/cuda/matrix_inverse/opr_impl.cpp | 10 ------- dnn/src/cuda/matrix_inverse/opr_impl.h | 10 ------- dnn/src/cuda/matrix_mul/algos.cpp | 11 -------- dnn/src/cuda/matrix_mul/algos.h | 12 -------- dnn/src/cuda/matrix_mul/bfloat16.cpp | 12 -------- dnn/src/cuda/matrix_mul/cublas.cpp | 11 -------- dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp | 11 -------- dnn/src/cuda/matrix_mul/cublasLt_wrapper.h | 10 ------- dnn/src/cuda/matrix_mul/cublas_lt.cpp | 11 -------- .../cuda/matrix_mul/cutlass_float16_tensorop.cpp | 12 -------- .../cutlass_float16_tensorop_split_k.cpp | 12 -------- dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp | 12 -------- .../cutlass_float32_simt_gemv_batched_strided.cpp | 12 -------- .../matrix_mul/cutlass_float32_simt_split_k.cpp | 12 -------- .../cuda/matrix_mul/cutlass_matrix_mul_base.cpp | 12 -------- .../cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh | 11 -------- ...lass_matrix_mul_wrapper_batched_gemv_strided.cu | 11 -------- ...s_matrix_mul_wrapper_batched_gemv_strided.cuinl | 12 -------- dnn/src/cuda/matrix_mul/naive.cpp | 11 -------- dnn/src/cuda/matrix_mul/naive.cu | 11 -------- dnn/src/cuda/matrix_mul/naive.cuh | 11 -------- dnn/src/cuda/matrix_mul/opr_impl.cpp | 10 ------- dnn/src/cuda/matrix_mul/opr_impl.h | 10 ------- dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp | 11 -------- .../uint4x4x32_wmma/preprocess_quantize_sum.cu | 11 -------- .../uint4x4x32_wmma/preprocess_quantize_sum.cuh | 10 ------- .../matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp | 11 -------- .../matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h | 10 ------- .../uint4x4x32_wmma/wmma_matrix_mul_u4.cu | 11 -------- .../uint4x4x32_wmma/wmma_matrix_mul_u4.cuh | 11 -------- dnn/src/cuda/max_tensor_diff/opr_impl.cpp | 11 -------- dnn/src/cuda/max_tensor_diff/opr_impl.h | 10 ------- dnn/src/cuda/megcore/cuda_computing_context.cpp | 10 ------- dnn/src/cuda/megcore/cuda_computing_context.hpp | 10 ------- dnn/src/cuda/megcore/cuda_device_context.cpp | 11 -------- dnn/src/cuda/megcore/cuda_device_context.hpp | 10 ------- dnn/src/cuda/megcore/public_api/computing.cpp | 10 ------- dnn/src/cuda/memory_utils.cuh | 11 -------- dnn/src/cuda/mesh_indexing/mesh_indexing.cu | 11 -------- dnn/src/cuda/mesh_indexing/mesh_indexing.cuh | 10 ------- dnn/src/cuda/mesh_indexing/opr_impl.cpp | 10 ------- dnn/src/cuda/mesh_indexing/opr_impl.h | 10 ------- dnn/src/cuda/padding/opr_impl.cpp | 11 -------- dnn/src/cuda/padding/opr_impl.h | 11 -------- dnn/src/cuda/padding/padding.cu | 11 -------- dnn/src/cuda/padding/padding.cuh | 11 -------- dnn/src/cuda/param_pack/opr_impl.cpp | 11 -------- dnn/src/cuda/param_pack/opr_impl.h | 11 -------- dnn/src/cuda/param_pack/param_pack.cu | 11 -------- dnn/src/cuda/param_pack/param_pack.cuh | 11 -------- dnn/src/cuda/pooling/algo.cpp | 12 -------- dnn/src/cuda/pooling/algo.h | 12 -------- dnn/src/cuda/pooling/opr_impl.cpp | 11 -------- dnn/src/cuda/pooling/opr_impl.h | 10 ------- dnn/src/cuda/pooling/pooling2d_qint.cu | 11 -------- dnn/src/cuda/pooling/pooling2d_qint.cuh | 11 -------- dnn/src/cuda/powc/kern.cu | 11 -------- dnn/src/cuda/powc/kern.cuh | 11 -------- dnn/src/cuda/powc/opr_impl.cpp | 11 -------- dnn/src/cuda/powc/opr_impl.h | 10 ------- dnn/src/cuda/query_blocksize.cpp | 11 -------- dnn/src/cuda/query_blocksize.cuh | 11 -------- dnn/src/cuda/query_blocksize_impl.cu | 11 -------- dnn/src/cuda/reduce/opr_impl.cpp | 11 -------- dnn/src/cuda/reduce/opr_impl.h | 10 ------- dnn/src/cuda/reduce/reduce.cu | 10 ------- dnn/src/cuda/reduce_helper.cuh | 10 ------- dnn/src/cuda/reduce_helper.cuinl | 11 -------- dnn/src/cuda/reduce_helper/column.cuinl | 11 -------- dnn/src/cuda/reduce_helper/largeBC.cuinl | 11 -------- dnn/src/cuda/relayout/kern.cpp | 11 -------- dnn/src/cuda/relayout/kern.cu | 11 -------- dnn/src/cuda/relayout/kern.cuh | 11 -------- dnn/src/cuda/relayout/kern_contiguous.cpp | 11 -------- dnn/src/cuda/relayout/kern_contiguous.cu | 11 -------- dnn/src/cuda/relayout/kern_contiguous.cuh | 11 -------- dnn/src/cuda/relayout/kern_transpose.cu | 11 -------- dnn/src/cuda/relayout/kern_transpose.cuh | 11 -------- dnn/src/cuda/relayout/opr_impl.cpp | 10 ------- dnn/src/cuda/relayout/opr_impl.h | 11 -------- dnn/src/cuda/relayout/param_visitor.cpp | 11 -------- dnn/src/cuda/relayout/param_visitor.cuh | 12 -------- dnn/src/cuda/relayout_format/cuda_post_process.cuh | 11 -------- dnn/src/cuda/relayout_format/opr_impl.cpp | 12 -------- dnn/src/cuda/relayout_format/opr_impl.h | 10 ------- dnn/src/cuda/relayout_format/relayout_format.cpp | 12 -------- dnn/src/cuda/relayout_format/relayout_format.cu | 12 -------- dnn/src/cuda/relayout_format/relayout_format.cuh | 12 -------- dnn/src/cuda/relayout_format/relayout_format.h | 12 -------- .../cuda/relayout_format/relayout_format_kern.cuh | 11 -------- .../relayout_format/relayout_format_nchw_nhwc.cu | 12 -------- .../cuda/relayout_format/relayout_format_utils.cuh | 11 -------- dnn/src/cuda/relayout_format/translayout.cuh | 11 -------- dnn/src/cuda/remap/backward_data.cpp | 12 -------- dnn/src/cuda/remap/backward_data.cu | 11 -------- dnn/src/cuda/remap/backward_mat.cpp | 12 -------- dnn/src/cuda/remap/backward_mat.cu | 11 -------- dnn/src/cuda/remap/common.h | 11 -------- dnn/src/cuda/remap/forward.cpp | 12 -------- dnn/src/cuda/remap/forward.cu | 11 -------- dnn/src/cuda/remap/opr_impl.h | 11 -------- dnn/src/cuda/repeat/opr_impl.cpp | 10 ------- dnn/src/cuda/repeat/opr_impl.h | 10 ------- dnn/src/cuda/repeat/repeat.cu | 10 ------- dnn/src/cuda/repeat/repeat.cuh | 10 ------- dnn/src/cuda/resize/backward.cpp | 10 ------- dnn/src/cuda/resize/backward.cu | 10 ------- dnn/src/cuda/resize/common.cuh | 10 ------- dnn/src/cuda/resize/common.h | 10 ------- dnn/src/cuda/resize/forward.cpp | 10 ------- dnn/src/cuda/resize/forward.cu | 10 ------- dnn/src/cuda/resize/helper.cpp | 10 ------- dnn/src/cuda/resize/helper.h | 10 ------- dnn/src/cuda/resize/opr_impl.h | 10 ------- dnn/src/cuda/resize/resize_cv.cuh | 10 ------- dnn/src/cuda/rng/kernel.cu | 10 ------- dnn/src/cuda/rng/kernel.cuh | 10 ------- dnn/src/cuda/rng/opr_impl.cpp | 11 -------- dnn/src/cuda/rng/opr_impl.h | 11 -------- dnn/src/cuda/roi_align/opr_impl.cpp | 10 ------- dnn/src/cuda/roi_align/opr_impl.h | 10 ------- dnn/src/cuda/roi_align/roi_align.cu | 10 ------- dnn/src/cuda/roi_align/roi_align.cuh | 10 ------- dnn/src/cuda/roi_copy/opr_impl.cpp | 11 -------- dnn/src/cuda/roi_copy/opr_impl.h | 10 ------- dnn/src/cuda/roi_pooling/opr_impl.cpp | 10 ------- dnn/src/cuda/roi_pooling/opr_impl.h | 10 ------- dnn/src/cuda/roi_pooling/roi_pooling.cu | 10 ------- dnn/src/cuda/roi_pooling/roi_pooling.cuh | 10 ------- dnn/src/cuda/rotate/opr_impl.cpp | 11 -------- dnn/src/cuda/rotate/opr_impl.h | 10 ------- dnn/src/cuda/rotate/rotate.cu | 10 ------- dnn/src/cuda/rotate/rotate.cuh | 10 ------- dnn/src/cuda/separable_conv/opr_impl.cpp | 10 ------- dnn/src/cuda/separable_conv/opr_impl.h | 10 ------- dnn/src/cuda/separable_filter/opr_impl.cpp | 11 -------- dnn/src/cuda/separable_filter/opr_impl.h | 10 ------- dnn/src/cuda/sleep/kern.cu | 11 -------- dnn/src/cuda/sleep/kern.cuh | 10 ------- dnn/src/cuda/sleep/opr_impl.cpp | 11 -------- dnn/src/cuda/sleep/opr_impl.h | 10 ------- dnn/src/cuda/sliding_window_transpose/opr_impl.cpp | 10 ------- dnn/src/cuda/sliding_window_transpose/opr_impl.h | 10 ------- .../sliding_window_transpose.cu | 10 ------- .../sliding_window_transpose.cuh | 10 ------- dnn/src/cuda/softmax/opr_impl.cpp | 11 -------- dnn/src/cuda/softmax/opr_impl.h | 11 -------- dnn/src/cuda/split/opr_impl.cpp | 10 ------- dnn/src/cuda/split/opr_impl.h | 10 ------- dnn/src/cuda/split/split.cu | 10 ------- dnn/src/cuda/split/split.cuh | 10 ------- dnn/src/cuda/svd/opr_impl.cpp | 10 ------- dnn/src/cuda/svd/opr_impl.h | 10 ------- dnn/src/cuda/tensor_remap/opr_impl.cpp | 10 ------- dnn/src/cuda/tensor_remap/opr_impl.h | 10 ------- dnn/src/cuda/tensor_remap/tensor_remap.cu | 11 -------- dnn/src/cuda/tensor_remap/tensor_remap.cuh | 10 ------- dnn/src/cuda/tile/opr_impl.cpp | 10 ------- dnn/src/cuda/tile/opr_impl.h | 10 ------- dnn/src/cuda/tile/tile.cu | 10 ------- dnn/src/cuda/tile/tile.cuh | 10 ------- dnn/src/cuda/topk/opr_impl.cpp | 11 -------- dnn/src/cuda/topk/opr_impl.h | 10 ------- dnn/src/cuda/topk/topk_radix.cu | 11 -------- dnn/src/cuda/topk/topk_radix.cuh | 11 -------- dnn/src/cuda/tqt/kern.cu | 12 -------- dnn/src/cuda/tqt/kern.cuh | 12 -------- dnn/src/cuda/tqt/opr_impl.cpp | 12 -------- dnn/src/cuda/tqt/opr_impl.h | 12 -------- dnn/src/cuda/transpose/opr_impl.cpp | 10 ------- dnn/src/cuda/transpose/opr_impl.h | 10 ------- dnn/src/cuda/transpose/transpose.cu | 10 ------- dnn/src/cuda/transpose/transpose.cuh | 10 ------- dnn/src/cuda/transpose_utils.cuh | 11 -------- dnn/src/cuda/type_cvt/kern.cu | 11 -------- dnn/src/cuda/type_cvt/kern.cuh | 11 -------- dnn/src/cuda/type_cvt/opr_impl.cpp | 11 -------- dnn/src/cuda/type_cvt/opr_impl.h | 10 ------- dnn/src/cuda/utils.cpp | 11 -------- dnn/src/cuda/utils.cuh | 11 -------- dnn/src/cuda/utils.h | 11 -------- dnn/src/cuda/warp_affine/common.cuh | 10 ------- dnn/src/cuda/warp_affine/common.h | 10 ------- dnn/src/cuda/warp_affine/helper.cpp | 10 ------- dnn/src/cuda/warp_affine/helper.h | 10 ------- dnn/src/cuda/warp_affine/opr_impl.cpp | 11 -------- dnn/src/cuda/warp_affine/opr_impl.h | 10 ------- dnn/src/cuda/warp_affine/warp_affine.cu | 10 ------- dnn/src/cuda/warp_affine/warp_affine_cv.cuh | 10 ------- dnn/src/cuda/warp_perspective/backward_data.cpp | 11 -------- dnn/src/cuda/warp_perspective/backward_data.cu | 11 -------- dnn/src/cuda/warp_perspective/backward_mat.cpp | 11 -------- dnn/src/cuda/warp_perspective/backward_mat.cu | 11 -------- dnn/src/cuda/warp_perspective/common.cuh | 10 ------- dnn/src/cuda/warp_perspective/common.h | 11 -------- dnn/src/cuda/warp_perspective/forward.cpp | 11 -------- dnn/src/cuda/warp_perspective/forward.cu | 11 -------- dnn/src/cuda/warp_perspective/helper.cpp | 10 ------- dnn/src/cuda/warp_perspective/helper.h | 10 ------- dnn/src/cuda/warp_perspective/opr_impl.h | 11 -------- dnn/src/cuda/warp_perspective/warp_perspective.cuh | 10 ------- .../cuda/warp_perspective/warp_perspective_cv.cuh | 10 ------- dnn/src/fallback/add_update/opr_impl.cpp | 11 -------- dnn/src/fallback/add_update/opr_impl.h | 10 ------- dnn/src/fallback/batched_matrix_mul/algos.cpp | 12 -------- dnn/src/fallback/batched_matrix_mul/algos.h | 12 -------- dnn/src/fallback/batched_matrix_mul/opr_impl.cpp | 11 -------- dnn/src/fallback/batched_matrix_mul/opr_impl.h | 10 ------- dnn/src/fallback/concat/opr_impl.cpp | 10 ------- dnn/src/fallback/concat/opr_impl.h | 10 ------- dnn/src/fallback/conv_bias/algos.cpp | 11 -------- dnn/src/fallback/conv_bias/algos.h | 11 -------- dnn/src/fallback/conv_bias/common.h | 11 -------- dnn/src/fallback/conv_bias/conv1x1/algos.cpp | 12 -------- dnn/src/fallback/conv_bias/conv1x1/algos.h | 11 -------- .../conv_bias/conv1x1/algos_conv1x1_gemv.cpp | 12 -------- .../conv_bias/conv1x1/algos_conv1x1_gemv.h | 11 -------- .../conv_bias/conv1x1/conv1x1_dispatcher.h | 11 -------- .../conv_bias/conv1x1/conv1x1_strategy.cpp | 12 -------- .../fallback/conv_bias/conv1x1/conv1x1_strategy.h | 12 -------- .../fallback/conv_bias/conv1x1/conv1x1_utils.cpp | 11 -------- dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h | 11 -------- .../conv_bias/direct/multi_thread_common.cpp | 11 -------- .../conv_bias/direct/multi_thread_common.h | 10 ------- dnn/src/fallback/conv_bias/gi/fp32/algos.cpp | 12 -------- dnn/src/fallback/conv_bias/gi/fp32/algos.h | 12 -------- .../gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp | 12 -------- .../gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h | 12 -------- .../gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp | 12 -------- .../gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h | 12 -------- .../conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp | 12 -------- .../conv_bias/gi/fp32/channel_wise_nchw44_kern.cpp | 12 -------- .../conv_bias/gi/fp32/channel_wise_nchw44_kern.h | 12 -------- dnn/src/fallback/conv_bias/gi/fp32/direct.cpp | 11 -------- dnn/src/fallback/conv_bias/gi/fp32/direct.h | 10 ------- .../fp32/direct_kernels/f32_direct_nchw44_kern.cpp | 13 --------- .../f32_direct_nchw44_kern_2x2s1_bias.cpp | 12 -------- ...ct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_2x2s1_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_2x2s2_bias.cpp | 12 -------- ...ct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_2x2s2_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_3x3s1_bias.cpp | 12 -------- ...ct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_3x3s1_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_3x3s2_bias.cpp | 12 -------- ...ct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_3x3s2_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_5x5s1_bias.cpp | 12 -------- ...ct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_5x5s1_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_5x5s2_bias.cpp | 12 -------- ...ct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_5x5s2_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_7x7s1_bias.cpp | 12 -------- ...ct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_7x7s1_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_7x7s2_bias.cpp | 12 -------- ...ct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_7x7s2_no_bias.cpp | 12 -------- .../f32_direct_nchw44_kern_common_s1.h | 13 --------- .../f32_direct_nchw44_kern_common_s2.h | 13 --------- .../f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp | 12 -------- ...hw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp | 12 -------- ...hw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp | 12 -------- ...hw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_3x3s1_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp | 12 -------- ...hw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp | 12 -------- ...hw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp | 12 -------- ...hw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp | 12 -------- ...hw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp | 12 -------- ...hw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp | 12 -------- .../f32_direct_nchw_nchw44_kern_common.h | 11 -------- .../fallback/conv_bias/gi/fp32/do_conv_stride1.h | 10 ------- .../fallback/conv_bias/gi/fp32/do_conv_stride2.h | 10 ------- .../conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp | 12 -------- .../conv_bias/gi/fp32/f32_direct_nchw44_kern.h | 12 -------- .../gi/fp32/f32_direct_nchw_nchw44_kern.h | 11 -------- .../fallback/conv_bias/gi/fp32/filter_transform.h | 11 -------- dnn/src/fallback/conv_bias/gi/fp32/strategy.h | 11 -------- .../conv_bias/gi/fp32/strategy_2x3_4x4.cpp | 11 -------- .../fallback/conv_bias/gi/fp32/strategy_4x5.cpp | 11 -------- .../fallback/conv_bias/gi/fp32/strategy_5x4.cpp | 11 -------- .../fallback/conv_bias/gi/fp32/strategy_6x3.cpp | 11 -------- .../conv_bias/gi/fp32/strategy_6x3_4x4.cpp | 11 -------- .../conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp | 11 -------- .../conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp | 11 -------- .../conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp | 11 -------- dnn/src/fallback/conv_bias/im2col/algos.cpp | 10 ------- dnn/src/fallback/conv_bias/im2col/algos.h | 11 -------- dnn/src/fallback/conv_bias/im2col/factory.h | 11 -------- dnn/src/fallback/conv_bias/im2col/im2col_kerns.h | 11 -------- dnn/src/fallback/conv_bias/im2col/strategy_base.h | 11 -------- .../fallback/conv_bias/im2col/strategy_default.cpp | 10 ------- .../conv_bias/im2col/strategy_default_nchw44.cpp | 10 ------- .../conv_bias/im2col/strategy_fuse_nchw44.cpp | 11 -------- .../conv_bias/im2col/strategy_fuse_nchw44_dot.cpp | 11 -------- .../im2col/strategy_fuse_nchw44_dot_s2.cpp | 11 -------- .../im2col/strategy_fuse_nchw44_fp32_s2.cpp | 11 -------- .../fallback/conv_bias/im2col/strategy_nopack.cpp | 11 -------- .../conv_bias/im2col/strategy_onlypacka.cpp | 11 -------- dnn/src/fallback/conv_bias/opr_impl.h | 11 -------- dnn/src/fallback/conv_bias/winograd/strategy.cpp | 11 -------- dnn/src/fallback/conv_bias/winograd/strategy.h | 11 -------- dnn/src/fallback/conv_bias/winograd/winograd.h | 12 -------- dnn/src/fallback/convolution/algos.cpp | 12 -------- dnn/src/fallback/convolution/algos.h | 12 -------- dnn/src/fallback/convolution/col2img_helper.h | 10 ------- .../fallback/convolution/do_conv_stride2_decl.inl | 10 ------- dnn/src/fallback/convolution/img2col_helper.h | 10 ------- dnn/src/fallback/convolution/opr_impl.cpp | 12 -------- dnn/src/fallback/convolution/opr_impl.h | 10 ------- dnn/src/fallback/convolution/run_conv.cpp | 10 ------- dnn/src/fallback/convolution/run_conv.h | 10 ------- .../elemwise/fallback_impl/opr_binary_impl.cpp | 3 -- .../elemwise/fallback_impl/opr_unary_impl.cpp | 3 -- dnn/src/fallback/elemwise/opr_impl.cpp | 10 ------- dnn/src/fallback/elemwise/opr_impl.h | 10 ------- dnn/src/fallback/elemwise_helper/kimpl/pow.h | 3 -- dnn/src/fallback/elemwise_helper/op_common.h | 3 -- dnn/src/fallback/elemwise_multi_type/opr_impl.cpp | 11 -------- dnn/src/fallback/elemwise_multi_type/opr_impl.h | 11 -------- .../elemwise_multi_type/quantized_impl.cpp | 11 -------- dnn/src/fallback/flip/opr_impl.cpp | 11 -------- dnn/src/fallback/flip/opr_impl.h | 10 ------- dnn/src/fallback/gaussian_blur/opr_impl.h | 10 ------- dnn/src/fallback/general_intrinsic/gi_common.h | 11 -------- dnn/src/fallback/general_intrinsic/gi_float.h | 11 -------- dnn/src/fallback/general_intrinsic/gi_int.h | 11 -------- dnn/src/fallback/group_local/opr_impl.cpp | 11 -------- dnn/src/fallback/group_local/opr_impl.h | 10 ------- dnn/src/fallback/handle.cpp | 11 -------- dnn/src/fallback/handle.h | 10 ------- dnn/src/fallback/mask_conv/opr_impl.cpp | 11 -------- dnn/src/fallback/mask_conv/opr_impl.h | 10 ------- dnn/src/fallback/matrix_mul/algos.cpp | 11 -------- dnn/src/fallback/matrix_mul/algos.h | 11 -------- dnn/src/fallback/matrix_mul/gemm_common.h | 18 ------------ dnn/src/fallback/matrix_mul/gemm_impl.h | 11 -------- dnn/src/fallback/matrix_mul/gemv.h | 11 -------- dnn/src/fallback/matrix_mul/generic_strategy.cpp | 11 -------- dnn/src/fallback/matrix_mul/generic_strategy.h | 10 ------- dnn/src/fallback/matrix_mul/opr_impl.cpp | 10 ------- dnn/src/fallback/matrix_mul/opr_impl.h | 11 -------- dnn/src/fallback/matrix_mul_helper.h | 10 ------- .../pooling/gi/algo_fp32_pooling_nchw44.cpp | 12 -------- dnn/src/fallback/pooling/opr_impl.cpp | 11 -------- dnn/src/fallback/pooling/opr_impl.h | 11 -------- dnn/src/fallback/powc/opr_impl.cpp | 11 -------- dnn/src/fallback/powc/opr_impl.h | 11 -------- dnn/src/fallback/quantized_converter.h | 11 -------- dnn/src/fallback/reduce/opr_impl.cpp | 10 ------- dnn/src/fallback/reduce/opr_impl.h | 10 ------- dnn/src/fallback/reduce/reducer.h | 10 ------- dnn/src/fallback/relayout/opr_impl.cpp | 11 -------- dnn/src/fallback/relayout/opr_impl.h | 11 -------- dnn/src/fallback/repeat/opr_impl.cpp | 10 ------- dnn/src/fallback/repeat/opr_impl.h | 10 ------- dnn/src/fallback/resize/opr_impl.cpp | 12 -------- dnn/src/fallback/resize/opr_impl.h | 10 ------- dnn/src/fallback/roi_copy/opr_impl.cpp | 11 -------- dnn/src/fallback/roi_copy/opr_impl.h | 10 ------- dnn/src/fallback/rotate/opr_impl.cpp | 11 -------- dnn/src/fallback/rotate/opr_impl.h | 10 ------- dnn/src/fallback/split/opr_impl.cpp | 10 ------- dnn/src/fallback/split/opr_impl.h | 10 ------- dnn/src/fallback/tile/opr_impl.cpp | 10 ------- dnn/src/fallback/tile/opr_impl.h | 10 ------- dnn/src/fallback/type_cvt/opr_impl.cpp | 10 ------- dnn/src/fallback/type_cvt/opr_impl.h | 10 ------- dnn/src/fallback/warp_perspective/opr_impl.cpp | 10 ------- dnn/src/fallback/warp_perspective/opr_impl.h | 10 ------- dnn/src/naive/adaptive_pooling/opr_impl.cpp | 11 -------- dnn/src/naive/adaptive_pooling/opr_impl.h | 11 -------- dnn/src/naive/add_update/opr_impl.cpp | 11 -------- dnn/src/naive/add_update/opr_impl.h | 10 ------- dnn/src/naive/argmxx/opr_impl.cpp | 10 ------- dnn/src/naive/argmxx/opr_impl.h | 10 ------- dnn/src/naive/argsort/opr_impl.cpp | 10 ------- dnn/src/naive/argsort/opr_impl.h | 10 ------- dnn/src/naive/batch_conv_bias/opr_impl.cpp | 10 ------- dnn/src/naive/batch_conv_bias/opr_impl.h | 10 ------- dnn/src/naive/batch_normalization/opr_impl.cpp | 11 -------- dnn/src/naive/batch_normalization/opr_impl.h | 11 -------- dnn/src/naive/batched_matrix_mul/opr_impl.cpp | 10 ------- dnn/src/naive/batched_matrix_mul/opr_impl.h | 11 -------- dnn/src/naive/check_non_finite/opr_impl.cpp | 11 -------- dnn/src/naive/check_non_finite/opr_impl.h | 11 -------- dnn/src/naive/checksum/opr_impl.cpp | 11 -------- dnn/src/naive/checksum/opr_impl.h | 11 -------- dnn/src/naive/concat/opr_impl.cpp | 10 ------- dnn/src/naive/concat/opr_impl.h | 10 ------- dnn/src/naive/cond_take/opr_impl.cpp | 11 -------- dnn/src/naive/cond_take/opr_impl.h | 10 ------- dnn/src/naive/conv_bias/opr_impl.cpp | 11 -------- dnn/src/naive/conv_bias/opr_impl.h | 10 ------- dnn/src/naive/convolution/algorithms.h | 11 -------- dnn/src/naive/convolution/helper.h | 11 -------- dnn/src/naive/convolution/opr_impl.cpp | 10 ------- dnn/src/naive/convolution/opr_impl.h | 10 ------- dnn/src/naive/convolution3d/algorithms.h | 10 ------- dnn/src/naive/convolution3d/helper.h | 10 ------- dnn/src/naive/convolution3d/opr_impl.cpp | 11 -------- dnn/src/naive/convolution3d/opr_impl.h | 11 -------- dnn/src/naive/convpooling/opr_impl.cpp | 10 ------- dnn/src/naive/convpooling/opr_impl.h | 10 ------- dnn/src/naive/correlation/opr_impl.cpp | 11 -------- dnn/src/naive/correlation/opr_impl.h | 11 -------- dnn/src/naive/cumsum/opr_impl.cpp | 10 ------- dnn/src/naive/cumsum/opr_impl.h | 10 ------- dnn/src/naive/cvt_color/opr_impl.h | 10 ------- dnn/src/naive/dct/opr_impl.cpp | 11 -------- dnn/src/naive/dct/opr_impl.h | 11 -------- dnn/src/naive/deformable_conv/opr_impl.cpp | 11 -------- dnn/src/naive/deformable_conv/opr_impl.h | 10 ------- .../naive/deformable_ps_roi_pooling/opr_impl.cpp | 11 -------- dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h | 10 ------- dnn/src/naive/diag/opr_impl.cpp | 11 -------- dnn/src/naive/diag/opr_impl.h | 10 ------- dnn/src/naive/dot/opr_impl.cpp | 10 ------- dnn/src/naive/dot/opr_impl.h | 10 ------- dnn/src/naive/dropout/opr_impl.cpp | 11 -------- dnn/src/naive/dropout/opr_impl.h | 11 -------- dnn/src/naive/elemwise/kern_caller.h | 11 -------- dnn/src/naive/elemwise/kern_impl.inl | 11 -------- dnn/src/naive/elemwise/opr_impl.cpp | 11 -------- dnn/src/naive/elemwise/opr_impl.h | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl.h | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp | 11 -------- dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp | 11 -------- dnn/src/naive/eye/opr_impl.cpp | 11 -------- dnn/src/naive/eye/opr_impl.h | 10 ------- dnn/src/naive/fake_quant/opr_impl.cpp | 12 -------- dnn/src/naive/fake_quant/opr_impl.h | 12 -------- dnn/src/naive/fill/opr_impl.cpp | 11 -------- dnn/src/naive/fill/opr_impl.h | 10 ------- dnn/src/naive/flip/opr_impl.cpp | 11 -------- dnn/src/naive/flip/opr_impl.h | 10 ------- dnn/src/naive/gaussian_blur/opr_impl.h | 10 ------- dnn/src/naive/group_local/opr_impl.cpp | 10 ------- dnn/src/naive/group_local/opr_impl.h | 10 ------- dnn/src/naive/handle.cpp | 11 -------- dnn/src/naive/handle.h | 10 ------- dnn/src/naive/images2neibs/opr_impl.cpp | 10 ------- dnn/src/naive/images2neibs/opr_impl.h | 10 ------- dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp | 11 -------- dnn/src/naive/indexing_multi_axis_vec/opr_impl.h | 11 -------- dnn/src/naive/indexing_one_hot/opr_impl.cpp | 11 -------- dnn/src/naive/indexing_one_hot/opr_impl.h | 11 -------- dnn/src/naive/layer_norm/opr_impl.cpp | 11 -------- dnn/src/naive/layer_norm/opr_impl.h | 11 -------- dnn/src/naive/linspace/opr_impl.cpp | 11 -------- dnn/src/naive/linspace/opr_impl.h | 10 ------- dnn/src/naive/local/opr_impl.cpp | 10 ------- dnn/src/naive/local/opr_impl.h | 10 ------- dnn/src/naive/local_share/algorithms.h | 11 -------- dnn/src/naive/local_share/opr_impl.cpp | 10 ------- dnn/src/naive/local_share/opr_impl.h | 11 -------- dnn/src/naive/lowbit_utils.cpp | 12 -------- dnn/src/naive/lowbit_utils.h | 11 -------- dnn/src/naive/lrn/opr_impl.cpp | 10 ------- dnn/src/naive/lrn/opr_impl.h | 10 ------- dnn/src/naive/lsq/opr_impl.cpp | 12 -------- dnn/src/naive/lsq/opr_impl.h | 12 -------- dnn/src/naive/lstm/opr_impl.cpp | 10 ------- dnn/src/naive/lstm/opr_impl.h | 10 ------- dnn/src/naive/lstm/template_impl.cpp | 10 ------- dnn/src/naive/lstm_cell/opr_impl.cpp | 10 ------- dnn/src/naive/lstm_cell/opr_impl.h | 10 ------- dnn/src/naive/mask_conv/opr_impl.cpp | 11 -------- dnn/src/naive/mask_conv/opr_impl.h | 10 ------- dnn/src/naive/matrix_inverse/opr_impl.cpp | 10 ------- dnn/src/naive/matrix_inverse/opr_impl.h | 10 ------- dnn/src/naive/matrix_mul/algorithms.h | 11 -------- dnn/src/naive/matrix_mul/matrix_mul_helper.h | 10 ------- dnn/src/naive/matrix_mul/opr_impl.cpp | 10 ------- dnn/src/naive/matrix_mul/opr_impl.h | 11 -------- dnn/src/naive/max_tensor_diff/opr_impl.cpp | 11 -------- dnn/src/naive/max_tensor_diff/opr_impl.h | 11 -------- dnn/src/naive/mesh_indexing/opr_impl.cpp | 11 -------- dnn/src/naive/mesh_indexing/opr_impl.h | 10 ------- dnn/src/naive/padding/opr_impl.cpp | 11 -------- dnn/src/naive/padding/opr_impl.h | 10 ------- dnn/src/naive/param_pack/opr_impl.cpp | 10 ------- dnn/src/naive/param_pack/opr_impl.h | 10 ------- dnn/src/naive/pooling/opr_impl.cpp | 11 -------- dnn/src/naive/pooling/opr_impl.h | 10 ------- dnn/src/naive/powc/opr_impl.cpp | 11 -------- dnn/src/naive/powc/opr_impl.h | 11 -------- dnn/src/naive/reduce/opr_impl.cpp | 11 -------- dnn/src/naive/reduce/opr_impl.h | 10 ------- dnn/src/naive/relayout/opr_impl.cpp | 11 -------- dnn/src/naive/relayout/opr_impl.h | 11 -------- dnn/src/naive/relayout_format/opr_impl.cpp | 12 -------- dnn/src/naive/relayout_format/opr_impl.h | 10 ------- dnn/src/naive/remap/opr_impl.cpp | 12 -------- dnn/src/naive/remap/opr_impl.h | 11 -------- dnn/src/naive/repeat/opr_impl.cpp | 10 ------- dnn/src/naive/repeat/opr_impl.h | 10 ------- dnn/src/naive/resize/opr_impl.cpp | 12 -------- dnn/src/naive/resize/opr_impl.h | 11 -------- dnn/src/naive/resize/resize_cv.h | 11 -------- dnn/src/naive/rng/opr_impl.cpp | 12 -------- dnn/src/naive/rng/opr_impl.h | 10 ------- dnn/src/naive/rnn/funcs.h | 10 ------- dnn/src/naive/rnn/opr_impl.cpp | 10 ------- dnn/src/naive/rnn/opr_impl.h | 10 ------- dnn/src/naive/rnn/rnn.cpp | 10 ------- dnn/src/naive/rnn/rnn.h | 10 ------- dnn/src/naive/rnn/template_impl.cpp | 10 ------- dnn/src/naive/rnn_cell/opr_impl.cpp | 10 ------- dnn/src/naive/rnn_cell/opr_impl.h | 10 ------- dnn/src/naive/roi_align/opr_impl.cpp | 10 ------- dnn/src/naive/roi_align/opr_impl.h | 10 ------- dnn/src/naive/roi_copy/opr_impl.cpp | 11 -------- dnn/src/naive/roi_copy/opr_impl.h | 10 ------- dnn/src/naive/roi_pooling/opr_impl.cpp | 10 ------- dnn/src/naive/roi_pooling/opr_impl.h | 10 ------- dnn/src/naive/rotate/opr_impl.cpp | 11 -------- dnn/src/naive/rotate/opr_impl.h | 10 ------- dnn/src/naive/separable_conv/opr_impl.h | 10 ------- dnn/src/naive/separable_filter/opr_impl.h | 10 ------- dnn/src/naive/sleep/opr_impl.cpp | 11 -------- dnn/src/naive/sleep/opr_impl.h | 10 ------- .../naive/sliding_window_transpose/opr_impl.cpp | 10 ------- dnn/src/naive/sliding_window_transpose/opr_impl.h | 10 ------- dnn/src/naive/softmax/opr_impl.cpp | 11 -------- dnn/src/naive/softmax/opr_impl.h | 10 ------- dnn/src/naive/split/opr_impl.cpp | 10 ------- dnn/src/naive/split/opr_impl.h | 10 ------- dnn/src/naive/svd/opr_impl.cpp | 11 -------- dnn/src/naive/svd/opr_impl.h | 10 ------- dnn/src/naive/tensor_remap/opr_impl.cpp | 11 -------- dnn/src/naive/tensor_remap/opr_impl.h | 10 ------- dnn/src/naive/tile/opr_impl.cpp | 10 ------- dnn/src/naive/tile/opr_impl.h | 10 ------- dnn/src/naive/topk/opr_impl.cpp | 11 -------- dnn/src/naive/topk/opr_impl.h | 10 ------- dnn/src/naive/tqt/opr_impl.cpp | 12 -------- dnn/src/naive/tqt/opr_impl.h | 12 -------- dnn/src/naive/transpose/opr_impl.cpp | 10 ------- dnn/src/naive/transpose/opr_impl.h | 10 ------- dnn/src/naive/type_cvt/opr_impl.cpp | 10 ------- dnn/src/naive/type_cvt/opr_impl.h | 10 ------- dnn/src/naive/warp_affine/opr_impl.cpp | 11 -------- dnn/src/naive/warp_affine/opr_impl.h | 10 ------- dnn/src/naive/warp_affine/warp_affine_cv.h | 11 -------- dnn/src/naive/warp_perspective/opr_impl.cpp | 11 -------- dnn/src/naive/warp_perspective/opr_impl.h | 11 -------- .../naive/warp_perspective/warp_perspective_cv.h | 11 -------- dnn/src/rocm/adaptive_pooling/opr_impl.cpp | 11 -------- dnn/src/rocm/adaptive_pooling/opr_impl.h | 11 -------- dnn/src/rocm/add_update/add_update.cpp.hip | 11 -------- dnn/src/rocm/add_update/add_update.h.hip | 13 --------- dnn/src/rocm/add_update/opr_impl.cpp | 10 ------- dnn/src/rocm/add_update/opr_impl.h | 11 -------- dnn/src/rocm/argmxx/argmxx.cpp.hip | 11 -------- dnn/src/rocm/argmxx/opr_impl.cpp | 10 ------- dnn/src/rocm/argmxx/opr_impl.h | 10 ------- dnn/src/rocm/argsort/argsort.cpp.hip | 10 ------- dnn/src/rocm/argsort/argsort.h.hip | 11 -------- dnn/src/rocm/argsort/backward.cpp.hip | 10 ------- dnn/src/rocm/argsort/backward.h.hip | 10 ------- dnn/src/rocm/argsort/bitonic_sort.cpp.hip | 10 ------- dnn/src/rocm/argsort/bitonic_sort.h.hip | 11 -------- dnn/src/rocm/argsort/opr_impl.cpp | 11 -------- dnn/src/rocm/argsort/opr_impl.h | 10 ------- dnn/src/rocm/batch_normalization/opr_impl.cpp | 11 -------- dnn/src/rocm/batch_normalization/opr_impl.h | 11 -------- dnn/src/rocm/batched_matrix_mul/algos.cpp | 12 -------- dnn/src/rocm/batched_matrix_mul/algos.h | 12 -------- dnn/src/rocm/batched_matrix_mul/blas.cpp | 12 -------- dnn/src/rocm/batched_matrix_mul/opr_impl.cpp | 11 -------- dnn/src/rocm/batched_matrix_mul/opr_impl.h | 11 -------- dnn/src/rocm/checksum/kern.cpp.hip | 11 -------- dnn/src/rocm/checksum/kern.h.hip | 12 -------- dnn/src/rocm/checksum/opr_impl.cpp | 10 ------- dnn/src/rocm/checksum/opr_impl.h | 11 -------- dnn/src/rocm/convolution/backward_data/algo.cpp | 10 ------- dnn/src/rocm/convolution/backward_data/algo.h | 11 -------- .../rocm/convolution/backward_data/chanwise.cpp | 11 -------- dnn/src/rocm/convolution/backward_data/matmul.cpp | 11 -------- dnn/src/rocm/convolution/backward_data/miopen.cpp | 10 ------- dnn/src/rocm/convolution/backward_filter/algo.cpp | 10 ------- dnn/src/rocm/convolution/backward_filter/algo.h | 11 -------- .../rocm/convolution/backward_filter/chanwise.cpp | 11 -------- .../rocm/convolution/backward_filter/matmul.cpp | 11 -------- .../rocm/convolution/backward_filter/miopen.cpp | 10 ------- dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip | 12 -------- .../rocm/convolution/chanwise/bwd_filter.cpp.hip | 12 -------- dnn/src/rocm/convolution/chanwise/fwd.cpp.hip | 12 -------- dnn/src/rocm/convolution/chanwise/kern.h.hip | 11 -------- .../rocm/convolution/chanwise/kern_helper.h.hip | 11 -------- dnn/src/rocm/convolution/forward/1x1.cpp | 11 -------- dnn/src/rocm/convolution/forward/algo.cpp | 10 ------- dnn/src/rocm/convolution/forward/algo.h | 12 -------- dnn/src/rocm/convolution/forward/chanwise.cpp | 11 -------- .../rocm/convolution/forward/inplace_matmul.cpp | 11 -------- .../forward/inplace_matmul_impl.cpp.hip | 11 -------- .../convolution/forward/inplace_matmul_impl.h.hip | 11 -------- dnn/src/rocm/convolution/forward/matmul.cpp | 11 -------- dnn/src/rocm/convolution/forward/miopen.cpp | 10 ------- dnn/src/rocm/convolution/helper.cpp | 10 ------- dnn/src/rocm/convolution/helper.h | 10 ------- dnn/src/rocm/convolution/im2col.cpp.hip | 11 -------- dnn/src/rocm/convolution/im2col.h.hip | 11 -------- dnn/src/rocm/convolution/opr_impl.cpp | 10 ------- dnn/src/rocm/convolution/opr_impl.h | 10 ------- dnn/src/rocm/elemwise/kern_impl.inl | 11 -------- dnn/src/rocm/elemwise/kern_wrapper.h.hip | 12 -------- dnn/src/rocm/elemwise/opr_impl.cpp | 10 ------- dnn/src/rocm/elemwise/opr_impl.h | 11 -------- dnn/src/rocm/elemwise/special_kerns.inl | 10 ------- dnn/src/rocm/elemwise_helper.cpp | 10 ------- dnn/src/rocm/elemwise_helper.h.hip | 12 -------- dnn/src/rocm/error_info.h.hip | 12 -------- dnn/src/rocm/eye/eye.cpp.hip | 11 -------- dnn/src/rocm/eye/eye.h.hip | 11 -------- dnn/src/rocm/eye/opr_impl.cpp | 10 ------- dnn/src/rocm/eye/opr_impl.h | 10 ------- dnn/src/rocm/fill/fill.cpp.hip | 10 ------- dnn/src/rocm/fill/fill.h.hip | 10 ------- dnn/src/rocm/fill/opr_impl.cpp | 10 ------- dnn/src/rocm/fill/opr_impl.h | 10 ------- dnn/src/rocm/handle.cpp | 10 ------- dnn/src/rocm/handle.h | 10 ------- dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip | 12 -------- .../kern_apply_opr_fwd.cpp.hip | 11 -------- .../kern_apply_opr_incr.cpp.hip | 11 -------- .../kern_apply_opr_set.cpp.hip | 11 -------- .../kern_gen_offset_base.cpp.hip | 11 -------- dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp | 10 ------- dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h | 11 -------- .../rocm/indexing_one_hot/indexing_one_hot.cpp.hip | 11 -------- .../rocm/indexing_one_hot/indexing_one_hot.h.hip | 12 -------- dnn/src/rocm/indexing_one_hot/opr_impl.cpp | 10 ------- dnn/src/rocm/indexing_one_hot/opr_impl.h | 11 -------- dnn/src/rocm/int_fastdiv.cpp | 10 ------- dnn/src/rocm/int_fastdiv.h.hip | 12 -------- dnn/src/rocm/linspace/linspace.cpp.hip | 11 -------- dnn/src/rocm/linspace/linspace.h.hip | 11 -------- dnn/src/rocm/linspace/opr_impl.cpp | 10 ------- dnn/src/rocm/linspace/opr_impl.h | 10 ------- dnn/src/rocm/matrix_mul/algos.cpp | 12 -------- dnn/src/rocm/matrix_mul/algos.h | 12 -------- dnn/src/rocm/matrix_mul/blas.cpp | 11 -------- dnn/src/rocm/matrix_mul/opr_impl.cpp | 10 ------- dnn/src/rocm/matrix_mul/opr_impl.h | 10 ------- dnn/src/rocm/megcore/computing_context.hpp | 10 ------- dnn/src/rocm/megcore/device_context.hpp | 10 ------- dnn/src/rocm/megcore/public_api/computing.cpp | 10 ------- dnn/src/rocm/megcore/rocm_computing_context.cpp | 10 ------- dnn/src/rocm/megcore/rocm_computing_context.hpp | 10 ------- dnn/src/rocm/megcore/rocm_device_context.cpp | 10 ------- dnn/src/rocm/megcore/rocm_device_context.hpp | 10 ------- dnn/src/rocm/miopen_with_check.h | 11 -------- dnn/src/rocm/miopen_wrapper.cpp | 10 ------- dnn/src/rocm/miopen_wrapper.h | 10 ------- dnn/src/rocm/param_pack/opr_impl.cpp | 11 -------- dnn/src/rocm/param_pack/opr_impl.h | 11 -------- dnn/src/rocm/param_pack/param_pack.cpp.hip | 11 -------- dnn/src/rocm/param_pack/param_pack.h.hip | 11 -------- dnn/src/rocm/pooling/algo.cpp | 12 -------- dnn/src/rocm/pooling/algo.h | 12 -------- dnn/src/rocm/pooling/opr_impl.cpp | 10 ------- dnn/src/rocm/pooling/opr_impl.h | 10 ------- dnn/src/rocm/powc/opr_impl.cpp | 10 ------- dnn/src/rocm/powc/opr_impl.h | 10 ------- dnn/src/rocm/powc/powc.cpp.hip | 11 -------- dnn/src/rocm/powc/powc.h.hip | 12 -------- dnn/src/rocm/reduce/opr_impl.cpp | 10 ------- dnn/src/rocm/reduce/opr_impl.h | 10 ------- dnn/src/rocm/reduce/reduce.cpp.hip | 11 -------- dnn/src/rocm/reduce_helper.h.hip | 11 -------- dnn/src/rocm/relayout/opr_impl.cpp | 10 ------- dnn/src/rocm/relayout/opr_impl.h | 11 -------- dnn/src/rocm/relayout/relayout.cpp.hip | 11 -------- dnn/src/rocm/relayout/relayout.h.hip | 12 -------- dnn/src/rocm/relayout/relayout_contiguous.cpp | 10 ------- dnn/src/rocm/relayout/relayout_contiguous.cpp.hip | 11 -------- dnn/src/rocm/relayout/relayout_contiguous.h.hip | 12 -------- dnn/src/rocm/rng/opr_impl.cpp | 10 ------- dnn/src/rocm/rng/opr_impl.h | 10 ------- dnn/src/rocm/rocblas_header.h | 11 -------- dnn/src/rocm/sleep/kern.cpp.hip | 11 -------- dnn/src/rocm/sleep/kern.h.hip | 11 -------- dnn/src/rocm/sleep/opr_impl.cpp | 10 ------- dnn/src/rocm/sleep/opr_impl.h | 10 ------- dnn/src/rocm/topk/opr_impl.cpp | 11 -------- dnn/src/rocm/topk/opr_impl.h | 10 ------- dnn/src/rocm/topk/topk_radix.cpp.hip | 11 -------- dnn/src/rocm/topk/topk_radix.h.hip | 11 -------- dnn/src/rocm/type_cvt/opr_impl.cpp | 10 ------- dnn/src/rocm/type_cvt/opr_impl.h | 10 ------- dnn/src/rocm/type_cvt/type_cvt.cpp.hip | 11 -------- dnn/src/rocm/type_cvt/type_cvt.h.hip | 12 -------- dnn/src/rocm/utils.cpp | 10 ------- dnn/src/rocm/utils.h | 10 ------- dnn/src/rocm/utils.h.hip | 11 -------- dnn/src/x86/add_update/opr_impl.cpp | 11 -------- dnn/src/x86/add_update/opr_impl.h | 10 ------- dnn/src/x86/avx_helper.h | 10 ------- dnn/src/x86/conv_bias/f32/algos.cpp | 12 -------- dnn/src/x86/conv_bias/f32/algos.h | 12 -------- dnn/src/x86/conv_bias/f32/do_conv_stride2.h | 10 ------- dnn/src/x86/conv_bias/f32/strategy.h | 11 -------- dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp | 11 -------- dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp | 12 -------- dnn/src/x86/conv_bias/f32/winograd_algo.cpp | 12 -------- .../x86/conv_bias/int8/algo_usable_preferred.cpp | 12 -------- dnn/src/x86/conv_bias/int8/algo_usable_preferred.h | 11 -------- dnn/src/x86/conv_bias/int8/algos.cpp | 12 -------- dnn/src/x86/conv_bias/int8/algos.h | 11 -------- dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.cpp | 12 -------- dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.h | 11 -------- .../x86/conv_bias/int8/avx2_chanwise_stride1.cpp | 12 -------- dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.h | 11 -------- .../x86/conv_bias/int8/avx2_chanwise_stride2.cpp | 12 -------- dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.h | 11 -------- .../conv_bias/int8/avx2_direct_conv_stride1.cpp | 11 -------- .../x86/conv_bias/int8/avx2_direct_conv_stride1.h | 10 ------- .../conv_bias/int8/avx2_direct_conv_stride2.cpp | 11 -------- .../x86/conv_bias/int8/avx2_direct_conv_stride2.h | 10 ------- dnn/src/x86/conv_bias/int8/chanwise_helper.h | 11 -------- dnn/src/x86/conv_bias/int8/common_helper.h | 11 -------- dnn/src/x86/conv_bias/opr_impl.cpp | 12 -------- dnn/src/x86/conv_bias/opr_impl.h | 11 -------- dnn/src/x86/conv_bias/postprocess_helper.h | 11 -------- .../convolution/avx/convolution_conv_fh1_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh2_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh3_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh4_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh5_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh6_avx.cpp | 10 ------- .../convolution/avx/convolution_conv_fh7_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh1_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh2_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh3_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh4_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh5_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh6_avx.cpp | 10 ------- .../convolution/avx/convolution_xcorr_fh7_avx.cpp | 10 ------- .../convolution/convolution_direct_special_cases.h | 10 ------- .../convolution/fma/convolution_conv_fh1_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh2_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh3_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh4_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh5_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh6_fma.cpp | 10 ------- .../convolution/fma/convolution_conv_fh7_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh1_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh2_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh3_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh4_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh5_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh6_fma.cpp | 10 ------- .../convolution/fma/convolution_xcorr_fh7_fma.cpp | 10 ------- .../convolution/sse/convolution_conv_fh1_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh2_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh3_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh4_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh5_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh6_sse.cpp | 10 ------- .../convolution/sse/convolution_conv_fh7_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh1_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh2_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh3_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh4_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh5_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh6_sse.cpp | 10 ------- .../convolution/sse/convolution_xcorr_fh7_sse.cpp | 10 ------- dnn/src/x86/cvt_color/opr_impl.h | 10 ------- dnn/src/x86/elemwise/avx_util/avx_mathfun.h | 10 ------- dnn/src/x86/elemwise/avx_util/avx_util.cpp | 10 ------- dnn/src/x86/elemwise/avx_util/avx_util.h | 10 ------- dnn/src/x86/elemwise/fma_util/fma_util.cpp | 10 ------- dnn/src/x86/elemwise/fma_util/fma_util.h | 10 ------- dnn/src/x86/elemwise/opr_impl.cpp | 11 -------- dnn/src/x86/elemwise/opr_impl.h | 10 ------- dnn/src/x86/elemwise/sse_util/sse_mathfun.h | 10 ------- dnn/src/x86/elemwise/sse_util/sse_util.cpp | 10 ------- dnn/src/x86/elemwise/sse_util/sse_util.h | 11 -------- dnn/src/x86/elemwise_helper/kimpl/abs.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/add.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/exp.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h | 10 ------- .../x86/elemwise_helper/kimpl/fuse_add_h_swish.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h | 10 ------- .../x86/elemwise_helper/kimpl/fuse_add_sigmoid.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/hswish.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/max.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/min.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/mul.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/none.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h | 10 ------- .../x86/elemwise_helper/kimpl/op_ternary_base.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/pow.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/relu.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/sigmoid.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/sub.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/tanh.h | 10 ------- dnn/src/x86/elemwise_helper/kimpl/typecvt.h | 10 ------- dnn/src/x86/elemwise_helper/op_binary.h | 10 ------- dnn/src/x86/elemwise_helper/op_ternary.h | 10 ------- dnn/src/x86/elemwise_helper/op_unary.h | 10 ------- dnn/src/x86/elemwise_multi_type/opr_impl.cpp | 11 -------- dnn/src/x86/elemwise_multi_type/opr_impl.h | 11 -------- dnn/src/x86/elemwise_op.h | 11 -------- dnn/src/x86/gaussian_blur/opr_impl.h | 10 ------- dnn/src/x86/handle.cpp | 11 -------- dnn/src/x86/handle.h | 10 ------- dnn/src/x86/local/local_avx.cpp | 10 ------- dnn/src/x86/local/local_fma.cpp | 10 ------- dnn/src/x86/local/local_simd.h | 10 ------- dnn/src/x86/local/local_sse.cpp | 10 ------- dnn/src/x86/local/opr_impl.cpp | 10 ------- dnn/src/x86/local/opr_impl.h | 10 ------- dnn/src/x86/lrn/opr_impl.cpp | 10 ------- dnn/src/x86/lrn/opr_impl.h | 10 ------- dnn/src/x86/matrix_mul/algos.cpp | 12 -------- dnn/src/x86/matrix_mul/algos.h | 12 -------- dnn/src/x86/matrix_mul/common/common.h | 11 -------- dnn/src/x86/matrix_mul/f32/strategy.h | 11 -------- dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp | 12 -------- dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp | 11 -------- .../x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp | 11 -------- .../x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp | 12 -------- dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h | 11 -------- dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h | 12 -------- dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h | 12 -------- dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h | 11 -------- dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp | 12 -------- dnn/src/x86/matrix_mul/int8/strategy.h | 11 -------- dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp | 11 -------- dnn/src/x86/matrix_mul/opr_impl.cpp | 12 -------- dnn/src/x86/matrix_mul/opr_impl.h | 11 -------- dnn/src/x86/midout_error.cpp | 10 ------- dnn/src/x86/pooling/algo.cpp | 11 -------- dnn/src/x86/pooling/algo.h | 12 -------- .../pooling/do_max_pooling_3x3_s2x2_float_sse.cpp | 10 ------- .../pooling/do_max_pooling_3x3_s2x2_float_sse.h | 10 ------- dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp | 10 ------- dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp | 11 -------- .../x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp | 11 -------- dnn/src/x86/pooling/opr_impl.cpp | 10 ------- dnn/src/x86/pooling/opr_impl.h | 11 -------- dnn/src/x86/pooling/pooling_special_cases.h | 10 ------- dnn/src/x86/quantized_converter.h | 10 ------- dnn/src/x86/resize/opr_impl.cpp | 10 ------- dnn/src/x86/resize/opr_impl.h | 10 ------- dnn/src/x86/resize/resize_cv.h | 11 -------- dnn/src/x86/script/extract_profile_result.py | 7 ----- dnn/src/x86/script/gen_convolution2.py | 7 ----- dnn/src/x86/separable_conv/opr_impl.h | 10 ------- dnn/src/x86/separable_filter/opr_impl.cpp | 10 ------- dnn/src/x86/separable_filter/opr_impl.h | 10 ------- dnn/src/x86/simd_helper.h | 10 ------- dnn/src/x86/simd_macro/avx2_helper.h | 10 ------- dnn/src/x86/simd_macro/avx2_helper_epilogue.h | 10 ------- dnn/src/x86/simd_macro/avx_helper.h | 10 ------- dnn/src/x86/simd_macro/avx_helper_epilogue.h | 10 ------- dnn/src/x86/simd_macro/fma_helper.h | 10 ------- dnn/src/x86/simd_macro/fma_helper_epilogue.h | 10 ------- dnn/src/x86/simd_macro/immintrin.h | 10 ------- dnn/src/x86/simd_macro/sse_helper.h | 10 ------- dnn/src/x86/simd_macro/sse_helper_epilogue.h | 10 ------- dnn/src/x86/type_cvt/opr_impl.cpp | 11 -------- dnn/src/x86/type_cvt/opr_impl.h | 10 ------- dnn/src/x86/utils.cpp | 10 ------- dnn/src/x86/utils.h | 10 ------- dnn/src/x86/warp_affine/opr_impl.cpp | 11 -------- dnn/src/x86/warp_affine/opr_impl.h | 10 ------- dnn/src/x86/warp_affine/warp_affine_cv.h | 11 -------- dnn/src/x86/warp_perspective/opr_impl.cpp | 10 ------- dnn/src/x86/warp_perspective/opr_impl.h | 10 ------- dnn/src/x86/warp_perspective/warp_perspective_cv.h | 11 -------- dnn/test/aarch64/batched_matrix_mul.cpp | 11 -------- dnn/test/aarch64/conv_bias.cpp | 10 ------- dnn/test/aarch64/convolution.cpp | 10 ------- dnn/test/aarch64/fixture.cpp | 10 ------- dnn/test/aarch64/fixture.h | 10 ------- dnn/test/aarch64/matrix_mul.cpp | 11 -------- dnn/test/aarch64/pooling.cpp | 10 ------- dnn/test/aarch64/relayout.cpp | 10 ------- dnn/test/aarch64/rotate.cpp | 10 ------- dnn/test/aarch64/warp_perspective.cpp | 11 -------- dnn/test/arm_common/conv_bias.cpp | 11 -------- dnn/test/arm_common/conv_bias_multi_thread.cpp | 11 -------- .../conv_bias_multi_thread_benchmark.cpp | 11 -------- .../arm_common/conv_bias_multi_thread_conv1x1.cpp | 11 -------- .../arm_common/conv_bias_multi_thread_im2col.cpp | 12 -------- .../conv_bias_multi_thread_weight_preprocess.cpp | 12 -------- dnn/test/arm_common/convolution.cpp | 10 ------- dnn/test/arm_common/cpuinfo.cpp | 11 -------- dnn/test/arm_common/cpuinfo_help.cpp | 11 -------- dnn/test/arm_common/cpuinfo_help.h | 11 -------- dnn/test/arm_common/cvt_color.cpp | 10 ------- dnn/test/arm_common/elemwise.cpp | 11 -------- dnn/test/arm_common/elemwise_benchmark.cpp | 11 -------- dnn/test/arm_common/elemwise_multi_type.cpp | 12 -------- dnn/test/arm_common/fixture.h | 10 ------- dnn/test/arm_common/group_local.cpp | 10 ------- dnn/test/arm_common/local.cpp | 10 ------- dnn/test/arm_common/lstm.cpp | 10 ------- dnn/test/arm_common/matrix_mul.cpp | 11 -------- dnn/test/arm_common/pooling.cpp | 10 ------- dnn/test/arm_common/pooling_multi_thread.cpp | 10 ------- dnn/test/arm_common/reduce.cpp | 10 ------- dnn/test/arm_common/resize.cpp | 11 -------- dnn/test/arm_common/rnn.cpp | 10 ------- dnn/test/arm_common/separable_filter.cpp | 10 ------- dnn/test/arm_common/type_cvt.cpp | 10 ------- dnn/test/arm_common/warp_affine.cpp | 10 ------- dnn/test/arm_common/warp_perspective.cpp | 11 -------- dnn/test/armv7/conv_bias.cpp | 10 ------- dnn/test/armv7/convolution.cpp | 10 ------- dnn/test/armv7/fixture.h | 10 ------- dnn/test/armv7/matrix_mul.cpp | 11 -------- dnn/test/armv7/pooling.cpp | 10 ------- dnn/test/armv7/rotate.cpp | 10 ------- dnn/test/atlas/checksum.cpp | 12 -------- dnn/test/atlas/fixture.cpp | 11 -------- dnn/test/atlas/fixture.h | 11 -------- dnn/test/common/accuracy_shake_checker.cpp | 12 -------- dnn/test/common/accuracy_shake_checker.h | 11 -------- dnn/test/common/adaptive_pooling.h | 11 -------- dnn/test/common/benchmark_basic_types.cpp | 12 -------- dnn/test/common/benchmarker.h | 11 -------- dnn/test/common/bn.h | 10 ------- dnn/test/common/checker.cpp | 11 -------- dnn/test/common/checker.h | 12 -------- dnn/test/common/comparator.h | 10 ------- dnn/test/common/comparator.inl | 10 ------- dnn/test/common/cond_take.cpp | 11 -------- dnn/test/common/cond_take.h | 10 ------- dnn/test/common/conv_bias.cpp | 11 -------- dnn/test/common/conv_bias.h | 10 ------- dnn/test/common/conv_pooling.cpp | 10 ------- dnn/test/common/conv_pooling.h | 10 ------- dnn/test/common/convolution.cpp | 12 -------- dnn/test/common/convolution.h | 11 -------- dnn/test/common/convolution3d.cpp | 11 -------- dnn/test/common/convolution3d.h | 10 ------- dnn/test/common/correlation.h | 11 -------- dnn/test/common/cvt_color.h | 10 ------- dnn/test/common/dct_ref.cpp | 12 -------- dnn/test/common/dct_ref.h | 12 -------- dnn/test/common/deduce_layout_proxy.h | 10 ------- dnn/test/common/dtype.cpp | 11 -------- dnn/test/common/elemwise.cpp | 11 -------- dnn/test/common/elemwise.h | 11 -------- dnn/test/common/elemwise_multi_type.cpp | 11 -------- dnn/test/common/elemwise_multi_type.h | 11 -------- dnn/test/common/exec_proxy.h | 10 ------- dnn/test/common/extra_impl_helper.cpp | 11 -------- dnn/test/common/extra_impl_helper.h | 10 ------- dnn/test/common/fake_quant.h | 12 -------- dnn/test/common/fast_run_cache.cpp | 12 -------- dnn/test/common/fast_run_cache.h | 11 -------- dnn/test/common/fill.h | 10 ------- .../fix_gtest_on_platforms_without_exception.inl | 10 ------- dnn/test/common/flip.h | 10 ------- dnn/test/common/gaussian_blur.h | 10 ------- dnn/test/common/get_dtype_from_static_type.h | 10 ------- dnn/test/common/group_local.h | 10 ------- dnn/test/common/images2neibs.h | 11 -------- dnn/test/common/index.cpp | 10 ------- dnn/test/common/index.h | 10 ------- dnn/test/common/indexing_multi_axis_vec.h | 10 ------- dnn/test/common/indexing_one_hot.cpp | 10 ------- dnn/test/common/indexing_one_hot.h | 10 ------- dnn/test/common/inspect_type.h | 10 ------- dnn/test/common/local.h | 10 ------- dnn/test/common/lsq.h | 12 -------- dnn/test/common/mask_conv.h | 10 ------- dnn/test/common/matrix_mul.cpp | 11 -------- dnn/test/common/matrix_mul.h | 10 ------- dnn/test/common/megcore/computing.cpp | 11 -------- dnn/test/common/megcore/device.cpp | 10 ------- dnn/test/common/memory_manager.cpp | 10 ------- dnn/test/common/memory_manager.h | 10 ------- dnn/test/common/mesh_indexing.h | 10 ------- dnn/test/common/named_tensor.cpp | 12 -------- dnn/test/common/null_dispatcher.h | 10 ------- dnn/test/common/opr_algo_proxy.h | 11 -------- dnn/test/common/opr_proxy.h | 11 -------- dnn/test/common/padding.h | 11 -------- dnn/test/common/pooling.h | 10 ------- dnn/test/common/powc.cpp | 11 -------- dnn/test/common/powc.h | 10 ------- dnn/test/common/random_state.cpp | 10 ------- dnn/test/common/random_state.h | 10 ------- dnn/test/common/relayout.cpp | 11 -------- dnn/test/common/relayout.h | 10 ------- dnn/test/common/remap.h | 11 -------- dnn/test/common/resize.h | 11 -------- dnn/test/common/rng.cpp | 10 ------- dnn/test/common/rng.h | 10 ------- dnn/test/common/roi_copy.h | 10 ------- dnn/test/common/roi_pooling.h | 10 ------- dnn/test/common/rotate.h | 10 ------- dnn/test/common/separable.cpp | 10 ------- dnn/test/common/separable_conv.h | 10 ------- dnn/test/common/separable_filter.h | 10 ------- dnn/test/common/sliding_window_transpose.h | 10 ------- dnn/test/common/small_vector.cpp | 10 ------- dnn/test/common/softmax.h | 10 ------- dnn/test/common/svd.cpp | 11 -------- dnn/test/common/svd.h | 10 ------- dnn/test/common/task_executor.cpp | 11 -------- dnn/test/common/task_record_check.h | 11 -------- dnn/test/common/tensor.cpp | 11 -------- dnn/test/common/tensor.h | 11 -------- dnn/test/common/tensor.inl | 10 ------- dnn/test/common/tensor_remap.cpp | 10 ------- dnn/test/common/tensor_remap.h | 10 ------- dnn/test/common/test_basic_types.cpp | 11 -------- dnn/test/common/tile_repeat.h | 10 ------- dnn/test/common/timer.h | 10 ------- dnn/test/common/topk.cpp | 11 -------- dnn/test/common/topk.h | 10 ------- dnn/test/common/tqt.h | 12 -------- dnn/test/common/utils.cpp | 10 ------- dnn/test/common/utils.h | 10 ------- dnn/test/common/warp_affine.h | 10 ------- dnn/test/common/warp_perspective.cpp | 12 -------- dnn/test/common/warp_perspective.h | 10 ------- dnn/test/common/winograd_filter_preprocess.h | 10 ------- dnn/test/common/workspace_wrapper.cpp | 10 ------- dnn/test/common/workspace_wrapper.h | 10 ------- dnn/test/cpu/batched_matrix_mul.cpp | 10 ------- dnn/test/cpu/convolution.cpp | 10 ------- dnn/test/cpu/fixture.cpp | 10 ------- dnn/test/cpu/fixture.h | 10 ------- dnn/test/cpu/group_local.cpp | 10 ------- dnn/test/cpu/local.cpp | 10 ------- dnn/test/cpu/mask_conv.cpp | 11 -------- dnn/test/cpu/matrix_mul.cpp | 10 ------- dnn/test/cpu/matrix_mul_int_8x8x16.cpp | 10 ------- dnn/test/cpu/matrix_mul_int_8x8x32.cpp | 10 ------- dnn/test/cpu/pooling.cpp | 10 ------- dnn/test/cpu/relayout.cpp | 11 -------- dnn/test/cpu/resize.cpp | 10 ------- dnn/test/cpu/task_executor.cpp | 11 -------- dnn/test/cpu/type_cvt.cpp | 10 ------- dnn/test/cpu/warp_affine.cpp | 10 ------- dnn/test/cpu/warp_perspective.cpp | 10 ------- dnn/test/cuda/accuracy_shake.cpp | 11 -------- dnn/test/cuda/adaptive_pooling.cpp | 11 -------- dnn/test/cuda/add_update.cpp | 10 ------- dnn/test/cuda/argmxx.cpp | 10 ------- dnn/test/cuda/argsort.cpp | 10 ------- dnn/test/cuda/batch_conv_bias.cpp | 10 ------- dnn/test/cuda/batched_matrix_mul.cpp | 10 ------- dnn/test/cuda/benchmark.cpp | 10 ------- dnn/test/cuda/benchmark.h | 10 ------- dnn/test/cuda/bn.cpp | 11 -------- dnn/test/cuda/chanwise_convolution.cpp | 11 -------- dnn/test/cuda/chanwise_convolution3d.cpp | 11 -------- dnn/test/cuda/check_non_finite.cpp | 10 ------- dnn/test/cuda/checksum.cpp | 11 -------- dnn/test/cuda/concat.cpp | 10 ------- dnn/test/cuda/cond_take.cpp | 11 -------- dnn/test/cuda/conv_bias.cpp | 10 ------- dnn/test/cuda/conv_bias_int8.cpp | 11 -------- dnn/test/cuda/conv_pooling.cpp | 10 ------- dnn/test/cuda/conv_test_utils.cpp | 12 -------- dnn/test/cuda/conv_test_utils.h | 11 -------- dnn/test/cuda/convolution.cpp | 11 -------- dnn/test/cuda/convolution3d.cpp | 10 ------- dnn/test/cuda/correlation.cpp | 11 -------- dnn/test/cuda/cumsum.cpp | 10 ------- dnn/test/cuda/cutlass_matmul.cpp | 11 -------- dnn/test/cuda/cvt_color.cpp | 10 ------- dnn/test/cuda/dct.cpp | 11 -------- dnn/test/cuda/deformable_conv.cpp | 11 -------- dnn/test/cuda/deformable_ps_roi_pooling.cpp | 11 -------- dnn/test/cuda/diag.cpp | 10 ------- dnn/test/cuda/dilated_convolution.cpp | 10 ------- dnn/test/cuda/dot.cpp | 11 -------- dnn/test/cuda/elemwise.cpp | 12 -------- dnn/test/cuda/elemwise_multi_type.cpp | 11 -------- dnn/test/cuda/eye.cpp | 10 ------- dnn/test/cuda/fake_quant.cpp | 12 -------- dnn/test/cuda/fill.cpp | 10 ------- dnn/test/cuda/fixture.cpp | 10 ------- dnn/test/cuda/fixture.h | 10 ------- dnn/test/cuda/flip.cpp | 11 -------- dnn/test/cuda/gaussian_blur.cpp | 10 ------- dnn/test/cuda/group_conv.cpp | 10 ------- dnn/test/cuda/group_conv3d.cpp | 10 ------- dnn/test/cuda/group_local.cpp | 10 ------- dnn/test/cuda/images2neibs.cpp | 10 ------- dnn/test/cuda/indexing_multi_axis_vec.cpp | 11 -------- dnn/test/cuda/indexing_one_hot.cpp | 11 -------- dnn/test/cuda/layer_norm.cpp | 11 -------- dnn/test/cuda/linspace.cpp | 10 ------- dnn/test/cuda/local.cpp | 10 ------- dnn/test/cuda/local/local.cu | 10 ------- dnn/test/cuda/local/local.h | 10 ------- dnn/test/cuda/local_share.cpp | 11 -------- dnn/test/cuda/lrn.cpp | 10 ------- dnn/test/cuda/lsq.cpp | 12 -------- dnn/test/cuda/mask_conv.cpp | 10 ------- dnn/test/cuda/matrix_inverse.cpp | 10 ------- dnn/test/cuda/matrix_mul.cpp | 11 -------- dnn/test/cuda/megcore/computing.cpp | 10 ------- dnn/test/cuda/megcore/device.cpp | 10 ------- dnn/test/cuda/megcore/fixture.cpp | 11 -------- dnn/test/cuda/megcore/fixture.h | 10 ------- dnn/test/cuda/mesh_indexing.cpp | 11 -------- dnn/test/cuda/padding.cpp | 12 -------- dnn/test/cuda/param_pack.cpp | 10 ------- dnn/test/cuda/pooling.cpp | 10 ------- dnn/test/cuda/powc.cpp | 10 ------- dnn/test/cuda/reduce.cpp | 11 -------- dnn/test/cuda/relayout.cpp | 11 -------- dnn/test/cuda/relayout_format.cpp | 11 -------- dnn/test/cuda/remap.cpp | 11 -------- dnn/test/cuda/repeat.cpp | 10 ------- dnn/test/cuda/resize.cpp | 10 ------- dnn/test/cuda/rng.cpp | 10 ------- dnn/test/cuda/roi_align.cpp | 10 ------- dnn/test/cuda/roi_copy.cpp | 11 -------- dnn/test/cuda/roi_pooling.cpp | 10 ------- dnn/test/cuda/rotate.cpp | 11 -------- dnn/test/cuda/sleep.cpp | 11 -------- dnn/test/cuda/sliding_window_transpose.cpp | 10 ------- dnn/test/cuda/softmax.cpp | 10 ------- dnn/test/cuda/split.cpp | 10 ------- dnn/test/cuda/svd.cpp | 10 ------- dnn/test/cuda/tensor_remap.cpp | 10 ------- dnn/test/cuda/tile.cpp | 10 ------- dnn/test/cuda/timer.h | 10 ------- dnn/test/cuda/topk.cpp | 10 ------- dnn/test/cuda/tqt.cpp | 12 -------- dnn/test/cuda/transpose.cpp | 10 ------- dnn/test/cuda/type_cvt.cpp | 10 ------- dnn/test/cuda/utils.cpp | 11 -------- dnn/test/cuda/utils.h | 11 -------- dnn/test/cuda/warp_affine.cpp | 10 ------- dnn/test/cuda/warp_perspective.cpp | 11 -------- dnn/test/dispatcher/null.cpp | 10 ------- dnn/test/dispatcher/warp_perspective.cpp | 10 ------- dnn/test/fallback/concat.cpp | 10 ------- dnn/test/fallback/conv_bias.cpp | 11 -------- dnn/test/fallback/convolution.cpp | 11 -------- dnn/test/fallback/elemwise.cpp | 11 -------- dnn/test/fallback/elemwise_multi_type.cpp | 11 -------- dnn/test/fallback/fixture.cpp | 10 ------- dnn/test/fallback/fixture.h | 10 ------- dnn/test/fallback/flip.cpp | 11 -------- dnn/test/fallback/gaussian_blur.cpp | 10 ------- dnn/test/fallback/matrix_mul.cpp | 10 ------- dnn/test/fallback/powc.cpp | 10 ------- dnn/test/fallback/reduce.cpp | 10 ------- dnn/test/fallback/relayout.cpp | 11 -------- dnn/test/fallback/repeat.cpp | 10 ------- dnn/test/fallback/resize.cpp | 10 ------- dnn/test/fallback/roi_copy.cpp | 11 -------- dnn/test/fallback/rotate.cpp | 11 -------- dnn/test/fallback/split.cpp | 10 ------- dnn/test/fallback/tile.cpp | 10 ------- dnn/test/fallback/type_cvt.cpp | 10 ------- dnn/test/fallback/warp_perspective.cpp | 10 ------- dnn/test/gtest_main.cpp | 11 -------- dnn/test/main.cpp | 11 -------- dnn/test/naive/add_update.cpp | 12 -------- dnn/test/naive/check_non_finite.cpp | 11 -------- dnn/test/naive/conv_bias.cpp | 12 -------- dnn/test/naive/convolution.cpp | 10 ------- dnn/test/naive/cvt_color.cpp | 10 ------- dnn/test/naive/dct.cpp | 11 -------- dnn/test/naive/deformable_conv.cpp | 10 ------- dnn/test/naive/deformable_ps_roi_pooling.cpp | 10 ------- dnn/test/naive/diag.cpp | 12 -------- dnn/test/naive/elemwise_multi_type.cpp | 11 -------- dnn/test/naive/fixture.cpp | 10 ------- dnn/test/naive/fixture.h | 10 ------- dnn/test/naive/images2neibs.cpp | 10 ------- dnn/test/naive/lsq.cpp | 11 -------- dnn/test/naive/lstm.cpp | 10 ------- dnn/test/naive/lstmcell.cpp | 10 ------- dnn/test/naive/matrix_inverse.cpp | 11 -------- dnn/test/naive/matrix_mul.cpp | 10 ------- dnn/test/naive/mesh_indexing.cpp | 11 -------- dnn/test/naive/padding.cpp | 10 ------- dnn/test/naive/pooling.cpp | 10 ------- dnn/test/naive/record1.cpp | 12 -------- dnn/test/naive/reduce.cpp | 10 ------- dnn/test/naive/relayout_format.cpp | 11 -------- dnn/test/naive/resize.cpp | 11 -------- dnn/test/naive/rng.cpp | 11 -------- dnn/test/naive/rng.h | 11 -------- dnn/test/naive/rnn.cpp | 10 ------- dnn/test/naive/rnn_cell.cpp | 10 ------- dnn/test/naive/sliding_window_transpose.cpp | 10 ------- dnn/test/naive/softmax.cpp | 11 -------- dnn/test/naive/svd.cpp | 10 ------- dnn/test/naive/type_cvt.cpp | 10 ------- dnn/test/naive/warp_afffine.cpp | 10 ------- dnn/test/naive/warp_perspective.cpp | 10 ------- dnn/test/rocm/adaptive_pooling.cpp | 11 -------- dnn/test/rocm/add_update.cpp | 10 ------- dnn/test/rocm/argmxx.cpp | 10 ------- dnn/test/rocm/argsort.cpp | 10 ------- dnn/test/rocm/batched_matrix_mul.cpp | 10 ------- dnn/test/rocm/benchmark.cpp | 10 ------- dnn/test/rocm/benchmarker.h | 10 ------- dnn/test/rocm/benchmarker.inl | 10 ------- dnn/test/rocm/bn.cpp | 11 -------- dnn/test/rocm/chanwise_convolution.cpp | 11 -------- dnn/test/rocm/checksum.cpp | 10 ------- dnn/test/rocm/convolution.cpp | 10 ------- dnn/test/rocm/elemwise.cpp | 10 ------- dnn/test/rocm/eye.cpp | 10 ------- dnn/test/rocm/fill.cpp | 10 ------- dnn/test/rocm/fixture.cpp | 10 ------- dnn/test/rocm/fixture.h | 10 ------- dnn/test/rocm/indexing_multi_axis_vec.cpp | 11 -------- dnn/test/rocm/indexing_one_hot.cpp | 10 ------- dnn/test/rocm/linspace.cpp | 10 ------- dnn/test/rocm/matrix_mul.cpp | 10 ------- dnn/test/rocm/megcore/computing.cpp | 10 ------- dnn/test/rocm/megcore/device.cpp | 10 ------- dnn/test/rocm/megcore/fixture.cpp | 10 ------- dnn/test/rocm/megcore/fixture.h | 10 ------- dnn/test/rocm/param_pack.cpp | 10 ------- dnn/test/rocm/pooling.cpp | 10 ------- dnn/test/rocm/powc.cpp | 10 ------- dnn/test/rocm/reduce.cpp | 10 ------- dnn/test/rocm/relayout.cpp | 10 ------- dnn/test/rocm/rng.cpp | 10 ------- dnn/test/rocm/sleep.cpp | 10 ------- dnn/test/rocm/topk.cpp | 10 ------- dnn/test/rocm/type_cvt.cpp | 10 ------- dnn/test/rocm/utils.h | 11 -------- dnn/test/x86/accuracy_shake.cpp | 11 -------- dnn/test/x86/add_update.cpp | 10 ------- dnn/test/x86/conv_bias.cpp | 11 -------- dnn/test/x86/convolution.cpp | 11 -------- dnn/test/x86/cpuinfo.cpp | 11 -------- dnn/test/x86/cvt_color.cpp | 10 ------- dnn/test/x86/elemwise.cpp | 10 ------- dnn/test/x86/elemwise_bmark.cpp | 10 ------- dnn/test/x86/elemwise_multi_type.cpp | 11 -------- dnn/test/x86/fixture.cpp | 10 ------- dnn/test/x86/fixture.h | 10 ------- dnn/test/x86/gaussian_blur.cpp | 10 ------- dnn/test/x86/lrn.cpp | 10 ------- dnn/test/x86/matrix_mul.cpp | 11 -------- dnn/test/x86/pooling.cpp | 10 ------- dnn/test/x86/resize.cpp | 10 ------- dnn/test/x86/separable_conv.cpp | 10 ------- dnn/test/x86/separable_filter.cpp | 10 ------- dnn/test/x86/type_cvt.cpp | 10 ------- dnn/test/x86/warp_perspective.cpp | 10 ------- imperative/python/megengine/__init__.py | 7 ----- imperative/python/megengine/amp/__init__.py | 7 ----- imperative/python/megengine/amp/autocast.py | 7 ----- imperative/python/megengine/amp/grad_scaler.py | 7 ----- imperative/python/megengine/autodiff/__init__.py | 7 ----- .../python/megengine/autodiff/grad_manager.py | 7 ----- imperative/python/megengine/core/__init__.py | 7 ----- imperative/python/megengine/core/_config.py | 7 ----- imperative/python/megengine/core/_trace_option.py | 7 ----- imperative/python/megengine/core/_wrap.py | 7 ----- .../python/megengine/core/autodiff/__init__.py | 7 ----- imperative/python/megengine/core/autodiff/grad.py | 7 ----- imperative/python/megengine/core/ops/__init__.py | 7 ----- .../python/megengine/core/ops/builtin/__init__.py | 7 ----- imperative/python/megengine/core/ops/custom.py | 7 ----- .../python/megengine/core/tensor/__init__.py | 7 ----- imperative/python/megengine/core/tensor/amp.py | 8 ------ .../python/megengine/core/tensor/array_method.py | 7 ----- imperative/python/megengine/core/tensor/dtype.py | 7 ----- .../python/megengine/core/tensor/megbrain_graph.py | 7 ----- imperative/python/megengine/core/tensor/utils.py | 7 ----- imperative/python/megengine/data/__init__.py | 7 ----- imperative/python/megengine/data/collator.py | 7 ----- imperative/python/megengine/data/dataloader.py | 7 ----- .../python/megengine/data/dataset/__init__.py | 7 ----- .../python/megengine/data/dataset/meta_dataset.py | 7 ----- .../megengine/data/dataset/vision/__init__.py | 7 ----- .../python/megengine/data/dataset/vision/cifar.py | 7 ----- .../megengine/data/dataset/vision/cityscapes.py | 7 ----- .../python/megengine/data/dataset/vision/coco.py | 7 ----- .../python/megengine/data/dataset/vision/folder.py | 7 ----- .../megengine/data/dataset/vision/imagenet.py | 7 ----- .../megengine/data/dataset/vision/meta_vision.py | 7 ----- .../python/megengine/data/dataset/vision/mnist.py | 7 ----- .../megengine/data/dataset/vision/objects365.py | 7 ----- .../python/megengine/data/dataset/vision/utils.py | 7 ----- .../python/megengine/data/dataset/vision/voc.py | 7 ----- imperative/python/megengine/data/sampler.py | 7 ----- imperative/python/megengine/data/tools/__init__.py | 7 ----- imperative/python/megengine/data/tools/_queue.py | 7 ----- .../python/megengine/data/transform/__init__.py | 7 ----- .../megengine/data/transform/meta_transform.py | 7 ----- .../megengine/data/transform/vision/__init__.py | 7 ----- .../megengine/data/transform/vision/functional.py | 7 ----- .../megengine/data/transform/vision/transform.py | 7 ----- imperative/python/megengine/device.py | 7 ----- .../python/megengine/distributed/__init__.py | 7 ----- .../python/megengine/distributed/functional.py | 7 ----- imperative/python/megengine/distributed/group.py | 7 ----- imperative/python/megengine/distributed/helper.py | 7 ----- .../python/megengine/distributed/launcher.py | 7 ----- imperative/python/megengine/distributed/server.py | 7 ----- imperative/python/megengine/dtr/__init__.py | 7 ----- imperative/python/megengine/dtr/dtr.py | 7 ----- .../python/megengine/experimental/__init__.py | 7 ----- imperative/python/megengine/functional/__init__.py | 7 ----- .../python/megengine/functional/debug_param.py | 7 ----- .../python/megengine/functional/distributed.py | 7 ----- imperative/python/megengine/functional/elemwise.py | 7 ----- imperative/python/megengine/functional/external.py | 7 ----- imperative/python/megengine/functional/inplace.py | 7 ----- imperative/python/megengine/functional/loss.py | 7 ----- imperative/python/megengine/functional/math.py | 7 ----- imperative/python/megengine/functional/metric.py | 7 ----- imperative/python/megengine/functional/nn.py | 7 ----- .../python/megengine/functional/quantized.py | 7 ----- imperative/python/megengine/functional/tensor.py | 7 ----- imperative/python/megengine/functional/utils.py | 7 ----- imperative/python/megengine/functional/vision.py | 7 ----- imperative/python/megengine/hub/__init__.py | 7 ----- imperative/python/megengine/hub/const.py | 7 ----- imperative/python/megengine/hub/exceptions.py | 7 ----- imperative/python/megengine/hub/fetcher.py | 7 ----- imperative/python/megengine/hub/hub.py | 7 ----- imperative/python/megengine/hub/tools.py | 7 ----- imperative/python/megengine/jit/__init__.py | 7 ----- imperative/python/megengine/jit/dtr_config.py | 7 ----- .../python/megengine/jit/graph_opt_config.py | 7 ----- .../megengine/jit/sublinear_memory_config.py | 7 ----- imperative/python/megengine/jit/tracing.py | 7 ----- imperative/python/megengine/logger.py | 7 ----- imperative/python/megengine/module/__init__.py | 7 ----- imperative/python/megengine/module/activation.py | 7 ----- .../python/megengine/module/adaptive_pooling.py | 7 ----- .../megengine/module/batch_matmul_activation.py | 7 ----- imperative/python/megengine/module/batchnorm.py | 7 ----- imperative/python/megengine/module/concat.py | 7 ----- imperative/python/megengine/module/conv.py | 7 ----- imperative/python/megengine/module/conv_bn.py | 7 ----- .../megengine/module/deformable_psroi_pooling.py | 7 ----- imperative/python/megengine/module/dropout.py | 7 ----- imperative/python/megengine/module/elemwise.py | 7 ----- imperative/python/megengine/module/embedding.py | 7 ----- imperative/python/megengine/module/external.py | 7 ----- imperative/python/megengine/module/identity.py | 7 ----- imperative/python/megengine/module/init.py | 7 ----- imperative/python/megengine/module/linear.py | 7 ----- imperative/python/megengine/module/lrn.py | 7 ----- imperative/python/megengine/module/module.py | 7 ----- .../python/megengine/module/normalization.py | 7 ----- .../python/megengine/module/pixel_shuffle.py | 7 ----- imperative/python/megengine/module/pooling.py | 7 ----- imperative/python/megengine/module/qat/__init__.py | 7 ----- .../module/qat/batch_matmul_activation.py | 7 ----- imperative/python/megengine/module/qat/concat.py | 7 ----- imperative/python/megengine/module/qat/conv.py | 7 ----- imperative/python/megengine/module/qat/conv_bn.py | 7 ----- imperative/python/megengine/module/qat/elemwise.py | 7 ----- imperative/python/megengine/module/qat/linear.py | 7 ----- imperative/python/megengine/module/qat/module.py | 7 ----- .../python/megengine/module/qat/quant_dequant.py | 7 ----- .../python/megengine/module/quant_dequant.py | 7 ----- .../python/megengine/module/quantized/__init__.py | 7 ----- .../module/quantized/batch_matmul_activation.py | 7 ----- .../python/megengine/module/quantized/concat.py | 7 ----- .../python/megengine/module/quantized/conv.py | 7 ----- .../python/megengine/module/quantized/conv_bn.py | 7 ----- .../python/megengine/module/quantized/elemwise.py | 7 ----- .../python/megengine/module/quantized/linear.py | 7 ----- .../python/megengine/module/quantized/module.py | 7 ----- .../megengine/module/quantized/quant_dequant.py | 7 ----- imperative/python/megengine/module/rnn.py | 7 ----- imperative/python/megengine/module/sequential.py | 7 ----- .../python/megengine/module/sliding_window.py | 7 ----- imperative/python/megengine/optimizer/__init__.py | 7 ----- imperative/python/megengine/optimizer/adadelta.py | 7 ----- imperative/python/megengine/optimizer/adagrad.py | 7 ----- imperative/python/megengine/optimizer/adam.py | 7 ----- imperative/python/megengine/optimizer/adamw.py | 7 ----- imperative/python/megengine/optimizer/clip_grad.py | 7 ----- .../python/megengine/optimizer/lr_scheduler.py | 7 ----- .../python/megengine/optimizer/multi_step_lr.py | 7 ----- imperative/python/megengine/optimizer/optimizer.py | 7 ----- imperative/python/megengine/optimizer/sgd.py | 7 ----- .../python/megengine/quantization/__init__.py | 8 ------ .../python/megengine/quantization/fake_quant.py | 7 ----- .../megengine/quantization/internal_fake_quant.py | 7 ----- .../python/megengine/quantization/observer.py | 7 ----- .../python/megengine/quantization/qconfig.py | 7 ----- .../python/megengine/quantization/quantize.py | 7 ----- imperative/python/megengine/quantization/utils.py | 7 ----- imperative/python/megengine/random/__init__.py | 7 ----- imperative/python/megengine/random/rng.py | 7 ----- imperative/python/megengine/serialization.py | 7 ----- imperative/python/megengine/tensor.py | 7 ----- imperative/python/megengine/tools/benchmark_op.py | 7 ----- .../megengine/tools/compare_binary_iodump.py | 7 ----- imperative/python/megengine/tools/draw_graph.py | 7 ----- .../megengine/tools/dump_with_testcase_mge.py | 7 ----- .../python/megengine/tools/graph_info_analyze.py | 7 ----- .../python/megengine/tools/load_network_and_run.py | 7 ----- imperative/python/megengine/tools/mge | 7 ----- .../python/megengine/tools/network_visualize.py | 7 ----- .../python/megengine/tools/profile_analyze.py | 7 ----- imperative/python/megengine/tools/profiler.py | 7 ----- imperative/python/megengine/tools/svg_viewer.py | 7 ----- .../python/megengine/traced_module/__init__.py | 8 ------ .../megengine/traced_module/_passes/__init__.py | 8 ------ .../megengine/traced_module/_passes/const_pass.py | 8 ------ .../traced_module/_passes/fold_scale_pass.py | 8 ------ .../megengine/traced_module/_passes/fuse_pass.py | 8 ------ .../megengine/traced_module/_passes/matcher.py | 8 ------ .../traced_module/_passes/optimization.py | 8 ------ .../megengine/traced_module/_passes/pass_base.py | 8 ------ .../megengine/traced_module/_passes/pattern.py | 8 ------ .../megengine/traced_module/_passes/utils.py | 8 ------ .../python/megengine/traced_module/checker.py | 7 ----- .../python/megengine/traced_module/compat.py | 8 ------ imperative/python/megengine/traced_module/expr.py | 8 ------ .../python/megengine/traced_module/fake_quant.py | 8 ------ .../megengine/traced_module/module_tracer.py | 7 ----- imperative/python/megengine/traced_module/node.py | 7 ----- .../python/megengine/traced_module/pytree.py | 8 ------ .../megengine/traced_module/serialization.py | 7 ----- .../megengine/traced_module/traced_module.py | 7 ----- imperative/python/megengine/traced_module/utils.py | 7 ----- imperative/python/megengine/utils/__init__.py | 7 ----- .../megengine/utils/_timed_func_fork_exec_entry.py | 7 ----- .../python/megengine/utils/comp_graph_tools.py | 7 ----- .../python/megengine/utils/custom_op_tools.py | 8 ------ imperative/python/megengine/utils/deprecation.py | 7 ----- imperative/python/megengine/utils/future.py | 7 ----- imperative/python/megengine/utils/hook.py | 7 ----- imperative/python/megengine/utils/http_download.py | 7 ----- .../python/megengine/utils/max_recursion_limit.py | 7 ----- imperative/python/megengine/utils/module_stats.py | 7 ----- imperative/python/megengine/utils/module_utils.py | 7 ----- imperative/python/megengine/utils/naming.py | 8 ------ imperative/python/megengine/utils/network.py | 7 ----- imperative/python/megengine/utils/network_node.py | 7 ----- .../python/megengine/utils/persistent_cache.py | 7 ----- .../python/megengine/utils/profile_analyzer.py | 7 ----- imperative/python/megengine/utils/profiler.py | 7 ----- .../python/megengine/utils/tuple_function.py | 7 ----- imperative/python/setup.py | 7 ----- imperative/python/src/common.cpp | 11 -------- imperative/python/src/common.h | 11 -------- imperative/python/src/grad.cpp | 11 -------- imperative/python/src/grad.h | 11 -------- imperative/python/src/grad_override.cpp | 11 -------- imperative/python/src/graph_rt.cpp | 11 -------- imperative/python/src/graph_rt.h | 11 -------- imperative/python/src/helper.cpp | 11 -------- imperative/python/src/helper.h | 11 -------- imperative/python/src/imperative_rt.cpp | 11 -------- imperative/python/src/imperative_rt.h | 11 -------- imperative/python/src/module.cpp | 11 -------- imperative/python/src/module_trace.h | 11 -------- imperative/python/src/numpy_dtypes.cpp | 11 -------- imperative/python/src/numpy_dtypes.h | 11 -------- imperative/python/src/numpy_dtypes_bfloat16.cpp | 11 -------- imperative/python/src/numpy_dtypes_intbx.cpp | 11 -------- imperative/python/src/ops.cpp | 11 -------- imperative/python/src/ops.h | 11 -------- imperative/python/src/pyext17.h | 11 -------- imperative/python/src/tensor.cpp | 11 -------- imperative/python/src/tensor.h | 11 -------- imperative/python/src/tensor_utils.cpp | 11 -------- imperative/python/src/transformation.h | 11 -------- imperative/python/src/utils.cpp | 11 -------- imperative/python/src/utils.h | 11 -------- imperative/python/test/conftest.py | 7 ----- .../test/integration/test_advance_indexing.py | 7 ----- imperative/python/test/integration/test_ai.py | 7 ----- imperative/python/test/integration/test_bn.py | 7 ----- .../python/test/integration/test_converge.py | 7 ----- .../test/integration/test_converge_with_drop.py | 7 ----- .../test_converge_with_gradient_clip.py | 7 ----- imperative/python/test/integration/test_detach.py | 7 ----- .../python/test/integration/test_dp_correctness.py | 7 ----- .../python/test/integration/test_hello_world.py | 7 ----- .../python/test/integration/test_lr_scheduler.py | 7 ----- .../python/test/integration/test_optimizer.py | 7 ----- .../python/test/integration/test_param_pack.py | 7 ----- .../python/test/integration/test_save_load.py | 7 ----- .../python/test/integration/test_sgd_momentum.py | 7 ----- .../python/test/integration/test_trace_dump.py | 8 ------ imperative/python/test/unit/amp/test_autocast.py | 7 ----- .../python/test/unit/amp/test_grad_scaler.py | 7 ----- .../python/test/unit/autodiff/test_grad_manager.py | 7 ----- .../test/unit/core/custom_opsrc/elem_add.cpp | 11 -------- .../test/unit/core/custom_opsrc/matmul_scale.cpp | 11 -------- .../test/unit/core/custom_opsrc/matmul_scale.cu | 11 -------- .../test/unit/core/custom_opsrc/matmul_scale.h | 11 -------- imperative/python/test/unit/core/test_autodiff.py | 7 ----- imperative/python/test/unit/core/test_custom_op.py | 8 ------ .../python/test/unit/core/test_dtype_bfloat16.py | 8 ------ .../python/test/unit/core/test_dtype_intbx.py | 8 ------ .../python/test/unit/core/test_dtype_quant.py | 8 ------ imperative/python/test/unit/core/test_function.py | 7 ----- .../python/test/unit/core/test_imperative_rt.py | 7 ----- .../python/test/unit/core/test_indexing_op.py | 7 ----- .../python/test/unit/core/test_megbrain_graph.py | 7 ----- .../python/test/unit/core/test_raw_tensor.py | 7 ----- .../python/test/unit/core/test_serialization.py | 7 ----- .../python/test/unit/core/test_tensor_wrapper.py | 7 ----- imperative/python/test/unit/core/test_util.py | 7 ----- .../python/test/unit/data/test_dataloader.py | 7 ----- imperative/python/test/unit/data/test_dataset.py | 7 ----- .../python/test/unit/data/test_pre_dataloader.py | 7 ----- imperative/python/test/unit/data/test_sampler.py | 7 ----- imperative/python/test/unit/data/test_transform.py | 7 ----- .../test/unit/distributed/test_distributed.py | 7 ----- .../python/test/unit/functional/test_elemwise.py | 7 ----- .../python/test/unit/functional/test_functional.py | 7 ----- .../unit/functional/test_functional_distributed.py | 7 ----- .../functional/test_functional_distributed_axis.py | 7 ----- .../python/test/unit/functional/test_loss.py | 7 ----- .../python/test/unit/functional/test_math.py | 7 ----- .../python/test/unit/functional/test_tensor.py | 7 ----- imperative/python/test/unit/jit/test_tracing.py | 7 ----- .../python/test/unit/module/test_activation.py | 7 ----- .../python/test/unit/module/test_batchnorm.py | 7 ----- imperative/python/test/unit/module/test_conv.py | 7 ----- .../python/test/unit/module/test_elemwise.py | 7 ----- imperative/python/test/unit/module/test_init.py | 7 ----- imperative/python/test/unit/module/test_module.py | 7 ----- .../python/test/unit/module/test_normalization.py | 7 ----- imperative/python/test/unit/module/test_pool2d.py | 7 ----- imperative/python/test/unit/module/test_rnn.py | 7 ----- .../python/test/unit/optimizer/test_clip_grad.py | 8 ------ .../test/unit/quantization/test_fake_quant.py | 7 ----- .../python/test/unit/quantization/test_module.py | 8 ------ .../python/test/unit/quantization/test_observer.py | 8 ------ .../python/test/unit/quantization/test_op.py | 8 ------ .../python/test/unit/quantization/test_quantize.py | 7 ----- .../python/test/unit/quantization/test_repr.py | 8 ------ imperative/python/test/unit/random/test_rng.py | 7 ----- .../test/unit/traced_module/test_jit_trace.py | 7 ----- .../test/unit/traced_module/test_modification.py | 7 ----- .../python/test/unit/traced_module/test_passes.py | 8 ------ .../test/unit/traced_module/test_serialization.py | 7 ----- imperative/python/test/unit/utils/test_cgtools.py | 7 ----- .../python/test/unit/utils/test_dump_naming.py | 7 ----- imperative/python/test/unit/utils/test_profiler.py | 7 ----- imperative/src/impl/backward_graph_opt.cpp | 11 -------- imperative/src/impl/blob_manager_impl.cpp | 11 -------- imperative/src/impl/blob_manager_impl.h | 11 -------- imperative/src/impl/dispatch.cpp | 11 -------- imperative/src/impl/dnn_op_helper.h | 11 -------- imperative/src/impl/event_pool.cpp | 11 -------- imperative/src/impl/event_pool.h | 11 -------- imperative/src/impl/function_hook.h | 11 -------- imperative/src/impl/interpreter/commands.h | 11 -------- .../src/impl/interpreter/interpreter_impl.cpp | 11 -------- imperative/src/impl/interpreter/interpreter_impl.h | 11 -------- imperative/src/impl/interpreter/option_manager.h | 11 -------- imperative/src/impl/interpreter/stack_manager.h | 11 -------- imperative/src/impl/interpreter/tensor_info.h | 11 -------- imperative/src/impl/op_def.cpp | 11 -------- imperative/src/impl/op_trait.cpp | 11 -------- imperative/src/impl/op_trait.h | 11 -------- imperative/src/impl/opr_utility.cpp | 11 -------- imperative/src/impl/ops/atlas_runtime.cpp | 11 -------- imperative/src/impl/ops/autogen.cpp | 11 -------- imperative/src/impl/ops/backward_graph.cpp | 11 -------- imperative/src/impl/ops/batch_norm.cpp | 11 -------- imperative/src/impl/ops/broadcast.cpp | 11 -------- imperative/src/impl/ops/cambricon_runtime.cpp | 11 -------- imperative/src/impl/ops/collective_comm.cpp | 11 -------- imperative/src/impl/ops/cond_take.cpp | 11 -------- imperative/src/impl/ops/convolution.cpp | 11 -------- imperative/src/impl/ops/custom_opdef.cpp | 11 -------- imperative/src/impl/ops/deformable_conv2d.cpp | 10 ------- .../src/impl/ops/deformable_psroi_pooling.cpp | 10 ------- imperative/src/impl/ops/elemwise.cpp | 11 -------- imperative/src/impl/ops/extern_opr.cpp | 10 ------- imperative/src/impl/ops/indexing.cpp | 11 -------- imperative/src/impl/ops/io_remote.cpp | 11 -------- imperative/src/impl/ops/magicmind_runtime.cpp | 11 -------- imperative/src/impl/ops/matrix_inverse.cpp | 11 -------- imperative/src/impl/ops/misc.cpp | 10 ------- imperative/src/impl/ops/nms.cpp | 11 -------- imperative/src/impl/ops/opr_attr.cpp | 11 -------- imperative/src/impl/ops/pooling.cpp | 11 -------- imperative/src/impl/ops/reduce.cpp | 11 -------- imperative/src/impl/ops/resize.cpp | 11 -------- imperative/src/impl/ops/rng.cpp | 12 -------- imperative/src/impl/ops/rnn.cpp | 11 -------- imperative/src/impl/ops/softmax.cpp | 11 -------- imperative/src/impl/ops/specializations.cpp | 12 -------- imperative/src/impl/ops/tensor_manip.cpp | 11 -------- imperative/src/impl/ops/tensorrt_runtime.cpp | 10 ------- imperative/src/impl/ops/utility.cpp | 11 -------- imperative/src/impl/ops/vision.cpp | 11 -------- imperative/src/impl/ops/warp_affine.cpp | 10 ------- imperative/src/impl/persistent_cache.cpp | 11 -------- imperative/src/impl/physical_tensor.cpp | 11 -------- imperative/src/impl/profiler.cpp | 11 -------- imperative/src/impl/profiler/chrome_timeline.cpp | 11 -------- imperative/src/impl/profiler/events.h | 11 -------- imperative/src/impl/profiler/formats.h | 11 -------- imperative/src/impl/profiler_plugin.cpp | 11 -------- imperative/src/impl/proxy_graph.cpp | 11 -------- imperative/src/impl/proxy_graph.h | 11 -------- imperative/src/impl/proxy_graph/common.h | 11 -------- imperative/src/impl/proxy_graph/mini_graph.h | 11 -------- imperative/src/impl/proxy_graph/proxy_graph.cpp | 11 -------- imperative/src/impl/proxy_graph/proxy_graph_base.h | 11 -------- imperative/src/impl/proxy_graph_detail.cpp | 11 -------- imperative/src/impl/resource_manager.cpp | 11 -------- imperative/src/impl/subgraph.cpp | 12 -------- imperative/src/impl/subgraph_detail.cpp | 11 -------- imperative/src/impl/tensor_sanity_check.cpp | 11 -------- imperative/src/impl/transformations/eval.cpp | 11 -------- imperative/src/impl/transformations/grad.cpp | 11 -------- imperative/src/impl/transformations/lazy.cpp | 11 -------- imperative/src/impl/transformations/scalar.cpp | 11 -------- imperative/src/impl/transformations/tangent.cpp | 11 -------- imperative/src/impl/transformations/trace.cpp | 11 -------- imperative/src/impl/utils/base64.cpp | 11 -------- imperative/src/impl/utils/debug.cpp | 11 -------- imperative/src/include/megbrain/imperative.h | 11 -------- .../megbrain/imperative/backward_graph_opt.h | 11 -------- .../include/megbrain/imperative/basic_operators.h | 11 -------- .../src/include/megbrain/imperative/basic_values.h | 11 -------- .../src/include/megbrain/imperative/blob_manager.h | 11 -------- .../src/include/megbrain/imperative/dispatch.h | 11 -------- .../include/megbrain/imperative/graph_builder.h | 12 -------- .../src/include/megbrain/imperative/graph_cache.h | 12 -------- .../src/include/megbrain/imperative/interpreter.h | 11 -------- .../src/include/megbrain/imperative/op_def.h | 11 -------- .../src/include/megbrain/imperative/operator.h | 11 -------- .../src/include/megbrain/imperative/opr_utility.h | 11 -------- .../src/include/megbrain/imperative/ops/autogen.h | 11 -------- .../megbrain/imperative/ops/backward_graph.h | 11 -------- .../include/megbrain/imperative/ops/custom_opdef.h | 11 -------- .../src/include/megbrain/imperative/ops/opr_attr.h | 11 -------- .../src/include/megbrain/imperative/ops/rng.h | 11 -------- .../src/include/megbrain/imperative/ops/utility.h | 11 -------- .../include/megbrain/imperative/persistent_cache.h | 11 -------- .../include/megbrain/imperative/physical_tensor.h | 11 -------- .../src/include/megbrain/imperative/profiler.h | 11 -------- .../include/megbrain/imperative/profiler_plugin.h | 11 -------- .../megbrain/imperative/proxy_graph_detail.h | 11 -------- .../include/megbrain/imperative/resource_manager.h | 11 -------- .../src/include/megbrain/imperative/subgraph.h | 12 -------- .../include/megbrain/imperative/subgraph_detail.h | 11 -------- .../megbrain/imperative/tensor_sanity_check.h | 11 -------- .../include/megbrain/imperative/transformation.h | 11 -------- .../megbrain/imperative/transformations/eval.h | 11 -------- .../megbrain/imperative/transformations/grad.h | 11 -------- .../megbrain/imperative/transformations/lazy.h | 11 -------- .../megbrain/imperative/transformations/scalar.h | 11 -------- .../megbrain/imperative/transformations/symbol.h | 11 -------- .../megbrain/imperative/transformations/tangent.h | 11 -------- .../megbrain/imperative/transformations/trace.h | 11 -------- .../include/megbrain/imperative/utils/allocator.h | 11 -------- .../src/include/megbrain/imperative/utils/any.h | 11 -------- .../src/include/megbrain/imperative/utils/base64.h | 11 -------- .../src/include/megbrain/imperative/utils/box.h | 11 -------- .../src/include/megbrain/imperative/utils/debug.h | 11 -------- .../src/include/megbrain/imperative/utils/helper.h | 11 -------- .../megbrain/imperative/utils/intrusive_list.h | 11 -------- .../include/megbrain/imperative/utils/local_ptr.h | 11 -------- .../src/include/megbrain/imperative/utils/map.h | 11 -------- .../include/megbrain/imperative/utils/mempool.h | 11 -------- .../src/include/megbrain/imperative/utils/span.h | 11 -------- .../include/megbrain/imperative/utils/to_string.h | 11 -------- .../megbrain/imperative/utils/value_shape.h | 11 -------- .../src/include/megbrain/imperative/utils/visit.h | 11 -------- imperative/src/include/megbrain/imperative/value.h | 11 -------- imperative/src/test/backward_graph.cpp | 12 -------- imperative/src/test/collective_comm.cpp | 11 -------- imperative/src/test/cond_take.cpp | 11 -------- imperative/src/test/helper.cpp | 11 -------- imperative/src/test/helper.h | 11 -------- imperative/src/test/imperative.cpp | 11 -------- imperative/src/test/io_remote.cpp | 11 -------- imperative/src/test/opr_utility.cpp | 11 -------- imperative/src/test/profiler.cpp | 11 -------- imperative/src/test/rng.cpp | 11 -------- imperative/tablegen/autogen.cpp | 11 -------- imperative/tablegen/emitter.h | 10 ------- imperative/tablegen/helper.h | 10 ------- imperative/tablegen/targets/cpp_class.cpp | 11 -------- imperative/tablegen/targets/cpp_class.h | 10 ------- imperative/tablegen/targets/macros.cpp | 11 -------- imperative/tablegen/targets/macros.h | 10 ------- imperative/tablegen/targets/pybind11.cpp | 11 -------- imperative/tablegen/targets/pybind11.h | 10 ------- imperative/tablegen/targets/python_c_extension.cpp | 11 -------- imperative/tablegen/targets/python_c_extension.h | 10 ------- lite/example/cpp_example/example.h | 11 -------- lite/example/cpp_example/main.cpp | 11 -------- lite/example/cpp_example/mge/basic.cpp | 11 -------- lite/example/cpp_example/mge/cpu_affinity.cpp | 11 -------- lite/example/cpp_example/mge/cv/detect_yolox.cpp | 11 -------- .../cpp_example/mge/cv/picture_classification.cpp | 11 -------- lite/example/cpp_example/mge/device_io.cpp | 11 -------- lite/example/cpp_example/mge/lite_c_interface.cpp | 11 -------- .../cpp_example/mge/network_share_weights.cpp | 11 -------- lite/example/cpp_example/mge/reset_io.cpp | 11 -------- lite/example/cpp_example/mge/user_allocator.cpp | 11 -------- lite/example/cpp_example/mge/user_cryption.cpp | 11 -------- lite/include/lite/common_enum_c.h | 11 -------- lite/include/lite/global.h | 11 -------- lite/include/lite/macro.h | 11 -------- lite/include/lite/network.h | 11 -------- lite/include/lite/tensor.h | 11 -------- lite/lite-c/include/lite-c/global_c.h | 11 -------- lite/lite-c/include/lite-c/network_c.h | 11 -------- lite/lite-c/include/lite-c/tensor_c.h | 11 -------- lite/lite-c/src/common.h | 11 -------- lite/lite-c/src/global.cpp | 11 -------- lite/lite-c/src/network.cpp | 11 -------- lite/lite-c/src/tensor.cpp | 11 -------- lite/load_and_run/src/helpers/data_parser.cpp | 12 -------- lite/load_and_run/src/helpers/data_parser.h | 12 -------- lite/load_and_run/src/helpers/json_loader.cpp | 12 -------- lite/load_and_run/src/helpers/json_loader.h | 12 -------- lite/load_and_run/src/helpers/outdumper.cpp | 7 ----- lite/load_and_run/src/helpers/outdumper.h | 7 ----- lite/load_and_run/src/helpers/text_table.cpp | 12 -------- lite/load_and_run/src/helpers/text_table.h | 12 -------- lite/pylite/megenginelite/__init__.py | 7 ----- lite/pylite/megenginelite/base.py | 7 ----- lite/pylite/megenginelite/global_setting.py | 7 ----- lite/pylite/megenginelite/network.py | 7 ----- lite/pylite/megenginelite/struct.py | 7 ----- lite/pylite/megenginelite/tensor.py | 7 ----- lite/pylite/megenginelite/utils.py | 7 ----- lite/pylite/test/test_global.py | 7 ----- lite/pylite/test/test_network.py | 7 ----- lite/pylite/test/test_network_device.py | 7 ----- lite/pylite/test/test_tensor.py | 7 ----- lite/pylite/test/test_utils.py | 7 ----- lite/src/decryption/aes_decrypt.h | 11 -------- lite/src/decryption/decrypt_base.h | 11 -------- lite/src/decryption/rc4/rc4_cryption_base.h | 10 ------- lite/src/decryption/rc4/rc4_cryption_impl.cpp | 11 -------- lite/src/decryption/rc4/rc4_cryption_impl.h | 10 ------- lite/src/decryption/rc4_cryption.cpp | 11 -------- lite/src/decryption/rc4_cryption.h | 10 ------- lite/src/function_base.h | 11 -------- lite/src/global.cpp | 11 -------- lite/src/lite_build_config.h.in | 10 ------- lite/src/mge/common.cpp | 11 -------- lite/src/mge/common.h | 11 -------- lite/src/mge/function_dft.h | 11 -------- lite/src/mge/memory_allocator.h | 11 -------- lite/src/mge/network_impl.cpp | 11 -------- lite/src/mge/network_impl.h | 11 -------- lite/src/mge/tensor_impl.cpp | 11 -------- lite/src/mge/tensor_impl.h | 11 -------- lite/src/misc.cpp | 11 -------- lite/src/misc.h | 12 -------- lite/src/network.cpp | 11 -------- lite/src/network_impl_base.h | 11 -------- lite/src/parse_info/default_parse.h | 11 -------- lite/src/parse_info/parse_info_base.h | 11 -------- lite/src/parse_model/model_parser.cpp | 11 -------- lite/src/parse_model/model_parser.h | 11 -------- lite/src/tensor.cpp | 11 -------- lite/src/tensor_impl_base.h | 11 -------- lite/src/type_info.h | 11 -------- lite/test/main.cpp | 11 -------- lite/test/test_common.h | 11 -------- lite/test/test_misc.cpp | 11 -------- lite/test/test_network.cpp | 11 -------- lite/test/test_network_c.cpp | 11 -------- lite/test/test_network_options.cpp | 11 -------- lite/test/test_tensor.cpp | 11 -------- lite/test/test_tensor_c.cpp | 11 -------- lite/tools/dump_model_mgb.py | 7 ----- lite/tools/pack_model/pack_model_and_info.py | 7 ----- lite/tools/rc4_encrypt.cpp | 10 ------- sdk/c-opr-loaders/mace/Makefile | 7 ----- sdk/c-opr-loaders/mace/dump_model.py | 7 ----- sdk/c-opr-loaders/mace/mace_loader.cpp | 11 -------- src/bin_reduce_cmake.h | 11 -------- src/cambricon/impl/cambricon_runtime_opr.cpp | 11 -------- src/cambricon/impl/cambricon_runtime_opr.sereg.h | 11 -------- src/cambricon/impl/magicmind_runtime_opr.cpp | 11 -------- src/cambricon/impl/magicmind_runtime_opr.sereg.h | 11 -------- .../megbrain/cambricon/cambricon_runtime_opr.h | 11 -------- .../megbrain/cambricon/magicmind_runtime_opr.h | 11 -------- src/cambricon/test/cambricon_runtime_opr.cpp | 11 -------- src/cambricon/test/magicmind_runtime_opr.cpp | 11 -------- src/core/impl/common.cpp | 11 -------- src/core/impl/comp_node/atlas/comp_node.cpp | 12 -------- src/core/impl/comp_node/atlas/comp_node.h | 12 -------- src/core/impl/comp_node/cambricon/comp_node.cpp | 11 -------- src/core/impl/comp_node/cambricon/comp_node.h | 11 -------- src/core/impl/comp_node/comp_node.cpp | 11 -------- src/core/impl/comp_node/cpu/comp_node.cpp | 11 -------- src/core/impl/comp_node/cpu/comp_node.h | 11 -------- src/core/impl/comp_node/cuda/comp_node.cpp | 12 -------- src/core/impl/comp_node/cuda/comp_node.h | 11 -------- src/core/impl/comp_node/impl_helper.cpp | 11 -------- src/core/impl/comp_node/impl_helper.h | 11 -------- src/core/impl/comp_node/mem_alloc/alloc.cpp | 11 -------- src/core/impl/comp_node/mem_alloc/impl.cpp | 11 -------- src/core/impl/comp_node/mem_alloc/impl.h | 11 -------- src/core/impl/comp_node/rocm/comp_node.cpp | 11 -------- src/core/impl/comp_node/rocm/comp_node.h | 11 -------- src/core/impl/comp_node_env.cpp | 10 ------- src/core/impl/dtype.cpp | 11 -------- src/core/impl/exception.cpp | 11 -------- src/core/impl/graph/bases.cpp | 11 -------- src/core/impl/graph/cg_impl.cpp | 11 -------- src/core/impl/graph/cg_impl.h | 11 -------- src/core/impl/graph/cg_impl_partial.cpp | 11 -------- src/core/impl/graph/cg_impl_partial.h | 11 -------- src/core/impl/graph/cg_impl_seq.cpp | 11 -------- src/core/impl/graph/cg_impl_seq.h | 11 -------- src/core/impl/graph/eager_eval.cpp | 11 -------- src/core/impl/graph/eager_eval.h | 11 -------- src/core/impl/graph/event.cpp | 11 -------- src/core/impl/graph/execution_mask.cpp | 11 -------- src/core/impl/graph/grad_manager.cpp | 11 -------- src/core/impl/graph/grad_manager.h | 11 -------- src/core/impl/graph/graph_opt.cpp | 11 -------- src/core/impl/graph/graph_opt.h | 11 -------- src/core/impl/graph/helper.cpp | 11 -------- src/core/impl/graph/impl_common.h | 11 -------- src/core/impl/graph/memory_optimizer.cpp | 11 -------- src/core/impl/graph/memory_optimizer.h | 11 -------- src/core/impl/graph/normal_exec_env.cpp | 11 -------- src/core/impl/graph/normal_exec_env.h | 11 -------- src/core/impl/graph/operator_node.cpp | 11 -------- src/core/impl/graph/seq_comp_node_opt_impl.cpp | 11 -------- src/core/impl/graph/seq_comp_node_opt_impl.h | 11 -------- src/core/impl/graph/seq_dtr.cpp | 11 -------- src/core/impl/graph/seq_dtr.h | 11 -------- src/core/impl/graph/seq_modifier_base.cpp | 11 -------- src/core/impl/graph/seq_modifier_base.h | 11 -------- src/core/impl/graph/seq_sublinear_memory.cpp | 11 -------- src/core/impl/graph/seq_sublinear_memory.h | 11 -------- src/core/impl/graph/static_infer_impl.cpp | 11 -------- src/core/impl/graph/static_infer_impl.h | 11 -------- src/core/impl/graph/swap/memory_swap.cpp | 11 -------- src/core/impl/graph/swap/memory_swap.h | 10 ------- src/core/impl/graph/swap/swap_helper.cpp | 11 -------- src/core/impl/graph/swap/swap_helper.h | 11 -------- src/core/impl/graph/swap/swap_opr.cpp | 11 -------- src/core/impl/graph/swap/swap_opr.h | 11 -------- src/core/impl/graph/symbol_var.cpp | 11 -------- src/core/impl/graph/topo_sort.cpp | 11 -------- src/core/impl/graph/topo_sort.h | 11 -------- src/core/impl/graph/var_node.cpp | 11 -------- src/core/impl/graph/var_node_mem_mgr.cpp | 11 -------- src/core/impl/graph/var_node_mem_mgr.h | 11 -------- src/core/impl/graph/var_node_mem_mgr/defrag.cpp | 11 -------- src/core/impl/graph/var_node_mem_mgr/defrag.h | 11 -------- .../impl/graph/var_node_mem_mgr/seq_mem_opt.cpp | 11 -------- src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h | 11 -------- .../impl/graph/var_node_mem_mgr/static_mem_alloc.h | 11 -------- .../var_node_mem_mgr/static_mem_alloc/best_fit.cpp | 11 -------- .../var_node_mem_mgr/static_mem_alloc/best_fit.h | 11 -------- .../static_mem_alloc/best_fit_helper.cpp | 11 -------- .../static_mem_alloc/best_fit_helper.h | 11 -------- .../var_node_mem_mgr/static_mem_alloc/impl.cpp | 11 -------- .../graph/var_node_mem_mgr/static_mem_alloc/impl.h | 11 -------- .../static_mem_alloc/interval_move.cpp | 11 -------- .../static_mem_alloc/interval_move.h | 11 -------- .../var_node_mem_mgr/static_mem_alloc/pushdown.cpp | 11 -------- .../var_node_mem_mgr/static_mem_alloc/pushdown.h | 11 -------- src/core/impl/system.cpp | 11 -------- src/core/impl/tensor.cpp | 11 -------- src/core/impl/utils/async_worker.cpp | 11 -------- src/core/impl/utils/comp_node_sync_manager.cpp | 11 -------- src/core/impl/utils/cuda_helper.cpp | 11 -------- src/core/impl/utils/debug.cpp | 12 -------- src/core/impl/utils/event.cpp | 11 -------- src/core/impl/utils/hash.cpp | 11 -------- src/core/impl/utils/hashable.cpp | 11 -------- src/core/impl/utils/infile_persistent_cache.cpp | 11 -------- src/core/impl/utils/json.cpp | 11 -------- src/core/impl/utils/mempool.cpp | 11 -------- src/core/impl/utils/metahelper.cpp | 11 -------- src/core/impl/utils/persistent_cache.cpp | 11 -------- src/core/impl/utils/thread.cpp | 11 -------- src/core/impl/utils/thread_pool.cpp | 11 -------- src/core/impl/utils/timer.cpp | 11 -------- src/core/impl/utils/visable_data_set.cpp | 12 -------- src/core/impl/version.cpp | 11 -------- src/core/include/megbrain/common.h | 11 -------- src/core/include/megbrain/comp_node.h | 11 -------- src/core/include/megbrain/comp_node/alloc.h | 11 -------- src/core/include/megbrain/comp_node_env.h | 11 -------- src/core/include/megbrain/dtype.h | 11 -------- src/core/include/megbrain/exception.h | 12 -------- src/core/include/megbrain/graph.h | 11 -------- src/core/include/megbrain/graph/bases.h | 11 -------- src/core/include/megbrain/graph/cg.h | 11 -------- src/core/include/megbrain/graph/event.h | 11 -------- src/core/include/megbrain/graph/exc_extra_info.h | 11 -------- src/core/include/megbrain/graph/execution_mask.h | 11 -------- src/core/include/megbrain/graph/extern_copr_api.h | 12 -------- src/core/include/megbrain/graph/grad_impl.h | 11 -------- src/core/include/megbrain/graph/helper.h | 11 -------- src/core/include/megbrain/graph/operator_node.h | 11 -------- .../include/megbrain/graph/seq_comp_node_opt.h | 11 -------- src/core/include/megbrain/graph/static_infer.h | 11 -------- src/core/include/megbrain/graph/symbol_var.h | 11 -------- src/core/include/megbrain/graph/var_node.h | 11 -------- src/core/include/megbrain/ir/base.td | 12 -------- src/core/include/megbrain/ir/ops.td | 12 -------- src/core/include/megbrain/system.h | 11 -------- src/core/include/megbrain/tensor.h | 11 -------- src/core/include/megbrain/utils/arith_helper.h | 11 -------- src/core/include/megbrain/utils/async_worker.h | 11 -------- .../include/megbrain/utils/async_worker_impl_0.h | 11 -------- .../include/megbrain/utils/async_worker_impl_1.h | 11 -------- src/core/include/megbrain/utils/big_key_hashmap.h | 11 -------- .../megbrain/utils/comp_node_sync_manager.h | 11 -------- src/core/include/megbrain/utils/cuda_helper.h | 11 -------- src/core/include/megbrain/utils/debug.h | 11 -------- src/core/include/megbrain/utils/event.h | 11 -------- src/core/include/megbrain/utils/hash.h | 11 -------- src/core/include/megbrain/utils/hashable.h | 11 -------- .../megbrain/utils/infile_persistent_cache.h | 10 ------- src/core/include/megbrain/utils/json.h | 11 -------- src/core/include/megbrain/utils/mempool.h | 11 -------- src/core/include/megbrain/utils/metahelper.h | 11 -------- src/core/include/megbrain/utils/metahelper_basic.h | 11 -------- src/core/include/megbrain/utils/obfuscator_ct.h | 11 -------- src/core/include/megbrain/utils/persistent_cache.h | 11 -------- src/core/include/megbrain/utils/shared_set.h | 11 -------- src/core/include/megbrain/utils/small_vector.h | 10 ------- src/core/include/megbrain/utils/thin/function.h | 11 -------- src/core/include/megbrain/utils/thin/hash_table.h | 11 -------- .../megbrain/utils/thin/nullable_hash_map.h | 11 -------- src/core/include/megbrain/utils/thread.h | 11 -------- src/core/include/megbrain/utils/thread_impl_0.h | 11 -------- src/core/include/megbrain/utils/thread_impl_1.h | 11 -------- .../include/megbrain/utils/thread_impl_spinlock.h | 11 -------- src/core/include/megbrain/utils/thread_local.h | 11 -------- src/core/include/megbrain/utils/thread_pool.h | 11 -------- src/core/include/megbrain/utils/timer.h | 11 -------- src/core/include/megbrain/utils/visable_data_set.h | 12 -------- src/core/include/megbrain/version.h | 11 -------- src/core/include/megbrain/version_symbol.h | 11 -------- src/core/test/comp_node.cpp | 11 -------- src/core/test/comp_node_helper.cpp | 11 -------- src/core/test/comp_node_helper.h | 11 -------- src/core/test/dtype.cpp | 11 -------- src/core/test/graph/add_update.cpp | 11 -------- src/core/test/graph/defrag.cpp | 11 -------- src/core/test/graph/eager_eval.cpp | 11 -------- src/core/test/graph/mem_fwd.cpp | 11 -------- src/core/test/graph/misc.cpp | 11 -------- src/core/test/graph/multi_thread.cpp | 11 -------- src/core/test/graph/partial_execution.cpp | 11 -------- src/core/test/mem_alloc.cpp | 11 -------- src/core/test/mem_reuse.cpp | 11 -------- src/core/test/memory_swap.cpp | 11 -------- src/core/test/static_infer.cpp | 11 -------- src/core/test/static_mem_alloc.cpp | 11 -------- src/core/test/sublinear_memory.cpp | 11 -------- src/core/test/system.cpp | 11 -------- src/core/test/tensor.cpp | 11 -------- src/core/test/train.cpp | 11 -------- src/core/test/utils/async_worker.cpp | 11 -------- src/core/test/utils/big_key_hashmap.cpp | 11 -------- src/core/test/utils/cuda_helper.cpp | 11 -------- src/core/test/utils/event.cpp | 11 -------- src/core/test/utils/metahelper.cpp | 11 -------- src/core/test/utils/obfuscator_ct.cpp | 11 -------- src/core/test/utils/thin.cpp | 11 -------- src/core/test/utils/thread.cpp | 11 -------- src/core/test/utils/thread_pool.cpp | 10 ------- src/custom/impl/manager.cpp | 11 -------- src/custom/impl/op.cpp | 11 -------- src/custom/impl/param.cpp | 11 -------- src/custom/impl/param_val.cpp | 11 -------- src/custom/impl/tensor.cpp | 11 -------- src/custom/impl/utils.cpp | 11 -------- src/custom/include/megbrain/custom/accessor.h | 11 -------- src/custom/include/megbrain/custom/custom.h | 11 -------- src/custom/include/megbrain/custom/data_adaptor.h | 11 -------- src/custom/include/megbrain/custom/manager.h | 11 -------- src/custom/include/megbrain/custom/op.h | 11 -------- src/custom/include/megbrain/custom/param.h | 11 -------- src/custom/include/megbrain/custom/param_val.h | 11 -------- src/custom/include/megbrain/custom/tensor.h | 12 -------- src/custom/include/megbrain/custom/utils.h | 12 -------- src/custom/test/manager.cpp | 11 -------- src/custom/test/op.cpp | 11 -------- src/custom/test/param.cpp | 11 -------- src/custom/test/tensor.cpp | 11 -------- src/gopt/impl/basic_arith/chain.cpp | 11 -------- src/gopt/impl/basic_arith/inplace.cpp | 11 -------- src/gopt/impl/basic_arith/trans.cpp | 11 -------- src/gopt/impl/folding_conv_dimshuffle.cpp | 12 -------- src/gopt/impl/folding_conv_typecvt.cpp | 12 -------- src/gopt/impl/framework.cpp | 12 -------- src/gopt/impl/fuse_nchw4_int8_preprocess.cpp | 12 -------- .../dynamic_programming_solver.cpp | 12 -------- .../layout_transform_context.cpp | 12 -------- .../layout_transform_pass.cpp | 12 -------- .../opr_format_modifier.cpp | 12 -------- .../global_layout_transform/opr_format_modifier.h | 12 -------- .../impl/global_layout_transform/opr_safe_dump.cpp | 12 -------- .../impl/global_layout_transform/opr_safe_dump.h | 12 -------- .../opr_tensor_formats_config.cpp | 12 -------- .../global_layout_transform/profiler_cache.cpp | 12 -------- .../impl/global_layout_transform/profiler_impl.cpp | 12 -------- .../profiling_based_solver.cpp | 12 -------- .../global_layout_transform/reformat_emitter.cpp | 12 -------- .../global_layout_transform/reformat_manager.cpp | 12 -------- .../global_layout_transform/subgraph_extractor.cpp | 12 -------- src/gopt/impl/global_layout_transform/utils.h | 12 -------- src/gopt/impl/gtrans.cpp | 11 -------- src/gopt/impl/inference.cpp | 11 -------- src/gopt/impl/misc.cpp | 11 -------- src/gopt/impl/padding_channel.cpp | 12 -------- src/gopt/impl/tensor_reformat.cpp | 12 -------- src/gopt/include/megbrain/gopt/basic_arith.h | 11 -------- src/gopt/include/megbrain/gopt/framework.h | 11 -------- src/gopt/include/megbrain/gopt/gtrans.h | 11 -------- src/gopt/include/megbrain/gopt/inference.h | 11 -------- .../megbrain/gopt/layout_transform_context.h | 13 --------- .../include/megbrain/gopt/layout_transform_pass.h | 12 -------- src/gopt/include/megbrain/gopt/misc.h | 11 -------- src/gopt/include/megbrain/gopt/profiler.h | 12 -------- src/gopt/include/megbrain/gopt/reformat_emitter.h | 12 -------- src/gopt/include/megbrain/gopt/reformat_manager.h | 12 -------- src/gopt/include/megbrain/gopt/solver.h | 12 -------- .../include/megbrain/gopt/subgraph_extractor.h | 12 -------- src/gopt/test/basic_arith.cpp | 11 -------- src/gopt/test/embed_cache.py | 7 ----- src/gopt/test/gtrans.cpp | 11 -------- src/gopt/test/helper.cpp | 11 -------- src/gopt/test/helper.h | 11 -------- src/gopt/test/inference.cpp | 12 -------- src/gopt/test/layout_transform_pass.cpp | 12 -------- src/gopt/test/misc.cpp | 11 -------- src/gopt/test/network.cpp | 12 -------- src/gopt/test/network.h | 12 -------- src/gopt/test/profiler.cpp | 12 -------- src/gopt/test/reformat_emitter.cpp | 12 -------- src/gopt/test/reformat_manager.cpp | 12 -------- src/gopt/test/subgraph_extractor.cpp | 12 -------- src/jit/impl/ast_c.cpp | 11 -------- src/jit/impl/compiler.cpp | 11 -------- src/jit/impl/executor_opr.cpp | 11 -------- src/jit/impl/fusion_pass.cpp | 11 -------- src/jit/impl/halide/ast_hl.cpp | 11 -------- src/jit/impl/halide/ast_hl.h | 11 -------- src/jit/impl/halide/compiler_cuda.cpp | 11 -------- src/jit/impl/halide/compiler_cuda.h | 11 -------- src/jit/impl/halide/halide_executable.cpp | 11 -------- src/jit/impl/halide/halide_executable.h | 11 -------- src/jit/impl/halide/halide_header.h | 11 -------- src/jit/impl/internal_graph.cpp | 11 -------- src/jit/impl/jit.sereg.h | 11 -------- src/jit/impl/mlir/compiler.cpp | 12 -------- src/jit/impl/mlir/compiler.h | 11 -------- src/jit/impl/mlir/executable_cpu.cpp | 12 -------- src/jit/impl/mlir/executable_cpu.h | 12 -------- src/jit/impl/mlir/executable_cuda.cpp | 12 -------- src/jit/impl/mlir/executable_cuda.h | 12 -------- src/jit/impl/mlir/ir/common.cpp | 12 -------- src/jit/impl/mlir/ir/common.h | 12 -------- src/jit/impl/mlir/ir/dialect.cpp | 12 -------- src/jit/impl/mlir/ir/each_mode.cpp | 12 -------- src/jit/impl/mlir/ir/each_mode.h | 12 -------- src/jit/impl/mlir/ir/lower_to_affine_pass.cpp | 12 -------- src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp | 12 -------- src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp | 12 -------- src/jit/impl/mlir/ir/numerical.cpp | 12 -------- src/jit/impl/mlir/ir/numerical.h | 12 -------- src/jit/impl/mlir/ir/types.cpp | 12 -------- src/jit/impl/mlir/ir/types.h | 12 -------- src/jit/impl/mlir/ir/utils.cpp | 12 -------- src/jit/impl/mlir/mlir_gen.cpp | 12 -------- src/jit/impl/mlir/mlir_gen.h | 12 -------- src/jit/impl/nvrtc/codegen_cuda.cpp | 11 -------- src/jit/impl/nvrtc/codegen_cuda.h | 11 -------- src/jit/impl/nvrtc/compiler_cuda.cpp | 11 -------- src/jit/impl/nvrtc/compiler_cuda.h | 11 -------- src/jit/impl/placeholder_opr.cpp | 11 -------- src/jit/impl/utils.cpp | 11 -------- src/jit/include/megbrain/jit/ast_c.h | 11 -------- src/jit/include/megbrain/jit/base.h | 11 -------- src/jit/include/megbrain/jit/compiler.h | 11 -------- src/jit/include/megbrain/jit/executor_opr.h | 11 -------- src/jit/include/megbrain/jit/fusion_pass.h | 11 -------- src/jit/include/megbrain/jit/internal_graph.h | 11 -------- src/jit/include/megbrain/jit/mlir/ir/dialect.h | 12 -------- .../include/megbrain/jit/mlir/ir/mgb_dialect.td | 12 -------- src/jit/include/megbrain/jit/mlir/ir/passes.h | 12 -------- src/jit/include/megbrain/jit/mlir/ir/utils.h | 11 -------- src/jit/include/megbrain/jit/param_elem_visitor.h | 11 -------- src/jit/include/megbrain/jit/placeholder_opr.h | 11 -------- src/jit/include/megbrain/jit/utils.h | 11 -------- src/jit/test/codegen.cpp | 11 -------- src/jit/test/fusion.cpp | 11 -------- src/jit/test/helper.cpp | 11 -------- src/jit/test/helper.h | 11 -------- src/jit/test/mlir/utils/lit.bzl.cfg.py | 7 ----- src/jit/test/mlir/utils/lit.bzl.site.cfg.py | 7 ----- src/jit/test/mlir/utils/lit.cfg.py | 7 ----- src/megbrain_build_config.h.in | 11 -------- src/opr-mm/impl/collective_comm.cpp | 11 -------- src/opr-mm/impl/group_manager.cpp | 11 -------- src/opr-mm/impl/io_remote.cpp | 11 -------- src/opr-mm/impl/lock.cpp | 11 -------- src/opr-mm/impl/megray_helper.cpp | 11 -------- src/opr-mm/include/megbrain/opr/collective_comm.h | 11 -------- src/opr-mm/include/megbrain/opr/group_manager.h | 11 -------- src/opr-mm/include/megbrain/opr/io_remote.h | 11 -------- src/opr-mm/include/megbrain/opr/lock.h | 11 -------- src/opr-mm/include/megbrain/opr/megray_helper.h | 11 -------- src/opr-mm/test/collective_comm.cpp | 11 -------- src/opr-mm/test/io_remote.cpp | 11 -------- src/opr-mm/test/lock.cpp | 11 -------- src/opr-mm/test/mock_client.h | 11 -------- src/opr/impl/atlas_runtime_op.cpp | 12 -------- src/opr/impl/atlas_runtime_op.sereg.h | 12 -------- src/opr/impl/basic_arith.cpp | 11 -------- src/opr/impl/basic_arith.sereg.h | 11 -------- src/opr/impl/blas.cpp | 11 -------- src/opr/impl/blas.sereg.h | 11 -------- src/opr/impl/cond.cpp | 11 -------- src/opr/impl/cond.sereg.h | 11 -------- src/opr/impl/custom_opnode.cpp | 11 -------- src/opr/impl/custom_opnode.sereg.h | 11 -------- src/opr/impl/dnn/adaptive_pooling.cpp | 11 -------- src/opr/impl/dnn/batch_norm.cpp | 11 -------- src/opr/impl/dnn/convolution.cpp | 12 -------- src/opr/impl/dnn/correlation.cpp | 12 -------- src/opr/impl/dnn/dnn.sereg.h | 12 -------- src/opr/impl/dnn/fake_quant.cpp | 12 -------- src/opr/impl/dnn/helper.h | 11 -------- src/opr/impl/dnn/images2neibs.cpp | 11 -------- src/opr/impl/dnn/layer_norm.cpp | 12 -------- src/opr/impl/dnn/local.cpp | 11 -------- src/opr/impl/dnn/lrn.cpp | 11 -------- src/opr/impl/dnn/lsq.cpp | 12 -------- src/opr/impl/dnn/pooling.cpp | 10 ------- src/opr/impl/dnn/rnn.cpp | 10 ------- src/opr/impl/dnn/roi_align.cpp | 11 -------- src/opr/impl/dnn/roi_pooling.cpp | 11 -------- src/opr/impl/dnn/sliding_window_transpose.cpp | 11 -------- src/opr/impl/dnn/softmax.cpp | 12 -------- src/opr/impl/dnn/tqt.cpp | 12 -------- src/opr/impl/imgproc.cpp | 12 -------- src/opr/impl/imgproc.sereg.h | 11 -------- src/opr/impl/indexing.cpp | 11 -------- src/opr/impl/indexing.sereg.h | 11 -------- src/opr/impl/internal/identical_fwd.cpp | 11 -------- src/opr/impl/internal/indexing_helper.cpp | 11 -------- src/opr/impl/internal/megdnn_opr_wrapper.cpp | 11 -------- src/opr/impl/internal/megdnn_opr_wrapper.inl | 11 -------- ...nn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl | 11 -------- src/opr/impl/internal/out_shape_by_sym_var.cpp | 11 -------- src/opr/impl/io.cpp | 11 -------- src/opr/impl/io.sereg.h | 11 -------- src/opr/impl/loop/forward.cpp | 11 -------- src/opr/impl/loop/forward.sereg.h | 11 -------- src/opr/impl/loop/forward_sereg.cpp | 11 -------- src/opr/impl/loop/forward_sereg.h | 11 -------- src/opr/impl/loop/grad.cpp | 11 -------- src/opr/impl/loop/grad.h | 11 -------- src/opr/impl/loop/grad.sereg.h | 11 -------- src/opr/impl/loop/grad_sereg.cpp | 11 -------- src/opr/impl/loop/grad_sereg.h | 11 -------- src/opr/impl/loop/impl.cpp | 11 -------- src/opr/impl/loop/impl.h | 11 -------- src/opr/impl/loop/output_recorder.cpp | 11 -------- src/opr/impl/loop/output_recorder.h | 11 -------- src/opr/impl/misc.cpp | 11 -------- src/opr/impl/misc.sereg.h | 11 -------- src/opr/impl/muxing.cpp | 11 -------- src/opr/impl/nn_int.cpp | 10 ------- src/opr/impl/nn_int.sereg.h | 11 -------- src/opr/impl/nvof/NvOF.cpp | 12 -------- src/opr/impl/nvof/NvOF.h | 12 -------- src/opr/impl/nvof/NvOFCuda.cpp | 12 -------- src/opr/impl/nvof/NvOFCuda.h | 12 -------- src/opr/impl/nvof/NvOFDefines.h | 12 -------- src/opr/impl/nvof/denseflownvidia.cpp | 12 -------- src/opr/impl/nvof/denseflownvidia.h | 12 -------- src/opr/impl/nvof/nvOpticalFlowCommon.h | 12 -------- src/opr/impl/nvof/nvOpticalFlowCuda.h | 12 -------- src/opr/impl/rand.cpp | 11 -------- src/opr/impl/rand.sereg.h | 12 -------- src/opr/impl/search_policy/algo_chooser.cpp | 12 -------- src/opr/impl/search_policy/algo_chooser_helper.cpp | 12 -------- .../search_policy/workspace_need_limit_getter.inl | 12 -------- src/opr/impl/tensor_gen.cpp | 11 -------- src/opr/impl/tensor_gen.sereg.h | 11 -------- src/opr/impl/tensor_manip.cpp | 11 -------- src/opr/impl/tensor_manip.sereg.h | 11 -------- src/opr/impl/utility.cpp | 11 -------- src/opr/impl/utility.sereg.h | 11 -------- src/opr/include/megbrain/opr/atlas_runtime_op.h | 12 -------- src/opr/include/megbrain/opr/basic_arith.h | 11 -------- src/opr/include/megbrain/opr/basic_arith_wrapper.h | 11 -------- src/opr/include/megbrain/opr/blas.h | 11 -------- src/opr/include/megbrain/opr/cond.h | 11 -------- src/opr/include/megbrain/opr/custom_opnode.h | 11 -------- .../include/megbrain/opr/dnn/adaptive_pooling.h | 12 -------- src/opr/include/megbrain/opr/dnn/batch_norm.h | 11 -------- src/opr/include/megbrain/opr/dnn/convolution.h | 10 ------- src/opr/include/megbrain/opr/dnn/correlation.h | 11 -------- src/opr/include/megbrain/opr/dnn/fake_quant.h | 12 -------- src/opr/include/megbrain/opr/dnn/images2neibs.h | 10 ------- src/opr/include/megbrain/opr/dnn/layer_norm.h | 11 -------- src/opr/include/megbrain/opr/dnn/local.h | 10 ------- src/opr/include/megbrain/opr/dnn/lrn.h | 11 -------- src/opr/include/megbrain/opr/dnn/lsq.h | 12 -------- src/opr/include/megbrain/opr/dnn/pooling.h | 11 -------- src/opr/include/megbrain/opr/dnn/rnn.h | 10 ------- src/opr/include/megbrain/opr/dnn/roi_align.h | 11 -------- src/opr/include/megbrain/opr/dnn/roi_pooling.h | 11 -------- .../megbrain/opr/dnn/sliding_window_transpose.h | 10 ------- src/opr/include/megbrain/opr/dnn/softmax.h | 11 -------- src/opr/include/megbrain/opr/dnn/tqt.h | 12 -------- src/opr/include/megbrain/opr/imgproc.h | 12 -------- src/opr/include/megbrain/opr/indexing.h | 11 -------- .../include/megbrain/opr/internal/identical_fwd.h | 10 ------- .../megbrain/opr/internal/indexing_helper.h | 10 ------- .../megbrain/opr/internal/indexing_helper_sereg.h | 10 ------- .../megbrain/opr/internal/megdnn_opr_wrapper.h | 11 -------- src/opr/include/megbrain/opr/internal/mixin_base.h | 10 ------- .../megbrain/opr/internal/out_shape_by_sym_var.h | 11 -------- .../include/megbrain/opr/internal/param_tag_defs.h | 11 -------- src/opr/include/megbrain/opr/io.h | 11 -------- src/opr/include/megbrain/opr/loop.h | 11 -------- src/opr/include/megbrain/opr/misc.h | 11 -------- src/opr/include/megbrain/opr/muxing.h | 11 -------- src/opr/include/megbrain/opr/nn_int.h | 11 -------- src/opr/include/megbrain/opr/rand.h | 12 -------- .../megbrain/opr/search_policy/algo_chooser.h | 12 -------- .../opr/search_policy/algo_chooser_helper.h | 12 -------- src/opr/include/megbrain/opr/tensor_gen.h | 11 -------- src/opr/include/megbrain/opr/tensor_manip.h | 11 -------- src/opr/include/megbrain/opr/utility.h | 11 -------- src/opr/test/algo_chooser.cpp | 11 -------- src/opr/test/atlas_runtime_op.cpp | 12 -------- src/opr/test/basic_arith/elemwise.cpp | 11 -------- .../test/basic_arith/elemwise_binary_trait_def.inl | 11 -------- .../basic_arith/elemwise_ternary_trait_def.inl | 11 -------- .../test/basic_arith/elemwise_unary_trait_def.inl | 11 -------- src/opr/test/basic_arith/others.cpp | 11 -------- src/opr/test/basic_arith/reduction.cpp | 11 -------- src/opr/test/blas.cpp | 11 -------- src/opr/test/cond.cpp | 11 -------- src/opr/test/dnn/adaptive_pooling.cpp | 12 -------- src/opr/test/dnn/batch_norm.cpp | 11 -------- src/opr/test/dnn/convolution.cpp | 11 -------- src/opr/test/dnn/correlation.cpp | 12 -------- src/opr/test/dnn/deformable_ps_roi_pooling.cpp | 11 -------- src/opr/test/dnn/images2neibs.cpp | 11 -------- src/opr/test/dnn/layer_norm.cpp | 12 -------- src/opr/test/dnn/legacy_checker.h | 11 -------- src/opr/test/dnn/local.cpp | 11 -------- src/opr/test/dnn/lrn.cpp | 11 -------- src/opr/test/dnn/lsq.cpp | 12 -------- src/opr/test/dnn/pooling.cpp | 11 -------- src/opr/test/dnn/roi_align.cpp | 11 -------- src/opr/test/dnn/roi_pooling.cpp | 11 -------- src/opr/test/dnn/sliding_window_transpose.cpp | 11 -------- src/opr/test/dnn/softmax.cpp | 12 -------- src/opr/test/dnn/tqt.cpp | 12 -------- src/opr/test/imgproc.cpp | 11 -------- src/opr/test/indexing.cpp | 11 -------- src/opr/test/internal.cpp | 11 -------- src/opr/test/io.cpp | 11 -------- src/opr/test/loop/basic.cpp | 11 -------- src/opr/test/loop/elemwise_grad.cpp | 11 -------- src/opr/test/loop/grad_trans.cpp | 11 -------- src/opr/test/loop/record_internal.cpp | 11 -------- src/opr/test/loop/taylor.cpp | 11 -------- src/opr/test/loop/taylor.h | 11 -------- src/opr/test/megdnn_wrapper.cpp | 11 -------- src/opr/test/misc.cpp | 11 -------- src/opr/test/muxing.cpp | 11 -------- src/opr/test/nn_int.cpp | 11 -------- src/opr/test/rand.cpp | 11 -------- src/opr/test/tensor_gen.cpp | 11 -------- src/opr/test/tensor_manip.cpp | 11 -------- src/opr/test/utility.cpp | 11 -------- src/plugin/impl/cpu_dispatch_checker.cpp | 11 -------- src/plugin/impl/infkern_finder.cpp | 11 -------- src/plugin/impl/num_range_checker.cpp | 11 -------- src/plugin/impl/opr_footprint.cpp | 11 -------- src/plugin/impl/opr_io_dump.cpp | 11 -------- src/plugin/impl/profiler.cpp | 11 -------- src/plugin/impl/static_mem_record.cpp | 12 -------- src/plugin/impl/var_sanity_check.cpp | 11 -------- src/plugin/impl/var_value_checker.cpp | 11 -------- src/plugin/include/megbrain/plugin/base.h | 11 -------- .../include/megbrain/plugin/cpu_dispatch_checker.h | 11 -------- .../include/megbrain/plugin/infkern_finder.h | 11 -------- .../include/megbrain/plugin/num_range_checker.h | 11 -------- src/plugin/include/megbrain/plugin/opr_footprint.h | 10 ------- src/plugin/include/megbrain/plugin/opr_io_dump.h | 11 -------- src/plugin/include/megbrain/plugin/profiler.h | 11 -------- .../include/megbrain/plugin/static_mem_record.h | 12 -------- .../include/megbrain/plugin/var_sanity_check.h | 11 -------- .../include/megbrain/plugin/var_value_checker.h | 11 -------- src/plugin/test/cpu_dispatch_checker.cpp | 11 -------- src/plugin/test/infkern_finder.cpp | 11 -------- src/plugin/test/num_range_checker.cpp | 11 -------- src/plugin/test/opr_footprint.cpp | 11 -------- src/plugin/test/opr_io_dump.cpp | 11 -------- src/plugin/test/opr_io_dump_text_out.h | 11 -------- src/plugin/test/profiler.cpp | 11 -------- src/plugin/test/var_sanity_check.cpp | 11 -------- src/plugin/test/var_value_checker.cpp | 11 -------- src/rdnn/impl/profiler.cpp | 1 - .../impl/batched_device_value_loader.cpp | 11 -------- .../impl/batched_device_value_loader.h | 10 ------- src/serialization/impl/extern_c_opr.cpp | 11 -------- src/serialization/impl/extern_c_opr.sereg.h | 11 -------- src/serialization/impl/file.cpp | 11 -------- src/serialization/impl/flatbuffer_converter.inl | 10 ------- src/serialization/impl/flatbuffers_helper.cpp | 11 -------- src/serialization/impl/helper.cpp | 11 -------- src/serialization/impl/opr_registry.cpp | 11 -------- src/serialization/impl/sereg_caller.cpp | 10 ------- src/serialization/impl/serializer.cpp | 11 -------- src/serialization/impl/serializer_oss.cpp | 11 -------- .../include/megbrain/serialization/dump_format.h | 11 -------- .../include/megbrain/serialization/extern_c_opr.h | 11 -------- .../megbrain/serialization/extern_c_opr_io.h | 11 -------- .../include/megbrain/serialization/file.h | 11 -------- .../include/megbrain/serialization/helper.h | 11 -------- .../serialization/internal/flatbuffers_helper.h | 11 -------- .../include/megbrain/serialization/opr_registry.h | 11 -------- .../include/megbrain/serialization/sereg.h | 11 -------- .../include/megbrain/serialization/serializer.h | 11 -------- src/serialization/test/extern_c_opr.cpp | 11 -------- src/serialization/test/extern_c_opr_v23.cpp | 11 -------- src/serialization/test/extern_c_opr_v23.h | 11 -------- src/serialization/test/serializer_oss.cpp | 10 ------- src/tensorrt/impl/opr_replace.cpp | 11 -------- src/tensorrt/impl/tensorrt_engine_cache.cpp | 11 -------- src/tensorrt/impl/tensorrt_opr.cpp | 11 -------- src/tensorrt/impl/tensorrt_opr.sereg.h | 11 -------- src/tensorrt/impl/tensorrt_runtime_opr.cpp | 11 -------- .../include/megbrain/tensorrt/opr_replace.h | 11 -------- .../megbrain/tensorrt/tensorrt_engine_cache.h | 11 -------- .../include/megbrain/tensorrt/tensorrt_opr.h | 11 -------- .../megbrain/tensorrt/tensorrt_runtime_opr.h | 11 -------- src/tensorrt/test/helper.cpp | 11 -------- src/tensorrt/test/helper.h | 11 -------- src/tensorrt/test/make_trt_net.cpp | 11 -------- src/tensorrt/test/make_trt_net.h | 11 -------- src/tensorrt/test/opr_replace.cpp | 11 -------- src/tensorrt/test/tensorrt.cpp | 11 -------- src/tensorrt/test/tensorrt_runtime.cpp | 12 -------- tools/cmakeformat.py | 7 ----- tools/cpu_evaluation_tools.py | 7 ----- tools/evaluation_model_parallelism.py | 7 ----- tools/gen_header_for_bin_reduce.py | 7 ----- tools/mlir/mgb-opt/mgb-opt.cpp | 12 -------- tools/test_model_static.py | 7 ----- 3517 files changed, 1 insertion(+), 38018 deletions(-) diff --git a/dnn/atlas-stub/src/libacl_cblas-wrap.cpp b/dnn/atlas-stub/src/libacl_cblas-wrap.cpp index 85ff4651..9e80858b 100644 --- a/dnn/atlas-stub/src/libacl_cblas-wrap.cpp +++ b/dnn/atlas-stub/src/libacl_cblas-wrap.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/atlas-stub/src/libacl_cblas-wrap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma GCC visibility push(default) #include diff --git a/dnn/atlas-stub/src/libatlas-wrap.cpp b/dnn/atlas-stub/src/libatlas-wrap.cpp index 9c2153f2..f566229e 100644 --- a/dnn/atlas-stub/src/libatlas-wrap.cpp +++ b/dnn/atlas-stub/src/libatlas-wrap.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/atlas-stub/src/libatlas-wrap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma GCC visibility push(default) #include diff --git a/dnn/cuda-stub/src/libnvrtc.cpp b/dnn/cuda-stub/src/libnvrtc.cpp index 6de777eb..6404c554 100644 --- a/dnn/cuda-stub/src/libnvrtc.cpp +++ b/dnn/cuda-stub/src/libnvrtc.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/cuda-stub/src/libnvrtc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma GCC visibility push(default) #include diff --git a/dnn/include/hcc_detail/hcc_defs_epilogue.h.in b/dnn/include/hcc_detail/hcc_defs_epilogue.h.in index 5baa616e..0ff157a5 100644 --- a/dnn/include/hcc_detail/hcc_defs_epilogue.h.in +++ b/dnn/include/hcc_detail/hcc_defs_epilogue.h.in @@ -1,14 +1,3 @@ -/** - * \file dnn/include/hcc_detail/hcc_defs_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - @HIP_CPP_UNDEFINE@ // vim: syntax=cpp.doxygen diff --git a/dnn/include/hcc_detail/hcc_defs_prologue.h.in b/dnn/include/hcc_detail/hcc_defs_prologue.h.in index e6e9c043..c2c3ebeb 100644 --- a/dnn/include/hcc_detail/hcc_defs_prologue.h.in +++ b/dnn/include/hcc_detail/hcc_defs_prologue.h.in @@ -1,14 +1,3 @@ -/** - * \file dnn/include/hcc_detail/hcc_defs_prologue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - @HIP_CPP_DEFINE@ // vim: syntax=cpp.doxygen diff --git a/dnn/include/hip_header.h b/dnn/include/hip_header.h index 8c310608..e36ab27d 100644 --- a/dnn/include/hip_header.h +++ b/dnn/include/hip_header.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/hip_header.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once /** diff --git a/dnn/include/megcore.h b/dnn/include/megcore.h index d8ecf5b9..715820f8 100644 --- a/dnn/include/megcore.h +++ b/dnn/include/megcore.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megcore.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/include/megcore_atlas.h b/dnn/include/megcore_atlas.h index fd47064c..d5052d41 100644 --- a/dnn/include/megcore_atlas.h +++ b/dnn/include/megcore_atlas.h @@ -1,15 +1,3 @@ -/** - * \file dnn/include/megcore_atlas.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megcore.h" diff --git a/dnn/include/megcore_cdefs.h b/dnn/include/megcore_cdefs.h index a1c72cf9..9baea745 100644 --- a/dnn/include/megcore_cdefs.h +++ b/dnn/include/megcore_cdefs.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megcore_cdefs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/include/megcore_cuda.h b/dnn/include/megcore_cuda.h index c21dea2a..66f67301 100644 --- a/dnn/include/megcore_cuda.h +++ b/dnn/include/megcore_cuda.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megcore_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./megcore.h" diff --git a/dnn/include/megcore_rocm.h b/dnn/include/megcore_rocm.h index 7467020e..365d57f5 100644 --- a/dnn/include/megcore_rocm.h +++ b/dnn/include/megcore_rocm.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megcore_rocm.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./megcore.h" diff --git a/dnn/include/megdnn.h b/dnn/include/megdnn.h index 0c5381bd..f7116564 100644 --- a/dnn/include/megdnn.h +++ b/dnn/include/megdnn.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/include/megdnn/algorithm_cache.h b/dnn/include/megdnn/algorithm_cache.h index 1950547d..421df3b5 100644 --- a/dnn/include/megdnn/algorithm_cache.h +++ b/dnn/include/megdnn/algorithm_cache.h @@ -1,15 +1,3 @@ -/** - * \file dnn/include/megdnn/heuristic_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/include/megdnn/arch.h b/dnn/include/megdnn/arch.h index ce6f76cb..f935730c 100644 --- a/dnn/include/megdnn/arch.h +++ b/dnn/include/megdnn/arch.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/arch.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once // include general build configurations diff --git a/dnn/include/megdnn/basic_types.h b/dnn/include/megdnn/basic_types.h index 2fe06eb8..4c45755d 100644 --- a/dnn/include/megdnn/basic_types.h +++ b/dnn/include/megdnn/basic_types.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/basic_types.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/include/megdnn/common.h b/dnn/include/megdnn/common.h index 0536f4e8..79b4501a 100644 --- a/dnn/include/megdnn/common.h +++ b/dnn/include/megdnn/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/dnn/include/megdnn/config/config.h b/dnn/include/megdnn/config/config.h index 4d7ec407..7a8e8796 100644 --- a/dnn/include/megdnn/config/config.h +++ b/dnn/include/megdnn/config/config.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/config/config.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if !defined(__CUDACC__) && !defined(__HIPCC__) diff --git a/dnn/include/megdnn/cuda.h b/dnn/include/megdnn/cuda.h index b7b5a60a..eccf29d6 100644 --- a/dnn/include/megdnn/cuda.h +++ b/dnn/include/megdnn/cuda.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/include/megdnn/dtype.h b/dnn/include/megdnn/dtype.h index 7b381bcf..35a27163 100644 --- a/dnn/include/megdnn/dtype.h +++ b/dnn/include/megdnn/dtype.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/dtype.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/include/megdnn/handle.h b/dnn/include/megdnn/handle.h index a83d156e..5fbdf522 100644 --- a/dnn/include/megdnn/handle.h +++ b/dnn/include/megdnn/handle.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megcore.h" diff --git a/dnn/include/megdnn/internal/defs.h b/dnn/include/megdnn/internal/defs.h index 871bb58e..87a572ed 100644 --- a/dnn/include/megdnn/internal/defs.h +++ b/dnn/include/megdnn/internal/defs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/internal/defs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #define MEGDNN_MAX_NDIM 7 diff --git a/dnn/include/megdnn/internal/opr_header_epilogue.h b/dnn/include/megdnn/internal/opr_header_epilogue.h index 7a491c6d..578ce8b6 100644 --- a/dnn/include/megdnn/internal/opr_header_epilogue.h +++ b/dnn/include/megdnn/internal/opr_header_epilogue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/internal/opr_header_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // intentional no header guard here #undef DEF_OPR_PARAM diff --git a/dnn/include/megdnn/internal/opr_header_prologue.h b/dnn/include/megdnn/internal/opr_header_prologue.h index e44b8026..ac787efd 100644 --- a/dnn/include/megdnn/internal/opr_header_prologue.h +++ b/dnn/include/megdnn/internal/opr_header_prologue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/internal/opr_header_prologue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // intentional no header guard here #include "megdnn/handle.h" diff --git a/dnn/include/megdnn/internal/visibility_epilogue.h b/dnn/include/megdnn/internal/visibility_epilogue.h index aeaf71cf..47233868 100644 --- a/dnn/include/megdnn/internal/visibility_epilogue.h +++ b/dnn/include/megdnn/internal/visibility_epilogue.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/internal/visibility_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MEGDNN_SHARED_LIB #pragma GCC visibility pop #endif diff --git a/dnn/include/megdnn/internal/visibility_prologue.h b/dnn/include/megdnn/internal/visibility_prologue.h index 1d68705f..4d3bd321 100644 --- a/dnn/include/megdnn/internal/visibility_prologue.h +++ b/dnn/include/megdnn/internal/visibility_prologue.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/internal/visibility_prologue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifdef MEGDNN_VISIBILITY_PROLOGUE_INCLUDED #error "visibility_prologue.h included twice without including visibility_epilogue.h" #else diff --git a/dnn/include/megdnn/named_tensor.h b/dnn/include/megdnn/named_tensor.h index 8b04730b..171939b0 100644 --- a/dnn/include/megdnn/named_tensor.h +++ b/dnn/include/megdnn/named_tensor.h @@ -1,15 +1,3 @@ -/** - * \file dnn/include/megdnn/named_tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/internal/defs.h" diff --git a/dnn/include/megdnn/opr_result_defs.h b/dnn/include/megdnn/opr_result_defs.h index 7689dccc..658c9822 100644 --- a/dnn/include/megdnn/opr_result_defs.h +++ b/dnn/include/megdnn/opr_result_defs.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/opr_result_defs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/include/megdnn/oprs.h b/dnn/include/megdnn/oprs.h index 30b97b7c..6e242adf 100644 --- a/dnn/include/megdnn/oprs.h +++ b/dnn/include/megdnn/oprs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/cv.h" diff --git a/dnn/include/megdnn/oprs/base.h b/dnn/include/megdnn/oprs/base.h index e3352c3c..20b6d987 100644 --- a/dnn/include/megdnn/oprs/base.h +++ b/dnn/include/megdnn/oprs/base.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/include/megdnn/oprs/cv.h b/dnn/include/megdnn/oprs/cv.h index 0e63198b..499a3841 100644 --- a/dnn/include/megdnn/oprs/cv.h +++ b/dnn/include/megdnn/oprs/cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/general.h b/dnn/include/megdnn/oprs/general.h index 30e6c181..d6a73d1e 100644 --- a/dnn/include/megdnn/oprs/general.h +++ b/dnn/include/megdnn/oprs/general.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/general.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/imgproc.h b/dnn/include/megdnn/oprs/imgproc.h index be0a9474..b62ee71f 100644 --- a/dnn/include/megdnn/oprs/imgproc.h +++ b/dnn/include/megdnn/oprs/imgproc.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/imgproc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/linalg.h b/dnn/include/megdnn/oprs/linalg.h index 0bc51b8e..b98642d0 100644 --- a/dnn/include/megdnn/oprs/linalg.h +++ b/dnn/include/megdnn/oprs/linalg.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/linalg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/nn.h b/dnn/include/megdnn/oprs/nn.h index 551a0c3a..814212f8 100644 --- a/dnn/include/megdnn/oprs/nn.h +++ b/dnn/include/megdnn/oprs/nn.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/nn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/nn_int.h b/dnn/include/megdnn/oprs/nn_int.h index 3406a236..a8112627 100644 --- a/dnn/include/megdnn/oprs/nn_int.h +++ b/dnn/include/megdnn/oprs/nn_int.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/nn_int.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/oprs/utils.h b/dnn/include/megdnn/oprs/utils.h index 85ef2dc8..79fa02ff 100644 --- a/dnn/include/megdnn/oprs/utils.h +++ b/dnn/include/megdnn/oprs/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/oprs/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/internal/opr_header_prologue.h" diff --git a/dnn/include/megdnn/tensor_format.h b/dnn/include/megdnn/tensor_format.h index 3975ab52..0db90e96 100644 --- a/dnn/include/megdnn/tensor_format.h +++ b/dnn/include/megdnn/tensor_format.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/tensor_format.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/include/megdnn/tensor_iter.h b/dnn/include/megdnn/tensor_iter.h index c9c51200..e107f8ef 100644 --- a/dnn/include/megdnn/tensor_iter.h +++ b/dnn/include/megdnn/tensor_iter.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/tensor_iter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/include/megdnn/thin/function.h b/dnn/include/megdnn/thin/function.h index 21a5d4e5..b283e491 100644 --- a/dnn/include/megdnn/thin/function.h +++ b/dnn/include/megdnn/thin/function.h @@ -1,14 +1,3 @@ -/** - * \file dnn/include/megdnn/thin/function.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/include/megdnn/thin/small_vector.h b/dnn/include/megdnn/thin/small_vector.h index 80d5404a..6d0aa33e 100644 --- a/dnn/include/megdnn/thin/small_vector.h +++ b/dnn/include/megdnn/thin/small_vector.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/thin/small_vector.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===// // // The LLVM Compiler Infrastructure diff --git a/dnn/include/megdnn/version.h b/dnn/include/megdnn/version.h index 2881407e..8d726522 100644 --- a/dnn/include/megdnn/version.h +++ b/dnn/include/megdnn/version.h @@ -1,13 +1,3 @@ -/** - * \file dnn/include/megdnn/version.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #define MEGDNN_MAJOR 9 diff --git a/dnn/src/aarch64/conv_bias/fp16/algos.cpp b/dnn/src/aarch64/conv_bias/fp16/algos.cpp index 002b1006..ba508c16 100644 --- a/dnn/src/aarch64/conv_bias/fp16/algos.cpp +++ b/dnn/src/aarch64/conv_bias/fp16/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp16/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/conv_bias/fp16/algos.h" #include "src/aarch64/conv_bias/fp16/stride2_kern.h" #include "src/arm_common/conv_bias/postprocess_helper.h" diff --git a/dnn/src/aarch64/conv_bias/fp16/algos.h b/dnn/src/aarch64/conv_bias/fp16/algos.h index cb32df93..455dd4be 100644 --- a/dnn/src/aarch64/conv_bias/fp16/algos.h +++ b/dnn/src/aarch64/conv_bias/fp16/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp16/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/aarch64/conv_bias/opr_impl.h" diff --git a/dnn/src/aarch64/conv_bias/fp16/stride2_kern.h b/dnn/src/aarch64/conv_bias/fp16/stride2_kern.h index e923e0dd..dda4e3c7 100644 --- a/dnn/src/aarch64/conv_bias/fp16/stride2_kern.h +++ b/dnn/src/aarch64/conv_bias/fp16/stride2_kern.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp16/stride2_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC diff --git a/dnn/src/aarch64/conv_bias/fp32/algos.cpp b/dnn/src/aarch64/conv_bias/fp32/algos.cpp index ae6bf20a..b14dc097 100644 --- a/dnn/src/aarch64/conv_bias/fp32/algos.cpp +++ b/dnn/src/aarch64/conv_bias/fp32/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp32/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/fp32/algos.h" #include "src/aarch64/conv_bias/fp32/stride2_kern.h" #include "src/arm_common/conv_bias/postprocess_helper.h" diff --git a/dnn/src/aarch64/conv_bias/fp32/algos.h b/dnn/src/aarch64/conv_bias/fp32/algos.h index 3c274410..dca4233c 100644 --- a/dnn/src/aarch64/conv_bias/fp32/algos.h +++ b/dnn/src/aarch64/conv_bias/fp32/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp32/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/aarch64/conv_bias/opr_impl.h" diff --git a/dnn/src/aarch64/conv_bias/fp32/stride2_kern.h b/dnn/src/aarch64/conv_bias/fp32/stride2_kern.h index 6faf4613..4f006f3c 100644 --- a/dnn/src/aarch64/conv_bias/fp32/stride2_kern.h +++ b/dnn/src/aarch64/conv_bias/fp32/stride2_kern.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/fp32/stride2_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/aarch64/conv_bias/int8/algos.cpp b/dnn/src/aarch64/conv_bias/int8/algos.cpp index b5e97c01..53626328 100644 --- a/dnn/src/aarch64/conv_bias/int8/algos.cpp +++ b/dnn/src/aarch64/conv_bias/int8/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/int8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/int8/algos.h" #include "src/aarch64/conv_bias/int8/strategy.h" #include "src/arm_common/convolution/img2col_helper.h" diff --git a/dnn/src/aarch64/conv_bias/int8/algos.h b/dnn/src/aarch64/conv_bias/int8/algos.h index b5e2ba05..4654190d 100644 --- a/dnn/src/aarch64/conv_bias/int8/algos.h +++ b/dnn/src/aarch64/conv_bias/int8/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/int8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/aarch64/conv_bias/opr_impl.h" diff --git a/dnn/src/aarch64/conv_bias/int8/strategy.cpp b/dnn/src/aarch64/conv_bias/int8/strategy.cpp index 8d80df1e..204527b2 100644 --- a/dnn/src/aarch64/conv_bias/int8/strategy.cpp +++ b/dnn/src/aarch64/conv_bias/int8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/int8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/int8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/common/utils.h" diff --git a/dnn/src/aarch64/conv_bias/int8/strategy.h b/dnn/src/aarch64/conv_bias/int8/strategy.h index d2d13d86..1e439bc6 100644 --- a/dnn/src/aarch64/conv_bias/int8/strategy.h +++ b/dnn/src/aarch64/conv_bias/int8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/conv_bias/opr_impl.cpp b/dnn/src/aarch64/conv_bias/opr_impl.cpp index fcc1b5f7..33f4a134 100644 --- a/dnn/src/aarch64/conv_bias/opr_impl.cpp +++ b/dnn/src/aarch64/conv_bias/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/opr_impl.h" #include "src/aarch64/conv_bias/int8/algos.h" #include "src/aarch64/conv_bias/quint8/algos.h" diff --git a/dnn/src/aarch64/conv_bias/opr_impl.h b/dnn/src/aarch64/conv_bias/opr_impl.h index cfabeb6e..86feb073 100644 --- a/dnn/src/aarch64/conv_bias/opr_impl.h +++ b/dnn/src/aarch64/conv_bias/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/aarch64/conv_bias/quint8/algos.cpp b/dnn/src/aarch64/conv_bias/quint8/algos.cpp index 809cd3ef..baa333eb 100644 --- a/dnn/src/aarch64/conv_bias/quint8/algos.cpp +++ b/dnn/src/aarch64/conv_bias/quint8/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/quint8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/quint8/algos.h" #include "src/aarch64/conv_bias/quint8/strategy.h" #include "src/aarch64/matrix_mul/quint8_dot/gemv.h" diff --git a/dnn/src/aarch64/conv_bias/quint8/algos.h b/dnn/src/aarch64/conv_bias/quint8/algos.h index bfccbeac..2438927e 100644 --- a/dnn/src/aarch64/conv_bias/quint8/algos.h +++ b/dnn/src/aarch64/conv_bias/quint8/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/quint8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/aarch64/conv_bias/opr_impl.h" diff --git a/dnn/src/aarch64/conv_bias/quint8/strategy.cpp b/dnn/src/aarch64/conv_bias/quint8/strategy.cpp index da9e741f..7ea5ba9f 100644 --- a/dnn/src/aarch64/conv_bias/quint8/strategy.cpp +++ b/dnn/src/aarch64/conv_bias/quint8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/quint8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/conv_bias/quint8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/common/utils.h" diff --git a/dnn/src/aarch64/conv_bias/quint8/strategy.h b/dnn/src/aarch64/conv_bias/quint8/strategy.h index 31050c25..167ca05a 100644 --- a/dnn/src/aarch64/conv_bias/quint8/strategy.h +++ b/dnn/src/aarch64/conv_bias/quint8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/conv_bias/quint8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/handle.cpp b/dnn/src/aarch64/handle.cpp index cec1fc4b..eaf27eca 100644 --- a/dnn/src/aarch64/handle.cpp +++ b/dnn/src/aarch64/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/handle_impl.h" #include "src/aarch64/conv_bias/opr_impl.h" diff --git a/dnn/src/aarch64/handle.h b/dnn/src/aarch64/handle.h index 7db99c63..5fc1159c 100644 --- a/dnn/src/aarch64/handle.h +++ b/dnn/src/aarch64/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/handle.h" diff --git a/dnn/src/aarch64/matrix_mul/algos.cpp b/dnn/src/aarch64/matrix_mul/algos.cpp index 4e4d3c53..6192bab5 100644 --- a/dnn/src/aarch64/matrix_mul/algos.cpp +++ b/dnn/src/aarch64/matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/algos.h" #include "src/aarch64/matrix_mul/fp16/strategy.h" #include "src/aarch64/matrix_mul/fp32/strategy.h" diff --git a/dnn/src/aarch64/matrix_mul/algos.h b/dnn/src/aarch64/matrix_mul/algos.h index 23954315..c2bce8a8 100644 --- a/dnn/src/aarch64/matrix_mul/algos.h +++ b/dnn/src/aarch64/matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/aarch64/matrix_mul/opr_impl.h" diff --git a/dnn/src/aarch64/matrix_mul/asm/common.h b/dnn/src/aarch64/matrix_mul/asm/common.h index df332025..651b3bbd 100644 --- a/dnn/src/aarch64/matrix_mul/asm/common.h +++ b/dnn/src/aarch64/matrix_mul/asm/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/asm/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include diff --git a/dnn/src/aarch64/matrix_mul/fp16/strategy.cpp b/dnn/src/aarch64/matrix_mul/fp16/strategy.cpp index 6cac980f..e110e0e5 100644 --- a/dnn/src/aarch64/matrix_mul/fp16/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/fp16/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/fp16/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp16/strategy.h b/dnn/src/aarch64/matrix_mul/fp16/strategy.h index 3d9db2c0..272b490d 100644 --- a/dnn/src/aarch64/matrix_mul/fp16/strategy.h +++ b/dnn/src/aarch64/matrix_mul/fp16/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp b/dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp index 0d973493..02134134 100644 --- a/dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp +++ b/dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp16/strategy_mk8_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/fp16/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/common.h b/dnn/src/aarch64/matrix_mul/fp32/common.h index d6ace968..8d7e55ac 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/common.h +++ b/dnn/src/aarch64/matrix_mul/fp32/common.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h index 9b8b0449..8729eee9 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_4x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h index c69ce9cb..83b372ff 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a53.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a53.h index 6a237c5a..c0073f7e 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a53.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a53.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h index 1b12e424..8a49a79d 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_general_8x12_a55.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h index 46fbefec..66163265 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h index faae5718..b7c4cb38 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a53.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h index 7fe5c8b2..e0e7a1d2 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h +++ b/dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/kernel_mk4_8x12_a55.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/strategy.cpp b/dnn/src/aarch64/matrix_mul/fp32/strategy.cpp index a369abd6..61c133c1 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/fp32/strategy.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/fp32/strategy.h" #include "src/aarch64/matrix_mul/fp32/kernel_general_4x16.h" #include "src/aarch64/matrix_mul/fp32/kernel_general_8x12.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/strategy.h b/dnn/src/aarch64/matrix_mul/fp32/strategy.h index 097277c9..664ef744 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/strategy.h +++ b/dnn/src/aarch64/matrix_mul/fp32/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp b/dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp index 433ae4de..5a8f5851 100644 --- a/dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp +++ b/dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/fp32/strategy_mk4_4x16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/fp32/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h b/dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h index 256d55fd..496d9b25 100644 --- a/dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h +++ b/dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int16/kernel_12x8x1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int16/strategy.cpp b/dnn/src/aarch64/matrix_mul/int16/strategy.cpp index c31d7d1e..5f202fef 100644 --- a/dnn/src/aarch64/matrix_mul/int16/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/int16/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/int16/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/int16/kernel_12x8x1.h" diff --git a/dnn/src/aarch64/matrix_mul/int16/strategy.h b/dnn/src/aarch64/matrix_mul/int16/strategy.h index c0881b0a..bb1d3bea 100644 --- a/dnn/src/aarch64/matrix_mul/int16/strategy.h +++ b/dnn/src/aarch64/matrix_mul/int16/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp b/dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp index 879f4c86..2a74b384 100644 --- a/dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp +++ b/dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int16/strategy_mk8_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/int16/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h b/dnn/src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h index 0b5d4b89..427009f1 100644 --- a/dnn/src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h +++ b/dnn/src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int4x4x16/kernel_8x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include "src/aarch64/matrix_mul/asm/common.h" diff --git a/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp b/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp index 6c1f5c78..291f9605 100644 --- a/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int4x4x16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/int4x4x16/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/int4x4x16/kernel_int4_8x8x8.h" diff --git a/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h b/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h index 098e9215..52750a8e 100644 --- a/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h +++ b/dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int4x4x16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h b/dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h index 79aca414..313629a9 100644 --- a/dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h +++ b/dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8/kernel_4x4x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h b/dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h index 9b6983ae..c511cd58 100644 --- a/dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h +++ b/dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8/kernel_8x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h b/dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h index 652a4b83..fb150244 100644 --- a/dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h +++ b/dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8/kernel_mk4_4x4x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8/strategy.cpp b/dnn/src/aarch64/matrix_mul/int8/strategy.cpp index a96edf5c..39a11a1b 100644 --- a/dnn/src/aarch64/matrix_mul/int8/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/int8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/int8/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/int8/kernel_4x4x16.h" diff --git a/dnn/src/aarch64/matrix_mul/int8/strategy.h b/dnn/src/aarch64/matrix_mul/int8/strategy.h index 9fbecabd..d00d5449 100644 --- a/dnn/src/aarch64/matrix_mul/int8/strategy.h +++ b/dnn/src/aarch64/matrix_mul/int8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h b/dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h index 14d37464..44eca9c2 100644 --- a/dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h +++ b/dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8_dot/kernel_8x12x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MGB_ENABLE_DOT #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h b/dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h index 54d61e53..b6d7dd56 100644 --- a/dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h +++ b/dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8_dot/kernel_mk4_8x12x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #if MGB_ENABLE_DOT #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp b/dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp index 1470180d..7c72e739 100644 --- a/dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8_dot/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/int8_dot/strategy.h" #if MGB_ENABLE_DOT #include "src/aarch64/matrix_mul/asm/common.h" diff --git a/dnn/src/aarch64/matrix_mul/int8_dot/strategy.h b/dnn/src/aarch64/matrix_mul/int8_dot/strategy.h index e5a07164..63a37ee0 100644 --- a/dnn/src/aarch64/matrix_mul/int8_dot/strategy.h +++ b/dnn/src/aarch64/matrix_mul/int8_dot/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8_dot/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h index 6bfdd817..7efa089f 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h index c0e7a8db..b25a811a 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_8x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_16x12x4_a53.h b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_16x12x4_a53.h index a951637a..4a29b6e9 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_16x12x4_a53.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_16x12x4_a53.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h index 65a2238c..f3b9a428 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_4x4x8_a72.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h index 535bca8d..dc3bc7ee 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/kernel_mk4_8x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp b/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp index 78d64a14..241af736 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/aarch64/matrix_mul/int8x8x16/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/int8x8x16/kernel_4x4x16.h" diff --git a/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h b/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h index d4b40f29..f6ec900e 100644 --- a/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h +++ b/dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/int8x8x16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/opr_impl.cpp b/dnn/src/aarch64/matrix_mul/opr_impl.cpp index f16fbda0..36ded34c 100644 --- a/dnn/src/aarch64/matrix_mul/opr_impl.cpp +++ b/dnn/src/aarch64/matrix_mul/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/aarch64/matrix_mul/opr_impl.h" #include "src/aarch64/matrix_mul/algos.h" #include "src/common/metahelper.h" diff --git a/dnn/src/aarch64/matrix_mul/opr_impl.h b/dnn/src/aarch64/matrix_mul/opr_impl.h index c65d2133..b96007d7 100644 --- a/dnn/src/aarch64/matrix_mul/opr_impl.h +++ b/dnn/src/aarch64/matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/matrix_mul/opr_impl.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h b/dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h index d81ccca0..454dfe27 100644 --- a/dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h +++ b/dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8/kernel_8x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8/strategy.cpp b/dnn/src/aarch64/matrix_mul/quint8/strategy.cpp index 96da0baa..bdfeaf42 100644 --- a/dnn/src/aarch64/matrix_mul/quint8/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/quint8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/quint8/strategy.h" #include "src/aarch64/matrix_mul/asm/common.h" #include "src/aarch64/matrix_mul/quint8/kernel_8x8x8.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8/strategy.h b/dnn/src/aarch64/matrix_mul/quint8/strategy.h index 2e242920..ebf27384 100644 --- a/dnn/src/aarch64/matrix_mul/quint8/strategy.h +++ b/dnn/src/aarch64/matrix_mul/quint8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp b/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp index b62d8aef..86145e30 100644 --- a/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp +++ b/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8_dot/gemv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/quint8_dot/gemv.h" #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h b/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h index 2f148441..c701ad2f 100644 --- a/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h +++ b/dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8_dot/gemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h b/dnn/src/aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h index 5864938d..1461c884 100644 --- a/dnn/src/aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h +++ b/dnn/src/aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8_dot/kernel_8x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MGB_ENABLE_DOT #include "src/aarch64/matrix_mul/asm/common.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp b/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp index 206beafa..eb5af5e4 100644 --- a/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp +++ b/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8_dot/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/aarch64/matrix_mul/quint8_dot/strategy.h" #include "megdnn/dtype.h" #include "src/aarch64/matrix_mul/asm/common.h" diff --git a/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h b/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h index 965945d8..ef20136b 100644 --- a/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h +++ b/dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/matrix_mul/quint8_dot/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/aarch64/relayout/opr_impl.cpp b/dnn/src/aarch64/relayout/opr_impl.cpp index c23cbaa3..48bcf8f1 100644 --- a/dnn/src/aarch64/relayout/opr_impl.cpp +++ b/dnn/src/aarch64/relayout/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/relayout_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/aarch64/relayout/opr_impl.h b/dnn/src/aarch64/relayout/opr_impl.h index e897c342..9a3da913 100644 --- a/dnn/src/aarch64/relayout/opr_impl.h +++ b/dnn/src/aarch64/relayout/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/relayout/opr_impl.h" diff --git a/dnn/src/aarch64/rotate/opr_impl.cpp b/dnn/src/aarch64/rotate/opr_impl.cpp index e87430c2..a65a5e2f 100644 --- a/dnn/src/aarch64/rotate/opr_impl.cpp +++ b/dnn/src/aarch64/rotate/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/rotate/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "src/aarch64/handle.h" diff --git a/dnn/src/aarch64/rotate/opr_impl.h b/dnn/src/aarch64/rotate/opr_impl.h index 6a95d267..c387340b 100644 --- a/dnn/src/aarch64/rotate/opr_impl.h +++ b/dnn/src/aarch64/rotate/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/rotate/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/aarch64/warp_perspective/opr_impl.cpp b/dnn/src/aarch64/warp_perspective/opr_impl.cpp index c2c62bda..8b4b3c6f 100644 --- a/dnn/src/aarch64/warp_perspective/opr_impl.cpp +++ b/dnn/src/aarch64/warp_perspective/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/warp_perspective/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/aarch64/warp_perspective/opr_impl.h" #include "src/aarch64/warp_perspective/warp_perspective_cv.h" diff --git a/dnn/src/aarch64/warp_perspective/opr_impl.h b/dnn/src/aarch64/warp_perspective/opr_impl.h index d25b6586..15ee5e87 100644 --- a/dnn/src/aarch64/warp_perspective/opr_impl.h +++ b/dnn/src/aarch64/warp_perspective/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/arm_common/warp_perspective/opr_impl.h" diff --git a/dnn/src/aarch64/warp_perspective/warp_perspective_cv.cpp b/dnn/src/aarch64/warp_perspective/warp_perspective_cv.cpp index 46f832ec..152fe9d4 100644 --- a/dnn/src/aarch64/warp_perspective/warp_perspective_cv.cpp +++ b/dnn/src/aarch64/warp_perspective/warp_perspective_cv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/aarch64/warp_perspective/warp_perspective_cv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/aarch64/warp_perspective/warp_perspective_cv.h" #include "src/aarch64/handle.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/aarch64/warp_perspective/warp_perspective_cv.h b/dnn/src/aarch64/warp_perspective/warp_perspective_cv.h index 6918ed1d..0af7c4f4 100644 --- a/dnn/src/aarch64/warp_perspective/warp_perspective_cv.h +++ b/dnn/src/aarch64/warp_perspective/warp_perspective_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/aarch64/warp_perspective/warp_perspective_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/arm_common/conv_bias/block_helper.h b/dnn/src/arm_common/conv_bias/block_helper.h index d733ba0b..74f0ae74 100644 --- a/dnn/src/arm_common/conv_bias/block_helper.h +++ b/dnn/src/arm_common/conv_bias/block_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/block_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/utils.h" namespace megdnn { namespace { diff --git a/dnn/src/arm_common/conv_bias/f16/algos.cpp b/dnn/src/arm_common/conv_bias/f16/algos.cpp index f66c3f2b..dcac3c2e 100644 --- a/dnn/src/arm_common/conv_bias/f16/algos.cpp +++ b/dnn/src/arm_common/conv_bias/f16/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/f16/algos.h" #include "src/arm_common/conv_bias/f16/direct.h" #include "src/arm_common/conv_bias/f16/do_conv_stride1.h" diff --git a/dnn/src/arm_common/conv_bias/f16/algos.h b/dnn/src/arm_common/conv_bias/f16/algos.h index 4f8f9d7f..a9aa8791 100644 --- a/dnn/src/arm_common/conv_bias/f16/algos.h +++ b/dnn/src/arm_common/conv_bias/f16/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.cpp b/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.cpp index 1e1a797f..cc6c7239 100644 --- a/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.cpp +++ b/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h b/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h index 7e532b7d..80eaa99a 100644 --- a/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h +++ b/dnn/src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/fp16/channel_wise_3x3_s1p1_nchw88_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_algo.cpp b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_algo.cpp index cfa427b8..524027ad 100644 --- a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_algo.cpp +++ b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/f16/algos.h" #include "src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.cpp b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.cpp index b0ddafe0..125efea6 100644 --- a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.cpp +++ b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h" #include "src/arm_common/conv_bias/f16/channel_wise_3x3_s1p1_nchw88_kern.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h index d0f8b459..d8db8f27 100644 --- a/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h +++ b/dnn/src/arm_common/conv_bias/f16/channel_wise_nchw88_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/fp16/channel_wise_nchw88_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/f16/direct.cpp b/dnn/src/arm_common/conv_bias/f16/direct.cpp index 8400393c..c54b8673 100644 --- a/dnn/src/arm_common/conv_bias/f16/direct.cpp +++ b/dnn/src/arm_common/conv_bias/f16/direct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./direct.h" #include "include/megdnn/oprs.h" #include "midout.h" diff --git a/dnn/src/arm_common/conv_bias/f16/direct.h b/dnn/src/arm_common/conv_bias/f16/direct.h index e96cf913..3849e251 100644 --- a/dnn/src/arm_common/conv_bias/f16/direct.h +++ b/dnn/src/arm_common/conv_bias/f16/direct.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/direct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_algo.cpp b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_algo.cpp index 42de168e..ce256662 100644 --- a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_algo.cpp +++ b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/direct_nchw88_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. - */ - #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/block_helper.h" #include "src/arm_common/conv_bias/f16/algos.h" diff --git a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.cpp b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.cpp index b00d4b18..54c54450 100644 --- a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.cpp +++ b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/f16/direct_nchw88_kern.h" #include "src/arm_common/conv_bias/opr_impl.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.h b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.h index 84d49ef6..6950e961 100644 --- a/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.h +++ b/dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/direct_nchw88_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.cpp b/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.cpp index b72babc7..70393d71 100644 --- a/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.cpp +++ b/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/do_conv_stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC diff --git a/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h b/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h index d4fe891f..3747208d 100644 --- a/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h +++ b/dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/do_conv_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/f16/helper.h b/dnn/src/arm_common/conv_bias/f16/helper.h index c5dbc975..a34531b4 100644 --- a/dnn/src/arm_common/conv_bias/f16/helper.h +++ b/dnn/src/arm_common/conv_bias/f16/helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/unroll_macro.h" #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC diff --git a/dnn/src/arm_common/conv_bias/f16/strategy.h b/dnn/src/arm_common/conv_bias/f16/strategy.h index 53f89b7a..900589fa 100644 --- a/dnn/src/arm_common/conv_bias/f16/strategy.h +++ b/dnn/src/arm_common/conv_bias/f16/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/postprocess_helper.h" diff --git a/dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp b/dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp index 2230adf1..6d58238d 100644 --- a/dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp +++ b/dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/strategy_2x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/f16/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/arm_common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/f16/strategy_2x3_8x8.cpp b/dnn/src/arm_common/conv_bias/f16/strategy_2x3_8x8.cpp index 62a3642b..e4741c3c 100644 --- a/dnn/src/arm_common/conv_bias/f16/strategy_2x3_8x8.cpp +++ b/dnn/src/arm_common/conv_bias/f16/strategy_2x3_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/strategy_2x3_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC #include "src/fallback/conv_bias/winograd/winograd.h" #include "src/naive/matrix_mul/matrix_mul_helper.h" diff --git a/dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp b/dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp index bcda5712..c9c7bc9d 100644 --- a/dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp +++ b/dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/strategy_4x5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/f16/helper.h" #include "src/arm_common/conv_bias/f16/strategy.h" #include "src/arm_common/elemwise_helper/op_unary.h" diff --git a/dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp b/dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp index 2a3258cc..46a33ea3 100644 --- a/dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp +++ b/dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/f16/strategy_6x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/f16/helper.h" #include "src/arm_common/conv_bias/f16/strategy.h" #include "src/arm_common/elemwise_helper/op_unary.h" diff --git a/dnn/src/arm_common/conv_bias/fp32/helper.h b/dnn/src/arm_common/conv_bias/fp32/helper.h index 3c2b2f70..44594af8 100644 --- a/dnn/src/arm_common/conv_bias/fp32/helper.h +++ b/dnn/src/arm_common/conv_bias/fp32/helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/fp32/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/simd_macro/marm_neon.h" #include "src/common/unroll_macro.h" diff --git a/dnn/src/arm_common/conv_bias/img2col_helper.h b/dnn/src/arm_common/conv_bias/img2col_helper.h index ce757d07..e29880c0 100644 --- a/dnn/src/arm_common/conv_bias/img2col_helper.h +++ b/dnn/src/arm_common/conv_bias/img2col_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/img2col_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8/algos.cpp b/dnn/src/arm_common/conv_bias/int8/algos.cpp index 06146081..6d20cf13 100644 --- a/dnn/src/arm_common/conv_bias/int8/algos.cpp +++ b/dnn/src/arm_common/conv_bias/int8/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/algos.h" #include "src/arm_common/conv_bias/int8/channel_wise_nchw44.h" #include "src/arm_common/conv_bias/int8/strategy.h" diff --git a/dnn/src/arm_common/conv_bias/int8/algos.h b/dnn/src/arm_common/conv_bias/int8/algos.h index fbf971b5..9a88d723 100644 --- a/dnn/src/arm_common/conv_bias/int8/algos.h +++ b/dnn/src/arm_common/conv_bias/int8/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.cpp b/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.cpp index 7521c6de..e29703d4 100644 --- a/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.cpp +++ b/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/channel_wise_kernel.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.h b/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.h index 5e009ebd..8c0a6cb4 100644 --- a/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.h +++ b/dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/channel_wise_kernel.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/opr_impl.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.cpp b/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.cpp index e862a3e8..fd840ac9 100644 --- a/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.cpp +++ b/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/channel_wise_nchw44.h" #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/int8/channel_wise_kernel.h" diff --git a/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.h b/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.h index 73b62b91..aed6ecba 100644 --- a/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.h +++ b/dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/channel_wise_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct.cpp b/dnn/src/arm_common/conv_bias/int8/direct.cpp index dc52ac46..c3bad21b 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/direct.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct.h b/dnn/src/arm_common/conv_bias/int8/direct.h index 1795b1d8..c4f8d8b1 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct.h +++ b/dnn/src/arm_common/conv_bias/int8/direct.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/opr_impl.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_dotprod.cpp b/dnn/src/arm_common/conv_bias/int8/direct_dotprod.cpp index 6d1d3ed3..28203e2b 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_dotprod.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/direct_dotprod.h" #if MGB_ENABLE_DOT #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_dotprod.h b/dnn/src/arm_common/conv_bias/int8/direct_dotprod.h index accc78cd..efb40b29 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_dotprod.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_dotprod.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/conv_bias/opr_impl.h" #if MGB_ENABLE_DOT #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.cpp b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.cpp index efa2b57f..2130b73d 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/elemwise_helper/kimpl/typecvt.h" #if MGB_ENABLE_DOT #include "src/common/unroll_macro.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.h b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.h index 1b9789c4..1fb6578a 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44_algo.cpp b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44_algo.cpp index 558f5db4..23a0cbd8 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44_algo.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_dotprod_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_dotpord_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/block_helper.h" #if MGB_ENABLE_DOT #include "src/arm_common/conv_bias/int8/algos.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h index f7a2a4ed..4276a50d 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h index 48d7bd1d..0be9bbb4 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h" #if MGB_ENABLE_DOT diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_2x2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_2x2.cpp index 66ae2846..29610828 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_2x2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_2x2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_2x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_3x3.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_3x3.cpp index faf8f46c..51f05830 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_3x3.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_3x3.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_3x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_5x5.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_5x5.cpp index 94fe0811..0b2376c7 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_5x5.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_5x5.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_5x5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_7x7.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_7x7.cpp index 001c58a9..ae4c169f 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_7x7.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_7x7.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1_7x7.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s1.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h index 21ce451b..0d3c7da3 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_common.h" #if MGB_ENABLE_DOT namespace megdnn { diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_2x2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_2x2.cpp index 521ce682..619b52b6 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_2x2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_2x2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_2x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_3x3.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_3x3.cpp index d2af6eca..768cb13c 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_3x3.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_3x3.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_3x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_5x5.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_5x5.cpp index 949c105e..c7a450d8 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_5x5.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_5x5.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_5x5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_7x7.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_7x7.cpp index 4337a3e5..8c05d242 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_7x7.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_7x7.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2_7x7.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw44_s2.h" #if MGB_ENABLE_DOT using namespace megdnn; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s1.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s1.cpp index 5e887f31..b9459866 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s1.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h" #if MGB_ENABLE_DOT namespace megdnn { diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s2.cpp index e1a0afa3..48120762 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/dot_direct_nchw_nchw44_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h" #if MGB_ENABLE_DOT namespace megdnn { diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s1.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s1.cpp index 937c5cb9..ef34a147 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct.h" #include "src/arm_common/conv_bias/int8/direct_nchw44_kern.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s2.cpp index a55f2e5d..d98bce57 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s2.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw44_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct.h" #include "src/arm_common/conv_bias/int8/direct_nchw44_kern.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h index 174c48c3..2a48dd8f 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h" namespace megdnn { namespace arm_common { diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.cpp index 3373cf9a..d633fec3 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h" #include "src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h index 4ae7f4f7..3b5a9327 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h" #include "src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_1x1.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_1x1.cpp index 14763c96..8900291b 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_1x1.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_1x1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_1x1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h" using namespace megdnn; using namespace arm_common; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_2x2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_2x2.cpp index 10d46268..8df7e27a 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_2x2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_2x2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_2x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h" using namespace megdnn; using namespace arm_common; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_3x3.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_3x3.cpp index 87553278..ecc4f152 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_3x3.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_3x3.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_3x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h" using namespace megdnn; using namespace arm_common; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_5x5.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_5x5.cpp index d7deb345..2b028ee6 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_5x5.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_5x5.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_5x5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h" using namespace megdnn; using namespace arm_common; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_7x7.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_7x7.cpp index 37cb7679..d6846de6 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_7x7.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_7x7.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1_7x7.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s1.h" using namespace megdnn; using namespace arm_common; diff --git a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s2.cpp b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s2.cpp index 67bf9a15..def951ef 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s2.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/direct_kernels/int8_direct_nchw_nchw44_common.h" #include "src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h" namespace megdnn { diff --git a/dnn/src/arm_common/conv_bias/int8/direct_nchw44_algo.cpp b/dnn/src/arm_common/conv_bias/int8/direct_nchw44_algo.cpp index e7dcf989..ccc770c9 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_nchw44_algo.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/int8/algos.h" #include "src/arm_common/conv_bias/int8/direct.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_nchw44_kern.h b/dnn/src/arm_common/conv_bias/int8/direct_nchw44_kern.h index 176e5e61..6084002c 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_nchw44_kern.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_nchw44_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/conv_bias/int8/direct.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_algo.cpp b/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_algo.cpp index 82c79497..c9015ef6 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_algo.cpp +++ b/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/int8/algos.h" #include "src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h b/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h index fe3104b1..b03c5b33 100644 --- a/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h +++ b/dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/direct_nchw_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h b/dnn/src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h index fbbee3e0..9ea8df23 100644 --- a/dnn/src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h +++ b/dnn/src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8/dot_direct_nchw_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/helper.h b/dnn/src/arm_common/conv_bias/int8/helper.h index 749fd6aa..9d5b21a8 100644 --- a/dnn/src/arm_common/conv_bias/int8/helper.h +++ b/dnn/src/arm_common/conv_bias/int8/helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/unroll_macro.h" diff --git a/dnn/src/arm_common/conv_bias/int8/strategy.h b/dnn/src/arm_common/conv_bias/int8/strategy.h index 9217e0e2..095fce7f 100644 --- a/dnn/src/arm_common/conv_bias/int8/strategy.h +++ b/dnn/src/arm_common/conv_bias/int8/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/postprocess_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/strategy_2x3_8x8.cpp b/dnn/src/arm_common/conv_bias/int8/strategy_2x3_8x8.cpp index d9e0a2a2..6df32194 100644 --- a/dnn/src/arm_common/conv_bias/int8/strategy_2x3_8x8.cpp +++ b/dnn/src/arm_common/conv_bias/int8/strategy_2x3_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/strategy_2x3_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/winograd/winograd.h" #include "src/naive/matrix_mul/matrix_mul_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_4x4.cpp b/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_4x4.cpp index dc2141a5..2159f0c6 100644 --- a/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_4x4.cpp +++ b/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_4x4.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/fp32/strategy_nchw44_2x3_4x4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/arm_common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_8x8.cpp b/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_8x8.cpp index a97fc54d..a7a66f17 100644 --- a/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_8x8.cpp +++ b/dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/strategy_nchw44_2x3_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/winograd/winograd.h" #include "src/naive/matrix_mul/matrix_mul_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride1.cpp b/dnn/src/arm_common/conv_bias/int8/stride1.cpp index b688e5e5..9a4bd94b 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride1.cpp +++ b/dnn/src/arm_common/conv_bias/int8/stride1.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/stride1.h" #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/int8/direct.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride1.h b/dnn/src/arm_common/conv_bias/int8/stride1.h index cf63b9ea..70e0fe33 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride1.h +++ b/dnn/src/arm_common/conv_bias/int8/stride1.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.cpp b/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.cpp index 4acad913..b98632bd 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride1_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/stride1_dotprod.h" #if MGB_ENABLE_DOT #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.h b/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.h index 6bb5ef30..ef7a5569 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.h +++ b/dnn/src/arm_common/conv_bias/int8/stride1_dotprod.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride1_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride2.cpp b/dnn/src/arm_common/conv_bias/int8/stride2.cpp index 017ccf38..d4a60d2f 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride2.cpp +++ b/dnn/src/arm_common/conv_bias/int8/stride2.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8/stride2.h" #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/int8/direct.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride2.h b/dnn/src/arm_common/conv_bias/int8/stride2.h index b3bb1758..9a3abf79 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride2.h +++ b/dnn/src/arm_common/conv_bias/int8/stride2.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.cpp b/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.cpp index 33964cfa..ec3efc31 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride2_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8/stride2_dotprod.h" #if MGB_ENABLE_DOT #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.h b/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.h index d14cd4db..99fd03cf 100644 --- a/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.h +++ b/dnn/src/arm_common/conv_bias/int8/stride2_dotprod.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8/stride2_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" #if MGB_ENABLE_DOT diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp index ae00ac27..b1c470ce 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/algos.h" #include "src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h" #include "src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/algos.h b/dnn/src/arm_common/conv_bias/int8x8x16/algos.h index c0a7127b..8c19ee8b 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/algos.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "../opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h index 8cdf84e6..8c711e6e 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/opr_impl.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel_int8x8x16_nchw44.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel_int8x8x16_nchw44.cpp index c51bb933..e7e4530a 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel_int8x8x16_nchw44.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel_int8x8x16_nchw44.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_kernel_int8x8x16_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h index c5ebd824..aed6ecba 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.cpp index 41d98733..5db327fb 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h" #include "src/arm_common/conv_bias/int8x8x16/channel_wise_kernel.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h index 5a4604f9..4a6025b6 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44_8x8x16.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/channel_wise_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.cpp index a7a76644..bbacb292 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/conv_direct.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.h b/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.h index eb146235..fa02057a 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/conv_direct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.cpp index f5b6d836..91db5418 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/conv_bias/int8x8x16/conv_stride2.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.h b/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.h index 603146b0..97f60725 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/conv_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_algo.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_algo.cpp index 2434798b..6d8a5a32 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_algo.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/conv_direct_int8x8x16_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/algos.h" #include "src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h b/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h index 9efa6aca..c137e4c2 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/simd_macro/marm_neon.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_aarch64.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_aarch64.cpp index 37766bd7..ce786c07 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_aarch64.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_aarch64.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8_direct_nchw44_s1_aarch64.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #if MEGDNN_AARCH64 #include "src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_armv7.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_armv7.cpp index 064bb2d6..d8c5aa6a 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_armv7.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s1_armv7.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8_direct_nchw44_s1_armv7.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/common/utils.h" #if MEGDNN_ARMV7 #include "src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s2.cpp index e32aa32b..c6bc0414 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s2.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/direct_kernels/int8x8x16_direct_nchw44_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/int8x8x16/direct_8x8x16_nchw44_kern.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h b/dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h index 283f4442..94f36927 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" #include "src/arm_common/conv_bias/intrinsic_helper.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h index 1b0d1504..c304db29 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/arch.h" #include "src/arm_common/conv_bias/int8x8x16/direct_nchw_nchw44_kern.h" diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp index e6b8576d..6e42d6b5 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(2, 1); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp index 7f78d864..2232de59 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_2x2s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(2, 2); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp index a970478d..583a2686 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(3, 1); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp index 532351d8..017f36af 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_3x3s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(3, 2); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp index ffe5decc..0bd93ce5 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(5, 1); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp index 7a64dbe4..31b38ed5 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_5x5s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(5, 2); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp index 154903f9..54bedb20 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(7, 1); diff --git a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp index 83b9e21b..ddbf40e6 100644 --- a/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp +++ b/dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl_7x7s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/conv_bias/int8x8x16/kernel/direct_nchw_nchw44_kern_impl.h" INSTANCE_CONV(7, 2); diff --git a/dnn/src/arm_common/conv_bias/intrinsic_helper.h b/dnn/src/arm_common/conv_bias/intrinsic_helper.h index 77098abd..790ab9b2 100644 --- a/dnn/src/arm_common/conv_bias/intrinsic_helper.h +++ b/dnn/src/arm_common/conv_bias/intrinsic_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/intrinsic_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/intrinsic_helper.h" #include "src/arm_common/neon_struct.h" diff --git a/dnn/src/arm_common/conv_bias/matmul_postprocess.h b/dnn/src/arm_common/conv_bias/matmul_postprocess.h index 15cb0bc6..aab1b89b 100644 --- a/dnn/src/arm_common/conv_bias/matmul_postprocess.h +++ b/dnn/src/arm_common/conv_bias/matmul_postprocess.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/matmul_postprocess.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/arm_common/conv_bias/opr_impl.cpp b/dnn/src/arm_common/conv_bias/opr_impl.cpp index 5e9d2cfc..6de11307 100644 --- a/dnn/src/arm_common/conv_bias/opr_impl.cpp +++ b/dnn/src/arm_common/conv_bias/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/opr_param_defs.h" #include "megdnn/oprs/base.h" #include "src/arm_common/conv_bias/int8/algos.h" diff --git a/dnn/src/arm_common/conv_bias/opr_impl.h b/dnn/src/arm_common/conv_bias/opr_impl.h index e6ae4046..0a533683 100644 --- a/dnn/src/arm_common/conv_bias/opr_impl.h +++ b/dnn/src/arm_common/conv_bias/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/algo_base.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/conv_bias/postprocess_helper.h b/dnn/src/arm_common/conv_bias/postprocess_helper.h index 7e845d2e..5dc0756c 100644 --- a/dnn/src/arm_common/conv_bias/postprocess_helper.h +++ b/dnn/src/arm_common/conv_bias/postprocess_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/postprocess_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/algos.cpp b/dnn/src/arm_common/conv_bias/quint8/algos.cpp index 49462c9d..6e29cc9e 100644 --- a/dnn/src/arm_common/conv_bias/quint8/algos.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/conv_bias/quint8/algos.h" #include "src/arm_common/conv_bias/quint8/stride1.h" #include "src/arm_common/conv_bias/quint8/stride1_dotprod.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/algos.h b/dnn/src/arm_common/conv_bias/quint8/algos.h index 9d8c2f58..31688b62 100644 --- a/dnn/src/arm_common/conv_bias/quint8/algos.h +++ b/dnn/src/arm_common/conv_bias/quint8/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/direct.cpp b/dnn/src/arm_common/conv_bias/quint8/direct.cpp index 7a07e946..8c76164b 100644 --- a/dnn/src/arm_common/conv_bias/quint8/direct.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/direct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/quint8/direct.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/direct.h b/dnn/src/arm_common/conv_bias/quint8/direct.h index 98db4126..114edd8b 100644 --- a/dnn/src/arm_common/conv_bias/quint8/direct.h +++ b/dnn/src/arm_common/conv_bias/quint8/direct.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/direct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/opr_impl.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.cpp b/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.cpp index 085c81d3..496e5167 100644 --- a/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/direct_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/quint8/direct_dotprod.h" #if MGB_ENABLE_DOT #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.h b/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.h index 7232d8d5..e1d0dd60 100644 --- a/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.h +++ b/dnn/src/arm_common/conv_bias/quint8/direct_dotprod.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/direct_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/opr_impl.h" #if MGB_ENABLE_DOT #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride1.cpp b/dnn/src/arm_common/conv_bias/quint8/stride1.cpp index f08f2fbf..c3d2a24f 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride1.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/stride1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/quint8/stride1.h" #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/quint8/direct.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride1.h b/dnn/src/arm_common/conv_bias/quint8/stride1.h index e1806a54..5ebbc16e 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride1.h +++ b/dnn/src/arm_common/conv_bias/quint8/stride1.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.cpp b/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.cpp index a54a1b0f..8e20dda8 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/conv_bias/quint8/stride1_dotprod.h" #if MGB_ENABLE_DOT #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.h b/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.h index d1b99267..1731529d 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.h +++ b/dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride1_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride2.cpp b/dnn/src/arm_common/conv_bias/quint8/stride2.cpp index 8c3fc55e..31c8b607 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride2.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/stride2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/conv_bias/quint8/stride2.h" #include "megdnn/oprs.h" #include "src/arm_common/conv_bias/quint8/direct.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride2.h b/dnn/src/arm_common/conv_bias/quint8/stride2.h index d2ad0418..d91ec970 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride2.h +++ b/dnn/src/arm_common/conv_bias/quint8/stride2.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.cpp b/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.cpp index 3f60422b..1f4c4d3d 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.cpp +++ b/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/conv_bias/quint8/stride2_dotprod.h" #if MGB_ENABLE_DOT #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.h b/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.h index d93d43ad..9223a8e9 100644 --- a/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.h +++ b/dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/quint8/stride2_dotprod.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" diff --git a/dnn/src/arm_common/conv_bias/winograd_common/winograd_common.h b/dnn/src/arm_common/conv_bias/winograd_common/winograd_common.h index e5f63a28..4c08c409 100644 --- a/dnn/src/arm_common/conv_bias/winograd_common/winograd_common.h +++ b/dnn/src/arm_common/conv_bias/winograd_common/winograd_common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/conv_bias/winograd_common/winograd_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/convolution/img2col_helper.h b/dnn/src/arm_common/convolution/img2col_helper.h index 58df029f..e29880c0 100644 --- a/dnn/src/arm_common/convolution/img2col_helper.h +++ b/dnn/src/arm_common/convolution/img2col_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/img2col_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "src/common/utils.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/algos.cpp b/dnn/src/arm_common/convolution/int8x8x32/algos.cpp index abcc4192..7385918c 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/algos.cpp +++ b/dnn/src/arm_common/convolution/int8x8x32/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/int8x8x32/algos.h" #include "src/arm_common/convolution/img2col_helper.h" #include "src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/algos.h b/dnn/src/arm_common/convolution/int8x8x32/algos.h index 934a9593..75909245 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/algos.h +++ b/dnn/src/arm_common/convolution/int8x8x32/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.cpp b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.cpp index 98a9bfc3..ed21f4ca 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.cpp +++ b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h" #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h index 06986077..7582da13 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h +++ b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.cpp b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.cpp index 6994d826..e54f3079 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.cpp +++ b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h" #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h index a89c88e5..fd7873c2 100644 --- a/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h +++ b/dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/int8x8x32/conv_backdata_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/convolution/opr_impl.cpp b/dnn/src/arm_common/convolution/opr_impl.cpp index afef91e1..8b5530ac 100644 --- a/dnn/src/arm_common/convolution/opr_impl.cpp +++ b/dnn/src/arm_common/convolution/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./int8x8x32/algos.h" #include "./quint8/algos.h" diff --git a/dnn/src/arm_common/convolution/opr_impl.h b/dnn/src/arm_common/convolution/opr_impl.h index 30d02e2f..a5111fc8 100644 --- a/dnn/src/arm_common/convolution/opr_impl.h +++ b/dnn/src/arm_common/convolution/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/convolution/quint8/algos.cpp b/dnn/src/arm_common/convolution/quint8/algos.cpp index 8cf47987..92a0b6a3 100644 --- a/dnn/src/arm_common/convolution/quint8/algos.cpp +++ b/dnn/src/arm_common/convolution/quint8/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/quint8/algos.h" #include "src/arm_common/convolution/img2col_helper.h" #include "src/arm_common/convolution/quint8/conv_backdata_stride1.h" diff --git a/dnn/src/arm_common/convolution/quint8/algos.h b/dnn/src/arm_common/convolution/quint8/algos.h index 7380d6d8..e8528336 100644 --- a/dnn/src/arm_common/convolution/quint8/algos.h +++ b/dnn/src/arm_common/convolution/quint8/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.cpp b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.cpp index 53fb656d..3b9b3f6a 100644 --- a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.cpp +++ b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/quint8/conv_backdata_stride1.h" #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.h b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.h index ae642501..7c8452ba 100644 --- a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.h +++ b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/conv_backdata_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.cpp b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.cpp index 417938cc..be1b4091 100644 --- a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.cpp +++ b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/convolution/quint8/conv_backdata_stride2.h" #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.h b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.h index 277d7798..9aa9eee9 100644 --- a/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.h +++ b/dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/convolution/quint8/conv_backdata_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/convolution/opr_impl.h" diff --git a/dnn/src/arm_common/cvt_color/opr_impl.h b/dnn/src/arm_common/cvt_color/opr_impl.h index 79715b18..7a4b18e2 100644 --- a/dnn/src/arm_common/cvt_color/opr_impl.h +++ b/dnn/src/arm_common/cvt_color/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/cvt_color/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/elemwise/binary/algo.cpp b/dnn/src/arm_common/elemwise/binary/algo.cpp index e74d4e0d..93866d1b 100644 --- a/dnn/src/arm_common/elemwise/binary/algo.cpp +++ b/dnn/src/arm_common/elemwise/binary/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/binary/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/elemwise/binary/algo.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/elemwise/binary/algo.h b/dnn/src/arm_common/elemwise/binary/algo.h index 12eaa119..d270ddde 100644 --- a/dnn/src/arm_common/elemwise/binary/algo.h +++ b/dnn/src/arm_common/elemwise/binary/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/binary/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise/opr_impl.h" namespace megdnn { diff --git a/dnn/src/arm_common/elemwise/neon_mathfun.cpp b/dnn/src/arm_common/elemwise/neon_mathfun.cpp index 85324f60..04c6bd7c 100644 --- a/dnn/src/arm_common/elemwise/neon_mathfun.cpp +++ b/dnn/src/arm_common/elemwise/neon_mathfun.cpp @@ -1,21 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/neon_mathfun.cpp - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - * - * This file has been modified by Megvii ("Megvii Modifications"). - * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * - */ - /* NEON implementation of sin, cos, exp and log Inspired by Intel Approximate Math library, and based on the diff --git a/dnn/src/arm_common/elemwise/neon_mathfun.h b/dnn/src/arm_common/elemwise/neon_mathfun.h index 6cf2b9a0..22ba5d50 100644 --- a/dnn/src/arm_common/elemwise/neon_mathfun.h +++ b/dnn/src/arm_common/elemwise/neon_mathfun.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/neon_mathfun.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/elemwise/neon_util_impl_helper.h b/dnn/src/arm_common/elemwise/neon_util_impl_helper.h index 8c642968..64ef8290 100644 --- a/dnn/src/arm_common/elemwise/neon_util_impl_helper.h +++ b/dnn/src/arm_common/elemwise/neon_util_impl_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/neon_util_impl_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once /*! diff --git a/dnn/src/arm_common/elemwise/opr_impl.cpp b/dnn/src/arm_common/elemwise/opr_impl.cpp index 4a8ca5ae..e091bbd5 100644 --- a/dnn/src/arm_common/elemwise/opr_impl.cpp +++ b/dnn/src/arm_common/elemwise/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/elemwise/opr_impl.h" #include "src/arm_common/elemwise/binary/algo.h" #include "src/arm_common/elemwise/ternary/algo.h" diff --git a/dnn/src/arm_common/elemwise/opr_impl.h b/dnn/src/arm_common/elemwise/opr_impl.h index 5cfb8363..3a7b561a 100644 --- a/dnn/src/arm_common/elemwise/opr_impl.h +++ b/dnn/src/arm_common/elemwise/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/elemwise/opr_impl.h" diff --git a/dnn/src/arm_common/elemwise/ternary/algo.cpp b/dnn/src/arm_common/elemwise/ternary/algo.cpp index 5c8e675a..bd953d18 100644 --- a/dnn/src/arm_common/elemwise/ternary/algo.cpp +++ b/dnn/src/arm_common/elemwise/ternary/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/ternary/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/elemwise/ternary/algo.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/elemwise/ternary/algo.h b/dnn/src/arm_common/elemwise/ternary/algo.h index c587688d..963fd54b 100644 --- a/dnn/src/arm_common/elemwise/ternary/algo.h +++ b/dnn/src/arm_common/elemwise/ternary/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/ternary/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise/opr_impl.h" namespace megdnn { diff --git a/dnn/src/arm_common/elemwise/unary/algo.cpp b/dnn/src/arm_common/elemwise/unary/algo.cpp index 16bbac60..01337b58 100644 --- a/dnn/src/arm_common/elemwise/unary/algo.cpp +++ b/dnn/src/arm_common/elemwise/unary/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/unary/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/elemwise/unary/algo.h" #include "src/arm_common/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/arm_common/elemwise/unary/algo.h b/dnn/src/arm_common/elemwise/unary/algo.h index bcabf5cd..b8502802 100644 --- a/dnn/src/arm_common/elemwise/unary/algo.h +++ b/dnn/src/arm_common/elemwise/unary/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise/unary/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise/opr_impl.h" namespace megdnn { diff --git a/dnn/src/arm_common/elemwise_helper/elemwise_op.h b/dnn/src/arm_common/elemwise_helper/elemwise_op.h index 28b4c398..1eaed779 100644 --- a/dnn/src/arm_common/elemwise_helper/elemwise_op.h +++ b/dnn/src/arm_common/elemwise_helper/elemwise_op.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/elemwise_op.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/elemwise_helper/op_binary.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/abs.h b/dnn/src/arm_common/elemwise_helper/kimpl/abs.h index 70b3cf7e..3886b11c 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/abs.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/abs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/abs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/add.h b/dnn/src/arm_common/elemwise_helper/kimpl/add.h index c194413d..e1cf3f7d 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/add.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/add.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/add.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/exp.h b/dnn/src/arm_common/elemwise_helper/kimpl/exp.h index bd3af8b1..e724db9b 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/exp.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/exp.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/exp.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fast_tanh.h b/dnn/src/arm_common/elemwise_helper/kimpl/fast_tanh.h index 29a4e4fa..51cddd0f 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fast_tanh.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fast_tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fast_tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_h_swish.h b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_h_swish.h index b501997b..914cd889 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_h_swish.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_h_swish.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_h_swish.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_relu.h b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_relu.h index bd18d41a..0ad0c4e1 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_relu.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_relu.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_relu.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise/neon_util_impl_helper.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_sigmoid.h b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_sigmoid.h index 2f8755ae..c16a35d5 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_sigmoid.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_sigmoid.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_sigmoid.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_tanh.h b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_tanh.h index 32d42f3b..b0101e25 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_tanh.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fuse_add_tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h index 90bd1404..8b52552a 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/hswish.h b/dnn/src/arm_common/elemwise_helper/kimpl/hswish.h index 3cc94a60..8d40838d 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/hswish.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/hswish.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/hswish.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_epilogue.h b/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_epilogue.h index 6a273813..bac28253 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_epilogue.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_epilogue.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #undef H_SWISH_KERN // vim: syntax=cpp.doxygen diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h b/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h index 835e252b..20411663 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/kern_macro_prologue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #define H_SWISH_KERN(_func_suffix, _val1, _val2) \ do { \ auto val_zero = vdupq_n_##_func_suffix(0.f); \ diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/max.h b/dnn/src/arm_common/elemwise_helper/kimpl/max.h index 073f3a86..b7c35319 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/max.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/max.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/max.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/min.h b/dnn/src/arm_common/elemwise_helper/kimpl/min.h index 80bf3e0d..00d62167 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/min.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/min.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/min.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/mul.h b/dnn/src/arm_common/elemwise_helper/kimpl/mul.h index 6d9dbe48..1d212c8d 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/mul.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/mul.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/mul.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/none.h b/dnn/src/arm_common/elemwise_helper/kimpl/none.h index 06ee4765..44f08655 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/none.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/none.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/none.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/op_base.h b/dnn/src/arm_common/elemwise_helper/kimpl/op_base.h index 81317686..bd6788a6 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/op_base.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/op_base.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/op_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/relu.h b/dnn/src/arm_common/elemwise_helper/kimpl/relu.h index c8b715e0..f95de61a 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/relu.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/relu.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/relu.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h b/dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h index 06989b7b..d8b5aa0c 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/rmulh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h b/dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h index cc635b84..f180b30a 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/sigmoid.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/sub.h b/dnn/src/arm_common/elemwise_helper/kimpl/sub.h index 4ccfc273..48de7fe8 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/sub.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/sub.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/sub.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/tanh.h b/dnn/src/arm_common/elemwise_helper/kimpl/tanh.h index 13d92bec..774a7f5d 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/tanh.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/true_div.h b/dnn/src/arm_common/elemwise_helper/kimpl/true_div.h index 79fd2a65..210265df 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/true_div.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/true_div.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/true_div.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h b/dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h index a37f574a..62f57752 100644 --- a/dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h +++ b/dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/kimpl/typecvt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/arm_common/elemwise_helper/op_binary.h b/dnn/src/arm_common/elemwise_helper/op_binary.h index 3a281503..ee86b123 100644 --- a/dnn/src/arm_common/elemwise_helper/op_binary.h +++ b/dnn/src/arm_common/elemwise_helper/op_binary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/op_binary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/add.h" diff --git a/dnn/src/arm_common/elemwise_helper/op_ternary.h b/dnn/src/arm_common/elemwise_helper/op_ternary.h index 5bafadff..5d56c77a 100644 --- a/dnn/src/arm_common/elemwise_helper/op_ternary.h +++ b/dnn/src/arm_common/elemwise_helper/op_ternary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/op_ternary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/fuse_mul_add3.h" diff --git a/dnn/src/arm_common/elemwise_helper/op_unary.h b/dnn/src/arm_common/elemwise_helper/op_unary.h index 6bdf72bc..3fbb3ca6 100644 --- a/dnn/src/arm_common/elemwise_helper/op_unary.h +++ b/dnn/src/arm_common/elemwise_helper/op_unary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_helper/op_unary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/elemwise_helper/kimpl/abs.h" diff --git a/dnn/src/arm_common/elemwise_multi_type/kernels.cpp b/dnn/src/arm_common/elemwise_multi_type/kernels.cpp index 7dfa1051..1e2dfe69 100644 --- a/dnn/src/arm_common/elemwise_multi_type/kernels.cpp +++ b/dnn/src/arm_common/elemwise_multi_type/kernels.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_multi_type/kernels.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "kernels.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/elemwise_multi_type/kernels.h b/dnn/src/arm_common/elemwise_multi_type/kernels.h index 636c5c34..1aeeb5c8 100644 --- a/dnn/src/arm_common/elemwise_multi_type/kernels.h +++ b/dnn/src/arm_common/elemwise_multi_type/kernels.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_multi_type/kernels.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "stddef.h" diff --git a/dnn/src/arm_common/elemwise_multi_type/opr_impl.cpp b/dnn/src/arm_common/elemwise_multi_type/opr_impl.cpp index 2007f0b7..f0eec3c4 100644 --- a/dnn/src/arm_common/elemwise_multi_type/opr_impl.cpp +++ b/dnn/src/arm_common/elemwise_multi_type/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_multi_type/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl.h" #include "kernels.h" #include "src/common/elemwise_multi_type/kern_defs.cuh" diff --git a/dnn/src/arm_common/elemwise_multi_type/opr_impl.h b/dnn/src/arm_common/elemwise_multi_type/opr_impl.h index c3253529..2a87596c 100644 --- a/dnn/src/arm_common/elemwise_multi_type/opr_impl.h +++ b/dnn/src/arm_common/elemwise_multi_type/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/elemwise_multi_type/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/elemwise_multi_type/opr_impl.h" diff --git a/dnn/src/arm_common/handle.cpp b/dnn/src/arm_common/handle.cpp index e3e4c9df..b2c13127 100644 --- a/dnn/src/arm_common/handle.cpp +++ b/dnn/src/arm_common/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/handle_impl.h" #include "src/arm_common/handle.h" diff --git a/dnn/src/arm_common/handle.h b/dnn/src/arm_common/handle.h index 701b1255..4f917005 100644 --- a/dnn/src/arm_common/handle.h +++ b/dnn/src/arm_common/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/handle.h" #if MGB_ENABLE_CPUINFO diff --git a/dnn/src/arm_common/intrinsic_helper.h b/dnn/src/arm_common/intrinsic_helper.h index bb67f044..894b924c 100644 --- a/dnn/src/arm_common/intrinsic_helper.h +++ b/dnn/src/arm_common/intrinsic_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/intrinsic_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/neon_struct.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/local/opr_impl.cpp b/dnn/src/arm_common/local/opr_impl.cpp index 9f596ee0..a45d45fb 100644 --- a/dnn/src/arm_common/local/opr_impl.cpp +++ b/dnn/src/arm_common/local/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/local/opr_impl.h" #include diff --git a/dnn/src/arm_common/local/opr_impl.h b/dnn/src/arm_common/local/opr_impl.h index 44a0b46f..c849dcd7 100644 --- a/dnn/src/arm_common/local/opr_impl.h +++ b/dnn/src/arm_common/local/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/naive/local/opr_impl.h" diff --git a/dnn/src/arm_common/lstm/lstm_utils.cpp b/dnn/src/arm_common/lstm/lstm_utils.cpp index de47b56e..ff72ac37 100644 --- a/dnn/src/arm_common/lstm/lstm_utils.cpp +++ b/dnn/src/arm_common/lstm/lstm_utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm/lstm_utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./lstm_utils.h" #include "src/arm_common/lstm/opr_impl.h" #include "src/arm_common/lstm_cell/cell_kernel.h" diff --git a/dnn/src/arm_common/lstm/lstm_utils.h b/dnn/src/arm_common/lstm/lstm_utils.h index 4eb3c1e0..d9464c55 100644 --- a/dnn/src/arm_common/lstm/lstm_utils.h +++ b/dnn/src/arm_common/lstm/lstm_utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm/lstm_utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/lstm_cell/cell_kernel.h" diff --git a/dnn/src/arm_common/lstm/opr_impl.cpp b/dnn/src/arm_common/lstm/opr_impl.cpp index 4bd87381..ad8eb030 100644 --- a/dnn/src/arm_common/lstm/opr_impl.cpp +++ b/dnn/src/arm_common/lstm/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/lstm/opr_impl.h" #include "./lstm_utils.h" #include "src/arm_common/lstm_cell/opr_impl.h" diff --git a/dnn/src/arm_common/lstm/opr_impl.h b/dnn/src/arm_common/lstm/opr_impl.h index 33489934..1e15d84b 100644 --- a/dnn/src/arm_common/lstm/opr_impl.h +++ b/dnn/src/arm_common/lstm/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/lstm_cell/cell_kernel.cpp b/dnn/src/arm_common/lstm_cell/cell_kernel.cpp index a177e98f..ea15f0bd 100644 --- a/dnn/src/arm_common/lstm_cell/cell_kernel.cpp +++ b/dnn/src/arm_common/lstm_cell/cell_kernel.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm_cell/cell_kernel.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cell_kernel.h" #include "src/arm_common/lstm_cell/opr_impl.h" #include "src/common/lstm_cell.h" diff --git a/dnn/src/arm_common/lstm_cell/cell_kernel.h b/dnn/src/arm_common/lstm_cell/cell_kernel.h index ea2dca29..6c3e2600 100644 --- a/dnn/src/arm_common/lstm_cell/cell_kernel.h +++ b/dnn/src/arm_common/lstm_cell/cell_kernel.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm_cell/cell_kernel.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/lstm_cell/opr_impl.cpp b/dnn/src/arm_common/lstm_cell/opr_impl.cpp index 29bcdc68..ccd8512c 100644 --- a/dnn/src/arm_common/lstm_cell/opr_impl.cpp +++ b/dnn/src/arm_common/lstm_cell/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm_cell/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/lstm_cell/opr_impl.h" #include "src/common/lstm_cell.h" #include "src/naive/handle.h" diff --git a/dnn/src/arm_common/lstm_cell/opr_impl.h b/dnn/src/arm_common/lstm_cell/opr_impl.h index fbc3d693..5fda934c 100644 --- a/dnn/src/arm_common/lstm_cell/opr_impl.h +++ b/dnn/src/arm_common/lstm_cell/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/lstm_cell/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/matrix_mul/algos.cpp b/dnn/src/arm_common/matrix_mul/algos.cpp index d939a252..0702c5fa 100644 --- a/dnn/src/arm_common/matrix_mul/algos.cpp +++ b/dnn/src/arm_common/matrix_mul/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/matrix_mul/algos.h" #include "src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h" #include "src/arm_common/matrix_mul/fp16/hgemv.h" diff --git a/dnn/src/arm_common/matrix_mul/algos.h b/dnn/src/arm_common/matrix_mul/algos.h index a3ab3e3e..5e39b043 100644 --- a/dnn/src/arm_common/matrix_mul/algos.h +++ b/dnn/src/arm_common/matrix_mul/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/arm_common/matrix_mul/opr_impl.h" diff --git a/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.cpp b/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.cpp index d02dbda1..805c93a3 100644 --- a/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.cpp +++ b/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h b/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h index 79ecb96e..144cb665 100644 --- a/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h +++ b/dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/exec_gemm_int8_int8_int16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp b/dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp index 5d0c02f0..391cc9f8 100644 --- a/dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp +++ b/dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/fp16/hgemv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC #include "src/arm_common/matrix_mul/fp16/hgemv.h" diff --git a/dnn/src/arm_common/matrix_mul/fp16/hgemv.h b/dnn/src/arm_common/matrix_mul/fp16/hgemv.h index 4cdebcaa..6c87be9e 100644 --- a/dnn/src/arm_common/matrix_mul/fp16/hgemv.h +++ b/dnn/src/arm_common/matrix_mul/fp16/hgemv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/fp16/hgemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp b/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp index 4187351c..d949bec1 100644 --- a/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp +++ b/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/matrix_mul/fp32/exec_sgemv.h" #include #include "include/megdnn/oprs.h" diff --git a/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h b/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h index a6e46d5f..e6a381f7 100644 --- a/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h +++ b/dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/fp32/exec_sgemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/arm_common/matrix_mul/int8/gemv.cpp b/dnn/src/arm_common/matrix_mul/int8/gemv.cpp index affe114b..7588c6b4 100644 --- a/dnn/src/arm_common/matrix_mul/int8/gemv.cpp +++ b/dnn/src/arm_common/matrix_mul/int8/gemv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/int8/gemv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/matrix_mul/int8/gemv.h b/dnn/src/arm_common/matrix_mul/int8/gemv.h index 1d92648a..9b8d3efc 100644 --- a/dnn/src/arm_common/matrix_mul/int8/gemv.h +++ b/dnn/src/arm_common/matrix_mul/int8/gemv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/int8/gemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/arm_common/matrix_mul/opr_impl.cpp b/dnn/src/arm_common/matrix_mul/opr_impl.cpp index 4d3bfb1c..ccd5f4fb 100644 --- a/dnn/src/arm_common/matrix_mul/opr_impl.cpp +++ b/dnn/src/arm_common/matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/matrix_mul/opr_impl.h" #include "src/arm_common/matrix_mul/algos.h" #include "src/common/metahelper.h" diff --git a/dnn/src/arm_common/matrix_mul/opr_impl.h b/dnn/src/arm_common/matrix_mul/opr_impl.h index e2a3c68c..50676703 100644 --- a/dnn/src/arm_common/matrix_mul/opr_impl.h +++ b/dnn/src/arm_common/matrix_mul/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/algo_base.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/neon_struct.h b/dnn/src/arm_common/neon_struct.h index 98eca959..c5aeff38 100644 --- a/dnn/src/arm_common/neon_struct.h +++ b/dnn/src/arm_common/neon_struct.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/neon_struct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/pooling/algo.cpp b/dnn/src/arm_common/pooling/algo.cpp index 201d2172..7cbe7bc3 100644 --- a/dnn/src/arm_common/pooling/algo.cpp +++ b/dnn/src/arm_common/pooling/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/algo.h" #include "megdnn/opr_param_defs.h" #include "src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h" diff --git a/dnn/src/arm_common/pooling/algo.h b/dnn/src/arm_common/pooling/algo.h index 5952af95..d96847e7 100644 --- a/dnn/src/arm_common/pooling/algo.h +++ b/dnn/src/arm_common/pooling/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/pooling/opr_impl.h" #include "src/arm_common/pooling/pooling_helper.h" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.cpp b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.cpp index 8f587c72..2152609f 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.cpp +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/simd_macro/neon_helper.h" #include "src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h index e5c877f6..5cecfe00 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/simd_macro/neon_helper.h" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.cpp b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.cpp index 2de5f8e8..4e1ef3fb 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.cpp +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h" #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h index 967f61e2..0a29b45e 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.cpp b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.cpp index 6da5e5c8..51783ac3 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.cpp +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h" #include diff --git a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h index 3dc23913..06824e3c 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h +++ b/dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_3x3_s2x2_int8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.cpp b/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.cpp index 4efc0ea6..eb86b28d 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.cpp +++ b/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h" #include "src/arm_common/pooling/pooling_helper.h" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h b/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h index c798be38..6f04df09 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h +++ b/dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_w2x2_s2x2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/pooling/opr_impl.h" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.cpp b/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.cpp index 5cac9ccd..2a96afab 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.cpp +++ b/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h" #include "src/arm_common/pooling/pooling_helper.h" diff --git a/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h b/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h index 396ea047..e00c359d 100644 --- a/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h +++ b/dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_w4x4_s2x2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/pooling/opr_impl.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.cpp b/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.cpp index a2cec33c..2b378f84 100644 --- a/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.cpp +++ b/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_pooling_2x2_nchw44.h" #include "src/arm_common/pooling/algo.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h b/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h index ae2474a9..ea906b19 100644 --- a/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h +++ b/dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_2x2_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.cpp b/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.cpp index f5bafa9f..356ab439 100644 --- a/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.cpp +++ b/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_pooling_3x3_nchw44.h" #include "src/arm_common/pooling/algo.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h b/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h index 200d67b8..cf914bf1 100644 --- a/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h +++ b/dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_3x3_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.cpp b/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.cpp index be340839..babe59f7 100644 --- a/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.cpp +++ b/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_max_pooling_4x4_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_pooling_4x4_nchw44.h" #include "src/arm_common/pooling/algo.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h b/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h index 9fc7025d..774b4bc4 100644 --- a/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h +++ b/dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_4x4_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.cpp b/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.cpp index 0a07ca19..aa89575e 100644 --- a/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.cpp +++ b/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/do_pooling_5x5_nchw44.h" #include "src/arm_common/pooling/algo.h" #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.h b/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.h index d8405904..becdc0d8 100644 --- a/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.h +++ b/dnn/src/arm_common/pooling/do_pooling_5x5_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/do__pooling_5x5_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/arm_common/pooling/kern_fp32_pooling_nchw44.h b/dnn/src/arm_common/pooling/kern_fp32_pooling_nchw44.h index b03942e3..ab24adc8 100644 --- a/dnn/src/arm_common/pooling/kern_fp32_pooling_nchw44.h +++ b/dnn/src/arm_common/pooling/kern_fp32_pooling_nchw44.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/kern_fp32_pooling_nchw44.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/opr_param_defs.h" diff --git a/dnn/src/arm_common/pooling/opr_impl.cpp b/dnn/src/arm_common/pooling/opr_impl.cpp index 992b7b37..6e121863 100644 --- a/dnn/src/arm_common/pooling/opr_impl.cpp +++ b/dnn/src/arm_common/pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/arm_common/pooling/opr_impl.h" #include "src/arm_common/pooling/algo.h" #include "src/common/algo_chooser.h" diff --git a/dnn/src/arm_common/pooling/opr_impl.h b/dnn/src/arm_common/pooling/opr_impl.h index 1715fcd3..0b6b862d 100644 --- a/dnn/src/arm_common/pooling/opr_impl.h +++ b/dnn/src/arm_common/pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/oprs/base.h" diff --git a/dnn/src/arm_common/pooling/pooling_helper.h b/dnn/src/arm_common/pooling/pooling_helper.h index 0cf38c85..d62be9a9 100644 --- a/dnn/src/arm_common/pooling/pooling_helper.h +++ b/dnn/src/arm_common/pooling/pooling_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/pooling/pooling_hleper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/dtype.h" #include "src/arm_common/pooling/do_max_pooling_3x3_s2x2_float.h" #include "src/arm_common/pooling/do_max_pooling_3x3_s2x2_float16.h" diff --git a/dnn/src/arm_common/quantized_converter.h b/dnn/src/arm_common/quantized_converter.h index 84bde87a..60845ec1 100644 --- a/dnn/src/arm_common/quantized_converter.h +++ b/dnn/src/arm_common/quantized_converter.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/quantized_converter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/arm_common/reduce/opr_impl.cpp b/dnn/src/arm_common/reduce/opr_impl.cpp index b5e73c37..40ac0e6c 100644 --- a/dnn/src/arm_common/reduce/opr_impl.cpp +++ b/dnn/src/arm_common/reduce/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/reduce/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/reduce/opr_impl.h" #include diff --git a/dnn/src/arm_common/reduce/opr_impl.h b/dnn/src/arm_common/reduce/opr_impl.h index 5b2e3bc4..4f7d4189 100644 --- a/dnn/src/arm_common/reduce/opr_impl.h +++ b/dnn/src/arm_common/reduce/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/reduce/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/reduce/opr_impl.h" diff --git a/dnn/src/arm_common/resize/direct_nchwxx.cpp b/dnn/src/arm_common/resize/direct_nchwxx.cpp index 6a212977..e54424b1 100644 --- a/dnn/src/arm_common/resize/direct_nchwxx.cpp +++ b/dnn/src/arm_common/resize/direct_nchwxx.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/direct_nchwxx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/resize/direct_nchwxx.h" #include "src/arm_common/resize/helper.h" diff --git a/dnn/src/arm_common/resize/direct_nchwxx.h b/dnn/src/arm_common/resize/direct_nchwxx.h index 317629e0..5a07cf2d 100644 --- a/dnn/src/arm_common/resize/direct_nchwxx.h +++ b/dnn/src/arm_common/resize/direct_nchwxx.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/direct_nchwxx.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/resize/opr_impl.h" diff --git a/dnn/src/arm_common/resize/helper.h b/dnn/src/arm_common/resize/helper.h index 29eb1ad5..984238ad 100644 --- a/dnn/src/arm_common/resize/helper.h +++ b/dnn/src/arm_common/resize/helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/resize/opr_impl.cpp b/dnn/src/arm_common/resize/opr_impl.cpp index df837690..725b6583 100644 --- a/dnn/src/arm_common/resize/opr_impl.cpp +++ b/dnn/src/arm_common/resize/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/resize/opr_impl.h" #include "src/arm_common/handle.h" #include "src/arm_common/resize/direct_nchwxx.h" diff --git a/dnn/src/arm_common/resize/opr_impl.h b/dnn/src/arm_common/resize/opr_impl.h index 58983426..b70d1487 100644 --- a/dnn/src/arm_common/resize/opr_impl.h +++ b/dnn/src/arm_common/resize/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/resize/opr_impl.h" diff --git a/dnn/src/arm_common/resize/resize_cv.h b/dnn/src/arm_common/resize/resize_cv.h index 7c8cc19f..d2bc530c 100644 --- a/dnn/src/arm_common/resize/resize_cv.h +++ b/dnn/src/arm_common/resize/resize_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/resize_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/arm_common/resize/upsample2_nchw.cpp b/dnn/src/arm_common/resize/upsample2_nchw.cpp index 40d26470..278ef16d 100644 --- a/dnn/src/arm_common/resize/upsample2_nchw.cpp +++ b/dnn/src/arm_common/resize/upsample2_nchw.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/upsample2_nchw.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/resize/upsample2_nchw.h" #include "src/arm_common/resize/helper.h" diff --git a/dnn/src/arm_common/resize/upsample2_nchw.h b/dnn/src/arm_common/resize/upsample2_nchw.h index 0bc83920..3117a065 100644 --- a/dnn/src/arm_common/resize/upsample2_nchw.h +++ b/dnn/src/arm_common/resize/upsample2_nchw.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/upsample2_nchw.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/resize/opr_impl.h" diff --git a/dnn/src/arm_common/resize/upsample2_nchwxx.cpp b/dnn/src/arm_common/resize/upsample2_nchwxx.cpp index 59a4b18b..5d635bfd 100644 --- a/dnn/src/arm_common/resize/upsample2_nchwxx.cpp +++ b/dnn/src/arm_common/resize/upsample2_nchwxx.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/upsample2_nchwxx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/resize/upsample2_nchwxx.h" #include "src/arm_common/resize/helper.h" diff --git a/dnn/src/arm_common/resize/upsample2_nchwxx.h b/dnn/src/arm_common/resize/upsample2_nchwxx.h index 22e3fdbc..6971a842 100644 --- a/dnn/src/arm_common/resize/upsample2_nchwxx.h +++ b/dnn/src/arm_common/resize/upsample2_nchwxx.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/arm_common/resize/upsample2_nchwxx.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/resize/opr_impl.h" diff --git a/dnn/src/arm_common/rnn_cell/opr_impl.cpp b/dnn/src/arm_common/rnn_cell/opr_impl.cpp index 74c4ea84..321bcb4c 100644 --- a/dnn/src/arm_common/rnn_cell/opr_impl.cpp +++ b/dnn/src/arm_common/rnn_cell/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/rnn_cell/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/rnn_cell/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/arm_common/rnn_cell/opr_impl.h b/dnn/src/arm_common/rnn_cell/opr_impl.h index 4fd147ff..384ec662 100644 --- a/dnn/src/arm_common/rnn_cell/opr_impl.h +++ b/dnn/src/arm_common/rnn_cell/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/rnn_cell/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/opr_delegate.h" #include "src/naive/rnn_cell/opr_impl.h" diff --git a/dnn/src/arm_common/separable_conv/opr_impl.cpp b/dnn/src/arm_common/separable_conv/opr_impl.cpp index fa11a3ee..f59a4b69 100644 --- a/dnn/src/arm_common/separable_conv/opr_impl.cpp +++ b/dnn/src/arm_common/separable_conv/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/separable_conv/opr_impl.h" #include "./sep_conv_filter.h" #include "src/common/utils.h" diff --git a/dnn/src/arm_common/separable_conv/opr_impl.h b/dnn/src/arm_common/separable_conv/opr_impl.h index 37eef2eb..51947c26 100644 --- a/dnn/src/arm_common/separable_conv/opr_impl.h +++ b/dnn/src/arm_common/separable_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./sep_conv_filter.h" #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/separable_conv/sep_conv_common.h b/dnn/src/arm_common/separable_conv/sep_conv_common.h index 18b53534..3956da96 100644 --- a/dnn/src/arm_common/separable_conv/sep_conv_common.h +++ b/dnn/src/arm_common/separable_conv/sep_conv_common.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_conv/sep_conv_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/arm_common/separable_conv/sep_conv_filter.h b/dnn/src/arm_common/separable_conv/sep_conv_filter.h index b49aaa2c..83da8bda 100644 --- a/dnn/src/arm_common/separable_conv/sep_conv_filter.h +++ b/dnn/src/arm_common/separable_conv/sep_conv_filter.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_conv/sep_conv_filter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./sep_conv_common.h" #include "src/common/utils.h" #pragma once diff --git a/dnn/src/arm_common/separable_conv/sep_conv_filter_engine.cpp b/dnn/src/arm_common/separable_conv/sep_conv_filter_engine.cpp index 13f09cf7..12caea86 100644 --- a/dnn/src/arm_common/separable_conv/sep_conv_filter_engine.cpp +++ b/dnn/src/arm_common/separable_conv/sep_conv_filter_engine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_conv/sep_conv_filter_engine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./sep_conv_filter.h" #include diff --git a/dnn/src/arm_common/separable_filter/opr_impl.h b/dnn/src/arm_common/separable_filter/opr_impl.h index 0f74018d..03306044 100644 --- a/dnn/src/arm_common/separable_filter/opr_impl.h +++ b/dnn/src/arm_common/separable_filter/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/separable_filter/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" namespace megdnn { diff --git a/dnn/src/arm_common/simd_macro/marm_neon.cpp b/dnn/src/arm_common/simd_macro/marm_neon.cpp index 5fedb82b..41ef407d 100644 --- a/dnn/src/arm_common/simd_macro/marm_neon.cpp +++ b/dnn/src/arm_common/simd_macro/marm_neon.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/simd_macro/marm_neon.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #pragma message \ diff --git a/dnn/src/arm_common/simd_macro/marm_neon.h b/dnn/src/arm_common/simd_macro/marm_neon.h index c04bb85d..2f90eebe 100644 --- a/dnn/src/arm_common/simd_macro/marm_neon.h +++ b/dnn/src/arm_common/simd_macro/marm_neon.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/simd_macro/marm_neon.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/arm_common/simd_macro/neon_helper.h b/dnn/src/arm_common/simd_macro/neon_helper.h index 759198a5..350d7371 100644 --- a/dnn/src/arm_common/simd_macro/neon_helper.h +++ b/dnn/src/arm_common/simd_macro/neon_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/simd_macro/neon_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/simd_macro/marm_neon.h" #define MEGDNN_SIMD_NAME NEON diff --git a/dnn/src/arm_common/simd_macro/neon_helper_epilogue.h b/dnn/src/arm_common/simd_macro/neon_helper_epilogue.h index 816a2a54..8f62bef0 100644 --- a/dnn/src/arm_common/simd_macro/neon_helper_epilogue.h +++ b/dnn/src/arm_common/simd_macro/neon_helper_epilogue.h @@ -1,11 +1 @@ -/** - * \file dnn/src/arm_common/simd_macro/neon_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/simd_macro/epilogue.h" diff --git a/dnn/src/arm_common/simd_macro/neon_helper_fp16.h b/dnn/src/arm_common/simd_macro/neon_helper_fp16.h index 6be60bdd..a4333b03 100644 --- a/dnn/src/arm_common/simd_macro/neon_helper_fp16.h +++ b/dnn/src/arm_common/simd_macro/neon_helper_fp16.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/simd_macro/neon_helper_fp16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/simd_macro/marm_neon.h" #if __ARM_FEATURE_FP16_VECTOR_ARITHMETIC diff --git a/dnn/src/arm_common/type_cvt/opr_impl.cpp b/dnn/src/arm_common/type_cvt/opr_impl.cpp index dadf87ce..f79f329b 100644 --- a/dnn/src/arm_common/type_cvt/opr_impl.cpp +++ b/dnn/src/arm_common/type_cvt/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/type_cvt/opr_impl.h" #include diff --git a/dnn/src/arm_common/type_cvt/opr_impl.h b/dnn/src/arm_common/type_cvt/opr_impl.h index eaa58da0..84826ffa 100644 --- a/dnn/src/arm_common/type_cvt/opr_impl.h +++ b/dnn/src/arm_common/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/type_cvt/opr_impl.h" diff --git a/dnn/src/arm_common/utils.cpp b/dnn/src/arm_common/utils.cpp index a629847d..91fd9722 100644 --- a/dnn/src/arm_common/utils.cpp +++ b/dnn/src/arm_common/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/arm_common/utils.h b/dnn/src/arm_common/utils.h index 5b6f01cc..f2226678 100644 --- a/dnn/src/arm_common/utils.h +++ b/dnn/src/arm_common/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/arm_common/warp_affine/opr_impl.cpp b/dnn/src/arm_common/warp_affine/opr_impl.cpp index 06ab19d4..32b2e8bc 100644 --- a/dnn/src/arm_common/warp_affine/opr_impl.cpp +++ b/dnn/src/arm_common/warp_affine/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_affine/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/warp_affine/opr_impl.h" #include "src/arm_common/handle.h" #include "src/arm_common/warp_affine/warp_affine_cv.h" diff --git a/dnn/src/arm_common/warp_affine/opr_impl.h b/dnn/src/arm_common/warp_affine/opr_impl.h index 39ad8205..20be772d 100644 --- a/dnn/src/arm_common/warp_affine/opr_impl.h +++ b/dnn/src/arm_common/warp_affine/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_affine/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/warp_affine/opr_impl.h" diff --git a/dnn/src/arm_common/warp_affine/warp_affine_cv.h b/dnn/src/arm_common/warp_affine/warp_affine_cv.h index 9881600c..d346d303 100644 --- a/dnn/src/arm_common/warp_affine/warp_affine_cv.h +++ b/dnn/src/arm_common/warp_affine/warp_affine_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_affine/warp_affine_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/arm_common/warp_perspective/opr_impl.cpp b/dnn/src/arm_common/warp_perspective/opr_impl.cpp index 857021a3..2b33999a 100644 --- a/dnn/src/arm_common/warp_perspective/opr_impl.cpp +++ b/dnn/src/arm_common/warp_perspective/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_perspective/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/arm_common/warp_perspective/opr_impl.h" #include "src/arm_common/warp_perspective/warp_perspective_cv.h" diff --git a/dnn/src/arm_common/warp_perspective/opr_impl.h b/dnn/src/arm_common/warp_perspective/opr_impl.h index 865603bf..64d31543 100644 --- a/dnn/src/arm_common/warp_perspective/opr_impl.h +++ b/dnn/src/arm_common/warp_perspective/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/warp_perspective/opr_impl.h" diff --git a/dnn/src/arm_common/warp_perspective/warp_perspective_cv.h b/dnn/src/arm_common/warp_perspective/warp_perspective_cv.h index a0777dcd..2921e123 100644 --- a/dnn/src/arm_common/warp_perspective/warp_perspective_cv.h +++ b/dnn/src/arm_common/warp_perspective/warp_perspective_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/warp_perspective/warp_perspective_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/armv7/conv_bias/int8/algos.cpp b/dnn/src/armv7/conv_bias/int8/algos.cpp index 0ccaab89..f7a515f2 100644 --- a/dnn/src/armv7/conv_bias/int8/algos.cpp +++ b/dnn/src/armv7/conv_bias/int8/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/int8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/conv_bias/int8/algos.h" #include "src/arm_common/convolution/img2col_helper.h" #include "src/armv7/conv_bias/int8/strategy.h" diff --git a/dnn/src/armv7/conv_bias/int8/algos.h b/dnn/src/armv7/conv_bias/int8/algos.h index 39667f02..2dbc3e15 100644 --- a/dnn/src/armv7/conv_bias/int8/algos.h +++ b/dnn/src/armv7/conv_bias/int8/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/int8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/armv7/conv_bias/opr_impl.h" diff --git a/dnn/src/armv7/conv_bias/int8/strategy.cpp b/dnn/src/armv7/conv_bias/int8/strategy.cpp index 8ec5555b..605e3844 100644 --- a/dnn/src/armv7/conv_bias/int8/strategy.cpp +++ b/dnn/src/armv7/conv_bias/int8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/int8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/conv_bias/int8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/conv_bias/int8/strategy.h b/dnn/src/armv7/conv_bias/int8/strategy.h index 0c8722c0..e8c650f6 100644 --- a/dnn/src/armv7/conv_bias/int8/strategy.h +++ b/dnn/src/armv7/conv_bias/int8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/conv_bias/opr_impl.cpp b/dnn/src/armv7/conv_bias/opr_impl.cpp index caaadec0..949658af 100644 --- a/dnn/src/armv7/conv_bias/opr_impl.cpp +++ b/dnn/src/armv7/conv_bias/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/conv_bias/opr_impl.h" #include "src/armv7/conv_bias/int8/algos.h" #include "src/armv7/conv_bias/quint8/algos.h" diff --git a/dnn/src/armv7/conv_bias/opr_impl.h b/dnn/src/armv7/conv_bias/opr_impl.h index cfc6ee14..eaf0c232 100644 --- a/dnn/src/armv7/conv_bias/opr_impl.h +++ b/dnn/src/armv7/conv_bias/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/conv_bias/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/armv7/conv_bias/quint8/algos.cpp b/dnn/src/armv7/conv_bias/quint8/algos.cpp index c0a1c8bd..4ff6d739 100644 --- a/dnn/src/armv7/conv_bias/quint8/algos.cpp +++ b/dnn/src/armv7/conv_bias/quint8/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/quint8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/conv_bias/quint8/algos.h" #include "src/arm_common/convolution/img2col_helper.h" #include "src/armv7/conv_bias/quint8/strategy.h" diff --git a/dnn/src/armv7/conv_bias/quint8/algos.h b/dnn/src/armv7/conv_bias/quint8/algos.h index 8238f4ff..3b9b6ab8 100644 --- a/dnn/src/armv7/conv_bias/quint8/algos.h +++ b/dnn/src/armv7/conv_bias/quint8/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/quint8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/armv7/conv_bias/opr_impl.h" diff --git a/dnn/src/armv7/conv_bias/quint8/strategy.cpp b/dnn/src/armv7/conv_bias/quint8/strategy.cpp index bb00a1e8..d3e2927a 100644 --- a/dnn/src/armv7/conv_bias/quint8/strategy.cpp +++ b/dnn/src/armv7/conv_bias/quint8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/quint8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/conv_bias/quint8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/conv_bias/quint8/strategy.h b/dnn/src/armv7/conv_bias/quint8/strategy.h index 8146388f..777a86ac 100644 --- a/dnn/src/armv7/conv_bias/quint8/strategy.h +++ b/dnn/src/armv7/conv_bias/quint8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/conv_bias/quint8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/handle.cpp b/dnn/src/armv7/handle.cpp index 8a624729..d7558837 100644 --- a/dnn/src/armv7/handle.cpp +++ b/dnn/src/armv7/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/handle_impl.h" #include "src/armv7/handle.h" diff --git a/dnn/src/armv7/handle.h b/dnn/src/armv7/handle.h index 3e724088..4ead2d7d 100644 --- a/dnn/src/armv7/handle.h +++ b/dnn/src/armv7/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/arm_common/handle.h" diff --git a/dnn/src/armv7/matrix_mul/algos.cpp b/dnn/src/armv7/matrix_mul/algos.cpp index 5f395297..cb04cedd 100644 --- a/dnn/src/armv7/matrix_mul/algos.cpp +++ b/dnn/src/armv7/matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/armv7/matrix_mul/algos.h" #include "src/armv7/matrix_mul/fp16/strategy.h" #include "src/armv7/matrix_mul/fp32/strategy.h" diff --git a/dnn/src/armv7/matrix_mul/algos.h b/dnn/src/armv7/matrix_mul/algos.h index 7ccb9cd8..1b57595e 100644 --- a/dnn/src/armv7/matrix_mul/algos.h +++ b/dnn/src/armv7/matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/arm_common/matrix_mul/algos.h" diff --git a/dnn/src/armv7/matrix_mul/asm/common.h b/dnn/src/armv7/matrix_mul/asm/common.h index ab654462..6a55d94a 100644 --- a/dnn/src/armv7/matrix_mul/asm/common.h +++ b/dnn/src/armv7/matrix_mul/asm/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/asm/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include diff --git a/dnn/src/armv7/matrix_mul/fp16/strategy.cpp b/dnn/src/armv7/matrix_mul/fp16/strategy.cpp index 25540336..0e678208 100644 --- a/dnn/src/armv7/matrix_mul/fp16/strategy.cpp +++ b/dnn/src/armv7/matrix_mul/fp16/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/matrix_mul/fp16/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/fp16/strategy.h b/dnn/src/armv7/matrix_mul/fp16/strategy.h index a45def79..eceb315a 100644 --- a/dnn/src/armv7/matrix_mul/fp16/strategy.h +++ b/dnn/src/armv7/matrix_mul/fp16/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp b/dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp index 9c19173b..53387548 100644 --- a/dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp +++ b/dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp16/strategy_mk8_4x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" #include "src/armv7/matrix_mul/fp16/strategy.h" diff --git a/dnn/src/armv7/matrix_mul/fp32/strategy.h b/dnn/src/armv7/matrix_mul/fp32/strategy.h index 16c170c4..7fcf8c5a 100644 --- a/dnn/src/armv7/matrix_mul/fp32/strategy.h +++ b/dnn/src/armv7/matrix_mul/fp32/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp b/dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp index ec21f210..bfc9e8a4 100644 --- a/dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp +++ b/dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp32/strategy_4x12.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/armv7/matrix_mul/asm/common.h" #include "src/armv7/matrix_mul/fp32/strategy.h" #include "src/common/utils.h" diff --git a/dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp b/dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp index 6dc6f290..7a844e78 100644 --- a/dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp +++ b/dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp32/strategy_mk4_4x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" #include "src/armv7/matrix_mul/fp32/strategy.h" diff --git a/dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp b/dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp index 1908c730..bdd3cb43 100644 --- a/dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp +++ b/dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/fp32/strategy_mk_4x12.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" #include "src/armv7/matrix_mul/fp32/strategy.h" diff --git a/dnn/src/armv7/matrix_mul/int16x16x32/kernel_12x4x1.h b/dnn/src/armv7/matrix_mul/int16x16x32/kernel_12x4x1.h index 6b3ff057..61d67912 100644 --- a/dnn/src/armv7/matrix_mul/int16x16x32/kernel_12x4x1.h +++ b/dnn/src/armv7/matrix_mul/int16x16x32/kernel_12x4x1.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int16x16x32/kernel_12x4x1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp b/dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp index de4b7b36..b1bfe377 100644 --- a/dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp +++ b/dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int16x16x32/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/matrix_mul/int16x16x32/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int16x16x32/strategy.h b/dnn/src/armv7/matrix_mul/int16x16x32/strategy.h index bafba13c..80c9ddb7 100644 --- a/dnn/src/armv7/matrix_mul/int16x16x32/strategy.h +++ b/dnn/src/armv7/matrix_mul/int16x16x32/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int16x16x32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/matrix_mul/int16x16x32/strategy_mk8_4x8.cpp b/dnn/src/armv7/matrix_mul/int16x16x32/strategy_mk8_4x8.cpp index e4361aa2..82416568 100644 --- a/dnn/src/armv7/matrix_mul/int16x16x32/strategy_mk8_4x8.cpp +++ b/dnn/src/armv7/matrix_mul/int16x16x32/strategy_mk8_4x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int16x16x32/strategy_mk8_4x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" #include "src/armv7/matrix_mul/int16x16x32/strategy.h" diff --git a/dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h b/dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h index ce3772b9..5e09d39e 100644 --- a/dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h +++ b/dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/kernel_4x2x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h b/dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h index a58f3ed1..fb93087b 100644 --- a/dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h +++ b/dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/kernel_4x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h b/dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h index da41ebbf..26740840 100644 --- a/dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h +++ b/dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/kernel_6x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h b/dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h index 10985f91..386ada9d 100644 --- a/dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h +++ b/dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/kernel_mk4_4x2x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h b/dnn/src/armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h index d7cf8c4a..a7cf46e1 100644 --- a/dnn/src/armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h +++ b/dnn/src/armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/kernel_mk4_dot_8x4x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/armv7/matrix_mul/int8/strategy.cpp b/dnn/src/armv7/matrix_mul/int8/strategy.cpp index 2d84f6aa..792de501 100644 --- a/dnn/src/armv7/matrix_mul/int8/strategy.cpp +++ b/dnn/src/armv7/matrix_mul/int8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/matrix_mul/int8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8/strategy.h b/dnn/src/armv7/matrix_mul/int8/strategy.h index e76ff43f..b5d459c5 100644 --- a/dnn/src/armv7/matrix_mul/int8/strategy.h +++ b/dnn/src/armv7/matrix_mul/int8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h index 8df761ec..f1f3a24c 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h +++ b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x2x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h index 2b42d4ca..626328a9 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h +++ b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_4x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h index b0ba5c76..03fd1729 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h +++ b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_8x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h index 5e0c6eb8..4caeb06f 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h +++ b/dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/kernel_mk4_8x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp b/dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp index 0a840eac..17c59aa4 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp +++ b/dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/armv7/matrix_mul/int8x8x16/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/int8x8x16/strategy.h b/dnn/src/armv7/matrix_mul/int8x8x16/strategy.h index 55820b06..1ce335a2 100644 --- a/dnn/src/armv7/matrix_mul/int8x8x16/strategy.h +++ b/dnn/src/armv7/matrix_mul/int8x8x16/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/int8x8x16/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/matrix_mul/opr_impl.cpp b/dnn/src/armv7/matrix_mul/opr_impl.cpp index bfb1fe72..b463d33d 100644 --- a/dnn/src/armv7/matrix_mul/opr_impl.cpp +++ b/dnn/src/armv7/matrix_mul/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/armv7/matrix_mul/opr_impl.h" #include "src/armv7/matrix_mul/algos.h" #include "src/common/metahelper.h" diff --git a/dnn/src/armv7/matrix_mul/opr_impl.h b/dnn/src/armv7/matrix_mul/opr_impl.h index 7068f6bb..3c149760 100644 --- a/dnn/src/armv7/matrix_mul/opr_impl.h +++ b/dnn/src/armv7/matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/arm_common/matrix_mul/opr_impl.h" diff --git a/dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h b/dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h index ba54a223..02214d08 100644 --- a/dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h +++ b/dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/quint8/kernel_4x8x8.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h b/dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h index a6307cca..f0641372 100644 --- a/dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h +++ b/dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/quint8/kernel_dot_4x8x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MGB_ENABLE_DOT #include "src/arm_common/simd_macro/marm_neon.h" diff --git a/dnn/src/armv7/matrix_mul/quint8/strategy.cpp b/dnn/src/armv7/matrix_mul/quint8/strategy.cpp index edce5f87..334d586c 100644 --- a/dnn/src/armv7/matrix_mul/quint8/strategy.cpp +++ b/dnn/src/armv7/matrix_mul/quint8/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/quint8/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/armv7/matrix_mul/quint8/strategy.h" #include "src/arm_common/simd_macro/marm_neon.h" #include "src/armv7/matrix_mul/asm/common.h" diff --git a/dnn/src/armv7/matrix_mul/quint8/strategy.h b/dnn/src/armv7/matrix_mul/quint8/strategy.h index 2b5ac19d..fd7df6c9 100644 --- a/dnn/src/armv7/matrix_mul/quint8/strategy.h +++ b/dnn/src/armv7/matrix_mul/quint8/strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/matrix_mul/quint8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/armv7/relayout/opr_impl.cpp b/dnn/src/armv7/relayout/opr_impl.cpp index ae097db2..b8234901 100644 --- a/dnn/src/armv7/relayout/opr_impl.cpp +++ b/dnn/src/armv7/relayout/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/relayout_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/armv7/relayout/opr_impl.h b/dnn/src/armv7/relayout/opr_impl.h index 4edfe39c..63e5d971 100644 --- a/dnn/src/armv7/relayout/opr_impl.h +++ b/dnn/src/armv7/relayout/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/relayout/opr_impl.h" diff --git a/dnn/src/armv7/rotate/opr_impl.cpp b/dnn/src/armv7/rotate/opr_impl.cpp index 1d76d3d3..efeffedf 100644 --- a/dnn/src/armv7/rotate/opr_impl.cpp +++ b/dnn/src/armv7/rotate/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/armv7/rotate/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/armv7/handle.h" diff --git a/dnn/src/armv7/rotate/opr_impl.h b/dnn/src/armv7/rotate/opr_impl.h index 9adf32a1..c304e571 100644 --- a/dnn/src/armv7/rotate/opr_impl.h +++ b/dnn/src/armv7/rotate/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/armv7/rotate/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/atlas/checksum/opr_impl.cpp b/dnn/src/atlas/checksum/opr_impl.cpp index 778a8174..b4962997 100644 --- a/dnn/src/atlas/checksum/opr_impl.cpp +++ b/dnn/src/atlas/checksum/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/checksum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/atlas/checksum/opr_impl.h" #include "src/atlas/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/atlas/checksum/opr_impl.h b/dnn/src/atlas/checksum/opr_impl.h index c8583459..5b6618e6 100644 --- a/dnn/src/atlas/checksum/opr_impl.h +++ b/dnn/src/atlas/checksum/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/atlas/checksum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/atlas/handle.cpp b/dnn/src/atlas/handle.cpp index c8e9f568..6f585479 100644 --- a/dnn/src/atlas/handle.cpp +++ b/dnn/src/atlas/handle.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/atlas/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/atlas/handle.h" #include "megcore_atlas.h" #include "src/atlas/checksum/opr_impl.h" diff --git a/dnn/src/atlas/handle.h b/dnn/src/atlas/handle.h index f8688a02..c1ef9d0c 100644 --- a/dnn/src/atlas/handle.h +++ b/dnn/src/atlas/handle.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megcore_atlas.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/atlas/megcore/computing_context.cpp b/dnn/src/atlas/megcore/computing_context.cpp index fa25034b..ac7b7eff 100644 --- a/dnn/src/atlas/megcore/computing_context.cpp +++ b/dnn/src/atlas/megcore/computing_context.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/megcore/atlas_computing_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megcore.h" #include "src/atlas//megcore/computing_context.hpp" diff --git a/dnn/src/atlas/megcore/computing_context.hpp b/dnn/src/atlas/megcore/computing_context.hpp index c8ec6bdc..b97fc533 100644 --- a/dnn/src/atlas/megcore/computing_context.hpp +++ b/dnn/src/atlas/megcore/computing_context.hpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/megcore/computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megcore_atlas.h" diff --git a/dnn/src/atlas/megcore/device_context.cpp b/dnn/src/atlas/megcore/device_context.cpp index 13c4624c..bbdc84ac 100644 --- a/dnn/src/atlas/megcore/device_context.cpp +++ b/dnn/src/atlas/megcore/device_context.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/atlas/megcore/device_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/atlas/megcore/device_context.hpp" #include "megcore.h" diff --git a/dnn/src/atlas/megcore/device_context.hpp b/dnn/src/atlas/megcore/device_context.hpp index a5ac5bd3..17a9d8cb 100644 --- a/dnn/src/atlas/megcore/device_context.hpp +++ b/dnn/src/atlas/megcore/device_context.hpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/megcore/device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/megcore/common/device_context.hpp" diff --git a/dnn/src/atlas/megcore/public_api/computing.cpp b/dnn/src/atlas/megcore/public_api/computing.cpp index 990d24f1..68d8793a 100644 --- a/dnn/src/atlas/megcore/public_api/computing.cpp +++ b/dnn/src/atlas/megcore/public_api/computing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/megcore/public_api/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megcore_atlas.h" #include "src/atlas/megcore/computing_context.hpp" diff --git a/dnn/src/atlas/utils.cpp b/dnn/src/atlas/utils.cpp index a929bb3b..adff28da 100644 --- a/dnn/src/atlas/utils.cpp +++ b/dnn/src/atlas/utils.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/atlas/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/atlas/utils.h" #include "megcore_atlas.h" #include "src/common/utils.h" diff --git a/dnn/src/atlas/utils.h b/dnn/src/atlas/utils.h index 8a80aaac..db4f4937 100644 --- a/dnn/src/atlas/utils.h +++ b/dnn/src/atlas/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/atlas/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/handle.h" diff --git a/dnn/src/common/adaptive_pooling.cpp b/dnn/src/common/adaptive_pooling.cpp index 1a9f0d29..92916400 100644 --- a/dnn/src/common/adaptive_pooling.cpp +++ b/dnn/src/common/adaptive_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/adaptive_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/src/common/add_update.cpp b/dnn/src/common/add_update.cpp index d9bbcd53..14a2d633 100644 --- a/dnn/src/common/add_update.cpp +++ b/dnn/src/common/add_update.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/add_update_helper.h" diff --git a/dnn/src/common/add_update_helper.h b/dnn/src/common/add_update_helper.h index 4b3785f3..d574d71d 100644 --- a/dnn/src/common/add_update_helper.h +++ b/dnn/src/common/add_update_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/add_update_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/elemwise_helper.cuh" diff --git a/dnn/src/common/algo_base.cpp b/dnn/src/common/algo_base.cpp index 9b412208..3f230a92 100644 --- a/dnn/src/common/algo_base.cpp +++ b/dnn/src/common/algo_base.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/algo_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/common/utils.h" diff --git a/dnn/src/common/algo_base.h b/dnn/src/common/algo_base.h index 21aac780..f57ee5a3 100644 --- a/dnn/src/common/algo_base.h +++ b/dnn/src/common/algo_base.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/algo_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/common/algo_chooser.h b/dnn/src/common/algo_chooser.h index fa8220ea..824e6c3a 100644 --- a/dnn/src/common/algo_chooser.h +++ b/dnn/src/common/algo_chooser.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/algo_chooser.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/common/algorithm_cache.cpp b/dnn/src/common/algorithm_cache.cpp index 6e4088e2..a8d28686 100644 --- a/dnn/src/common/algorithm_cache.cpp +++ b/dnn/src/common/algorithm_cache.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/heuristic_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/algorithm_cache.h" #include "megdnn/tensor_format.h" #include "src/common/hash_ct.h" @@ -163,4 +151,4 @@ AlgorithmCache::Result AlgorithmCache::get(const Key& key) { void AlgorithmCache::clear() { MEGDNN_LOCK_GUARD(m_mtx); m_heuristic_cache.clear(); -} \ No newline at end of file +} diff --git a/dnn/src/common/argmxx/base_impl.cpp b/dnn/src/common/argmxx/base_impl.cpp index f717692f..352c2200 100644 --- a/dnn/src/common/argmxx/base_impl.cpp +++ b/dnn/src/common/argmxx/base_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/argmxx/base_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/argmxx_helper.h b/dnn/src/common/argmxx_helper.h index 9544cc8d..be95b598 100644 --- a/dnn/src/common/argmxx_helper.h +++ b/dnn/src/common/argmxx_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/argmxx_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/argsort.cpp b/dnn/src/common/argsort.cpp index 583aac60..7536654a 100644 --- a/dnn/src/common/argsort.cpp +++ b/dnn/src/common/argsort.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/argsort.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/utils.h" diff --git a/dnn/src/common/asm_common_defs.h b/dnn/src/common/asm_common_defs.h index 3ab86173..e3774e17 100644 --- a/dnn/src/common/asm_common_defs.h +++ b/dnn/src/common/asm_common_defs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/asm_common_defs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #if defined(__WIN32__) || defined(__APPLE__) diff --git a/dnn/src/common/basic_types.cpp b/dnn/src/common/basic_types.cpp index be2d9769..db840cd7 100644 --- a/dnn/src/common/basic_types.cpp +++ b/dnn/src/common/basic_types.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/basic_types.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "megdnn/tensor_format.h" diff --git a/dnn/src/common/batch_conv_bias.cpp b/dnn/src/common/batch_conv_bias.cpp index 061dc27e..9cb0b9f7 100644 --- a/dnn/src/common/batch_conv_bias.cpp +++ b/dnn/src/common/batch_conv_bias.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/batch_conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "megdnn/oprs/nn_int.h" #include "src/common/utils.h" diff --git a/dnn/src/common/batch_normalization.cpp b/dnn/src/common/batch_normalization.cpp index 7f963dac..22ec1f5e 100644 --- a/dnn/src/common/batch_normalization.cpp +++ b/dnn/src/common/batch_normalization.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/batch_normalization.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/batched_matrix_mul.cpp b/dnn/src/common/batched_matrix_mul.cpp index 85caae25..c4946fb8 100644 --- a/dnn/src/common/batched_matrix_mul.cpp +++ b/dnn/src/common/batched_matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/batched_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/check_non_finite.cpp b/dnn/src/common/check_non_finite.cpp index 24fdfb8b..2ad69721 100644 --- a/dnn/src/common/check_non_finite.cpp +++ b/dnn/src/common/check_non_finite.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/check_non_finite.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/checksum.cpp b/dnn/src/common/checksum.cpp index 353dd18e..f803305b 100644 --- a/dnn/src/common/checksum.cpp +++ b/dnn/src/common/checksum.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/checksum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/concat_split.cpp b/dnn/src/common/concat_split.cpp index 6e7ce98b..4c41e07e 100644 --- a/dnn/src/common/concat_split.cpp +++ b/dnn/src/common/concat_split.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/concat_split.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/cond_take/opr_impl.cpp b/dnn/src/common/cond_take/opr_impl.cpp index 6381e139..4057c123 100644 --- a/dnn/src/common/cond_take/opr_impl.cpp +++ b/dnn/src/common/cond_take/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cond_take/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/cond_take/predicate.cuh b/dnn/src/common/cond_take/predicate.cuh index 83a5c57c..2fc07612 100644 --- a/dnn/src/common/cond_take/predicate.cuh +++ b/dnn/src/common/cond_take/predicate.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cond_take/predicate.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/common/conv_bias.cpp b/dnn/src/common/conv_bias.cpp index 642f9588..a8b51a3a 100644 --- a/dnn/src/common/conv_bias.cpp +++ b/dnn/src/common/conv_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/common/opr_delegate.h" #include "src/common/utils.h" diff --git a/dnn/src/common/conv_bias.h b/dnn/src/common/conv_bias.h index 591680d8..a3b5a62e 100644 --- a/dnn/src/common/conv_bias.h +++ b/dnn/src/common/conv_bias.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/conv_bias.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/handle.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs/general.h" diff --git a/dnn/src/common/conv_pooling.cpp b/dnn/src/common/conv_pooling.cpp index 6a31bbfe..81faaf2b 100644 --- a/dnn/src/common/conv_pooling.cpp +++ b/dnn/src/common/conv_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/conv_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/convolution.cpp b/dnn/src/common/convolution.cpp index 7531ed3f..8584ad5f 100644 --- a/dnn/src/common/convolution.cpp +++ b/dnn/src/common/convolution.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/convolution3d.cpp b/dnn/src/common/convolution3d.cpp index 86f66233..7ed86c33 100644 --- a/dnn/src/common/convolution3d.cpp +++ b/dnn/src/common/convolution3d.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/convolution3d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/correlation.cpp b/dnn/src/common/correlation.cpp index 9cb4223c..a560d3f1 100644 --- a/dnn/src/common/correlation.cpp +++ b/dnn/src/common/correlation.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/correlation.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/cpuinfo_arch_vendor.cpp b/dnn/src/common/cpuinfo_arch_vendor.cpp index a226db91..f1268472 100644 --- a/dnn/src/common/cpuinfo_arch_vendor.cpp +++ b/dnn/src/common/cpuinfo_arch_vendor.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cpuinfo_arch_vendor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/common/utils.h" #if defined(MGB_ENABLE_CPUINFO_CHECK) && MGB_ENABLE_CPUINFO diff --git a/dnn/src/common/cpuinfo_arch_vendor.h b/dnn/src/common/cpuinfo_arch_vendor.h index b2f5482c..3361916c 100644 --- a/dnn/src/common/cpuinfo_arch_vendor.h +++ b/dnn/src/common/cpuinfo_arch_vendor.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/cpuinfo_arch_vendor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/common/utils.h" #if defined(MGB_ENABLE_CPUINFO_CHECK) && MGB_ENABLE_CPUINFO diff --git a/dnn/src/common/cumsum.cpp b/dnn/src/common/cumsum.cpp index 44e9dc95..a76bda68 100644 --- a/dnn/src/common/cumsum.cpp +++ b/dnn/src/common/cumsum.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/cumsum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/cv/aligned_allocator.h b/dnn/src/common/cv/aligned_allocator.h index b24f4aa1..1bd14bf6 100644 --- a/dnn/src/common/cv/aligned_allocator.h +++ b/dnn/src/common/cv/aligned_allocator.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cv/aligned_allocator.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/common/cv/cvt_color.h b/dnn/src/common/cv/cvt_color.h index 97a78eda..3bdb636c 100644 --- a/dnn/src/common/cv/cvt_color.h +++ b/dnn/src/common/cv/cvt_color.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/cv/cvt_color.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #define GENERATE_CVT_OPR_DECL(_opr) \ diff --git a/dnn/src/common/cv/enums.h b/dnn/src/common/cv/enums.h index dc9696fe..b0275165 100644 --- a/dnn/src/common/cv/enums.h +++ b/dnn/src/common/cv/enums.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/cv/enums.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once enum BorderMode { diff --git a/dnn/src/common/cv/linalg.h b/dnn/src/common/cv/linalg.h index 340f65a9..41e5c5a7 100644 --- a/dnn/src/common/cv/linalg.h +++ b/dnn/src/common/cv/linalg.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cv/linalg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/common/cv/mat.cpp b/dnn/src/common/cv/mat.cpp index 378ef9d5..5894f47c 100644 --- a/dnn/src/common/cv/mat.cpp +++ b/dnn/src/common/cv/mat.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/cv/mat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "src/common/cv/common.h" #include "src/common/cv/helper.h" diff --git a/dnn/src/common/cvt_color.cpp b/dnn/src/common/cvt_color.cpp index 399ac0c6..9c0f7729 100644 --- a/dnn/src/common/cvt_color.cpp +++ b/dnn/src/common/cvt_color.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/cvt_color.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/dct.cpp b/dnn/src/common/dct.cpp index 922ab2d4..c71319c5 100644 --- a/dnn/src/common/dct.cpp +++ b/dnn/src/common/dct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/dct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/deformable_conv.cpp b/dnn/src/common/deformable_conv.cpp index 969587ee..78161f2f 100644 --- a/dnn/src/common/deformable_conv.cpp +++ b/dnn/src/common/deformable_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/deformable_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/deformable_ps_roi_pooling.cpp b/dnn/src/common/deformable_ps_roi_pooling.cpp index 808d6b67..39d94270 100644 --- a/dnn/src/common/deformable_ps_roi_pooling.cpp +++ b/dnn/src/common/deformable_ps_roi_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/deformable_ps_roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/diag.cpp b/dnn/src/common/diag.cpp index 7fed7636..30f86b11 100644 --- a/dnn/src/common/diag.cpp +++ b/dnn/src/common/diag.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/diag.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/dot.cpp b/dnn/src/common/dot.cpp index 4b001f42..1a00459d 100644 --- a/dnn/src/common/dot.cpp +++ b/dnn/src/common/dot.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/dot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/dropout.cpp b/dnn/src/common/dropout.cpp index 7327ca99..8b166925 100644 --- a/dnn/src/common/dropout.cpp +++ b/dnn/src/common/dropout.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/dropout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/dtype.cpp b/dnn/src/common/dtype.cpp index 431346d6..708a9510 100644 --- a/dnn/src/common/dtype.cpp +++ b/dnn/src/common/dtype.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/dtype.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/dtype.h" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise/kern_defs.cuh b/dnn/src/common/elemwise/kern_defs.cuh index ce1e6a93..c2d30106 100644 --- a/dnn/src/common/elemwise/kern_defs.cuh +++ b/dnn/src/common/elemwise/kern_defs.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise/kern_defs.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/erfinv.h" diff --git a/dnn/src/common/elemwise/opr_impl.cpp b/dnn/src/common/elemwise/opr_impl.cpp index 475d0814..5d5d3f40 100644 --- a/dnn/src/common/elemwise/opr_impl.cpp +++ b/dnn/src/common/elemwise/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/elemwise/kern_defs.cuh" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise/opr_impl_body.inl b/dnn/src/common/elemwise/opr_impl_body.inl index 20d98e21..b726dd40 100644 --- a/dnn/src/common/elemwise/opr_impl_body.inl +++ b/dnn/src/common/elemwise/opr_impl_body.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise/opr_impl_body.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef on_arity_dispatched_cb_dtype #error "on_arity_dispatched_cb_dtype and IMPL_MODE_DISPATCHER must be defined" #endif diff --git a/dnn/src/common/elemwise/opr_impl_class_def.inl b/dnn/src/common/elemwise/opr_impl_class_def.inl index 3c3d9fb7..ab152c9c 100644 --- a/dnn/src/common/elemwise/opr_impl_class_def.inl +++ b/dnn/src/common/elemwise/opr_impl_class_def.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise/opr_impl_class_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - protected: template void on_arity_dispatched(); diff --git a/dnn/src/common/elemwise/opr_impl_helper.cpp b/dnn/src/common/elemwise/opr_impl_helper.cpp index 9e14908d..6a4dda8d 100644 --- a/dnn/src/common/elemwise/opr_impl_helper.cpp +++ b/dnn/src/common/elemwise/opr_impl_helper.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/elemwise/opr_impl_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise/opr_impl_helper.h b/dnn/src/common/elemwise/opr_impl_helper.h index c038829d..c8af61fb 100644 --- a/dnn/src/common/elemwise/opr_impl_helper.h +++ b/dnn/src/common/elemwise/opr_impl_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/elemwise/opr_impl_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/common/elemwise_helper.cpp b/dnn/src/common/elemwise_helper.cpp index df5911d5..ee9df810 100644 --- a/dnn/src/common/elemwise_helper.cpp +++ b/dnn/src/common/elemwise_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/elemwise_helper.cuh" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise_helper.cuh b/dnn/src/common/elemwise_helper.cuh index e7ca6f74..fd2570c2 100644 --- a/dnn/src/common/elemwise_helper.cuh +++ b/dnn/src/common/elemwise_helper.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/common/elemwise_multi_type/kern_defs.cuh b/dnn/src/common/elemwise_multi_type/kern_defs.cuh index aee31f80..405fd073 100644 --- a/dnn/src/common/elemwise_multi_type/kern_defs.cuh +++ b/dnn/src/common/elemwise_multi_type/kern_defs.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_multi_type/kern_defs.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/elemwise_multi_type/opr_impl.cpp b/dnn/src/common/elemwise_multi_type/opr_impl.cpp index ec284d7d..641f9abe 100644 --- a/dnn/src/common/elemwise_multi_type/opr_impl.cpp +++ b/dnn/src/common/elemwise_multi_type/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_multi_type/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise_multi_type/opr_impl_helper.cpp b/dnn/src/common/elemwise_multi_type/opr_impl_helper.cpp index d938a79f..1f29fbff 100644 --- a/dnn/src/common/elemwise_multi_type/opr_impl_helper.cpp +++ b/dnn/src/common/elemwise_multi_type/opr_impl_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_multi_type/opr_impl_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/common/elemwise_multi_type/opr_impl_helper.h b/dnn/src/common/elemwise_multi_type/opr_impl_helper.h index d5001041..74a3bafe 100644 --- a/dnn/src/common/elemwise_multi_type/opr_impl_helper.h +++ b/dnn/src/common/elemwise_multi_type/opr_impl_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/elemwise_multi_type/opr_impl_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs/nn_int.h" diff --git a/dnn/src/common/eye.cpp b/dnn/src/common/eye.cpp index 45c49e70..1070fe7d 100644 --- a/dnn/src/common/eye.cpp +++ b/dnn/src/common/eye.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/eye.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/fake_quant.cpp b/dnn/src/common/fake_quant.cpp index 7383e59f..d89ee0a3 100644 --- a/dnn/src/common/fake_quant.cpp +++ b/dnn/src/common/fake_quant.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/fakequant.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/fill.cpp b/dnn/src/common/fill.cpp index d4ccf2fa..c3fc6303 100644 --- a/dnn/src/common/fill.cpp +++ b/dnn/src/common/fill.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/fill.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/flag_warn.cpp b/dnn/src/common/flag_warn.cpp index 400bd5be..e9ea174e 100644 --- a/dnn/src/common/flag_warn.cpp +++ b/dnn/src/common/flag_warn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/flag_warn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/config/config.h" #if !MEGDNN_ENABLE_MANGLING diff --git a/dnn/src/common/flip.cpp b/dnn/src/common/flip.cpp index 6c637411..d9150994 100644 --- a/dnn/src/common/flip.cpp +++ b/dnn/src/common/flip.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/flip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/gaussian_blur.cpp b/dnn/src/common/gaussian_blur.cpp index 9a469a1d..250fa530 100644 --- a/dnn/src/common/gaussian_blur.cpp +++ b/dnn/src/common/gaussian_blur.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/gaussian_blur.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/cv/common.h" #include "src/common/cv/helper.h" diff --git a/dnn/src/common/gaussian_blur_helper.h b/dnn/src/common/gaussian_blur_helper.h index d94640c9..a0bf19e9 100644 --- a/dnn/src/common/gaussian_blur_helper.h +++ b/dnn/src/common/gaussian_blur_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/gaussian_blur_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/cv/common.h" #include "src/common/utils.h" diff --git a/dnn/src/common/group_local.cpp b/dnn/src/common/group_local.cpp index 859bc30d..de1b8b08 100644 --- a/dnn/src/common/group_local.cpp +++ b/dnn/src/common/group_local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/group_local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/handle.cpp b/dnn/src/common/handle.cpp index ee9c3372..250a072f 100644 --- a/dnn/src/common/handle.cpp +++ b/dnn/src/common/handle.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/basic_types.h" #include "src/common/handle_impl.h" diff --git a/dnn/src/common/handle_impl.h b/dnn/src/common/handle_impl.h index bfb35bb9..d59dbb78 100644 --- a/dnn/src/common/handle_impl.h +++ b/dnn/src/common/handle_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/handle_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/handle.h" diff --git a/dnn/src/common/images2neibs.cpp b/dnn/src/common/images2neibs.cpp index 8278f1af..2b88878d 100644 --- a/dnn/src/common/images2neibs.cpp +++ b/dnn/src/common/images2neibs.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/images2neibs.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/indexing_multi_axis_vec.cpp b/dnn/src/common/indexing_multi_axis_vec.cpp index e306993a..512db82e 100644 --- a/dnn/src/common/indexing_multi_axis_vec.cpp +++ b/dnn/src/common/indexing_multi_axis_vec.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/indexing_multi_axis_vec.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/indexing_multi_axis_vec_kdef.h b/dnn/src/common/indexing_multi_axis_vec_kdef.h index fc2948b8..199c5c0d 100644 --- a/dnn/src/common/indexing_multi_axis_vec_kdef.h +++ b/dnn/src/common/indexing_multi_axis_vec_kdef.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/indexing_multi_axis_vec_kdef.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/arch.h" #if MEGDNN_CC_HOST && !defined(__device__) diff --git a/dnn/src/common/indexing_one_hot.cpp b/dnn/src/common/indexing_one_hot.cpp index d2ac201d..fbef4e06 100644 --- a/dnn/src/common/indexing_one_hot.cpp +++ b/dnn/src/common/indexing_one_hot.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/indexing_one_hot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/layer_norm.cpp b/dnn/src/common/layer_norm.cpp index 44bb16e1..e33acc1b 100644 --- a/dnn/src/common/layer_norm.cpp +++ b/dnn/src/common/layer_norm.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/layer_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/linspace.cpp b/dnn/src/common/linspace.cpp index 13c2fd17..2eaf9629 100644 --- a/dnn/src/common/linspace.cpp +++ b/dnn/src/common/linspace.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/linspace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/local/local_decl.inl b/dnn/src/common/local/local_decl.inl index 17651f1e..e12110f4 100644 --- a/dnn/src/common/local/local_decl.inl +++ b/dnn/src/common/local/local_decl.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/local/local_decl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // simd_macro/*_helper.h should be included before including this file. // // The following functions would be declared in this file: diff --git a/dnn/src/common/local/local_def.inl b/dnn/src/common/local/local_def.inl index 324f790d..5de360c1 100644 --- a/dnn/src/common/local/local_def.inl +++ b/dnn/src/common/local/local_def.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/local/local_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // simd_macro/*_helper.h should be included before including this file. // // The following functions would be defined in this file: diff --git a/dnn/src/common/local/opr_impl.cpp b/dnn/src/common/local/opr_impl.cpp index 07003e90..4ecd6ac3 100644 --- a/dnn/src/common/local/opr_impl.cpp +++ b/dnn/src/common/local/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/local_share/opr_impl.cpp b/dnn/src/common/local_share/opr_impl.cpp index 20897235..24b77ddd 100644 --- a/dnn/src/common/local_share/opr_impl.cpp +++ b/dnn/src/common/local_share/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/local_share/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/lrn.cpp b/dnn/src/common/lrn.cpp index 3b194852..42c180fd 100644 --- a/dnn/src/common/lrn.cpp +++ b/dnn/src/common/lrn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/lrn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/lsq.cpp b/dnn/src/common/lsq.cpp index 7f4963d2..f5ded00a 100644 --- a/dnn/src/common/lsq.cpp +++ b/dnn/src/common/lsq.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/lsq.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/lstm.cpp b/dnn/src/common/lstm.cpp index 211cdf68..e7a23a23 100644 --- a/dnn/src/common/lstm.cpp +++ b/dnn/src/common/lstm.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/lstm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/lstm_cell.cpp b/dnn/src/common/lstm_cell.cpp index 859ed782..70947ef8 100644 --- a/dnn/src/common/lstm_cell.cpp +++ b/dnn/src/common/lstm_cell.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/lstm_cell.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/lstm_cell.h" #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/lstm_cell.h b/dnn/src/common/lstm_cell.h index 472fb3f2..581b7a31 100644 --- a/dnn/src/common/lstm_cell.h +++ b/dnn/src/common/lstm_cell.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/lstm_cell.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "megdnn/oprs/base.h" diff --git a/dnn/src/common/macro_helper.h b/dnn/src/common/macro_helper.h index f997000a..8aeca617 100644 --- a/dnn/src/common/macro_helper.h +++ b/dnn/src/common/macro_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/macro_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #ifdef MAKE_STR #error "macro_helper.h not used with macro_helper_epilogue.h" #endif diff --git a/dnn/src/common/macro_helper_epilogue.h b/dnn/src/common/macro_helper_epilogue.h index 69aee23f..b48dea3d 100644 --- a/dnn/src/common/macro_helper_epilogue.h +++ b/dnn/src/common/macro_helper_epilogue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/macro_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #ifndef MAKE_STR #error "macro_helper_epilogue.h must be used after macro_helper.h" #endif diff --git a/dnn/src/common/mask_conv.cpp b/dnn/src/common/mask_conv.cpp index 6088d08d..6462374e 100644 --- a/dnn/src/common/mask_conv.cpp +++ b/dnn/src/common/mask_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/mask_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/src/common/matrix_inverse.cpp b/dnn/src/common/matrix_inverse.cpp index ba942914..a3305610 100644 --- a/dnn/src/common/matrix_inverse.cpp +++ b/dnn/src/common/matrix_inverse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/matrix_inverse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/linalg.h" #include "src/common/utils.h" diff --git a/dnn/src/common/matrix_mul.cpp b/dnn/src/common/matrix_mul.cpp index 2a0b6cc7..91599502 100644 --- a/dnn/src/common/matrix_mul.cpp +++ b/dnn/src/common/matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/max_tensor_diff.cpp b/dnn/src/common/max_tensor_diff.cpp index 706ac7bc..cafd95a9 100644 --- a/dnn/src/common/max_tensor_diff.cpp +++ b/dnn/src/common/max_tensor_diff.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/max_tensor_diff.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "megdnn/tensor_format.h" #include "src/common/utils.h" diff --git a/dnn/src/common/megcore/common/computing_context.cpp b/dnn/src/common/megcore/common/computing_context.cpp index c31f2d2d..7fa51b57 100644 --- a/dnn/src/common/megcore/common/computing_context.cpp +++ b/dnn/src/common/megcore/common/computing_context.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/megcore/common/computing_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "../cpu/default_computing_context.hpp" diff --git a/dnn/src/common/megcore/common/computing_context.hpp b/dnn/src/common/megcore/common/computing_context.hpp index 62ffc36d..143533a7 100644 --- a/dnn/src/common/megcore/common/computing_context.hpp +++ b/dnn/src/common/megcore/common/computing_context.hpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/megcore/common/computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./device_context.hpp" diff --git a/dnn/src/common/megcore/common/device_context.cpp b/dnn/src/common/megcore/common/device_context.cpp index 074f40fa..a0bb605d 100644 --- a/dnn/src/common/megcore/common/device_context.cpp +++ b/dnn/src/common/megcore/common/device_context.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/common/device_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./device_context.hpp" #include "../cpu/default_device_context.hpp" diff --git a/dnn/src/common/megcore/common/device_context.hpp b/dnn/src/common/megcore/common/device_context.hpp index f39b9a79..54d712ab 100644 --- a/dnn/src/common/megcore/common/device_context.hpp +++ b/dnn/src/common/megcore/common/device_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/common/device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore.h" diff --git a/dnn/src/common/megcore/cpu/api.cpp b/dnn/src/common/megcore/cpu/api.cpp index 6890a672..2525e2d2 100644 --- a/dnn/src/common/megcore/cpu/api.cpp +++ b/dnn/src/common/megcore/cpu/api.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/cpu/api.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include "src/common/utils.h" diff --git a/dnn/src/common/megcore/cpu/default_computing_context.cpp b/dnn/src/common/megcore/cpu/default_computing_context.cpp index c56bd37d..a31990a0 100644 --- a/dnn/src/common/megcore/cpu/default_computing_context.cpp +++ b/dnn/src/common/megcore/cpu/default_computing_context.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/megcore/cpu/default_computing_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./default_computing_context.hpp" #include "src/common/utils.h" diff --git a/dnn/src/common/megcore/cpu/default_computing_context.hpp b/dnn/src/common/megcore/cpu/default_computing_context.hpp index 7f2bc87f..426531db 100644 --- a/dnn/src/common/megcore/cpu/default_computing_context.hpp +++ b/dnn/src/common/megcore/cpu/default_computing_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/cpu/default_computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../common/computing_context.hpp" diff --git a/dnn/src/common/megcore/cpu/default_device_context.cpp b/dnn/src/common/megcore/cpu/default_device_context.cpp index 19b8b375..ede3165b 100644 --- a/dnn/src/common/megcore/cpu/default_device_context.cpp +++ b/dnn/src/common/megcore/cpu/default_device_context.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/megcore/cpu/default_device_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include diff --git a/dnn/src/common/megcore/cpu/default_device_context.hpp b/dnn/src/common/megcore/cpu/default_device_context.hpp index bae46f47..1ae22b55 100644 --- a/dnn/src/common/megcore/cpu/default_device_context.hpp +++ b/dnn/src/common/megcore/cpu/default_device_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/cpu/default_device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../common/device_context.hpp" diff --git a/dnn/src/common/megcore/public_api/computing.cpp b/dnn/src/common/megcore/public_api/computing.cpp index 126e828a..7d1dfc01 100644 --- a/dnn/src/common/megcore/public_api/computing.cpp +++ b/dnn/src/common/megcore/public_api/computing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/megcore/public_api/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megcore.h" #include "src/common/utils.h" diff --git a/dnn/src/common/megcore/public_api/computing.hpp b/dnn/src/common/megcore/public_api/computing.hpp index a90ef66d..506b2788 100644 --- a/dnn/src/common/megcore/public_api/computing.hpp +++ b/dnn/src/common/megcore/public_api/computing.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/public_api/computing.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore.h" diff --git a/dnn/src/common/megcore/public_api/device.cpp b/dnn/src/common/megcore/public_api/device.cpp index 20dc9828..54230356 100644 --- a/dnn/src/common/megcore/public_api/device.cpp +++ b/dnn/src/common/megcore/public_api/device.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/public_api/device.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include "src/common/utils.h" diff --git a/dnn/src/common/megcore/public_api/device.hpp b/dnn/src/common/megcore/public_api/device.hpp index 400d4e6b..fb7a5da9 100644 --- a/dnn/src/common/megcore/public_api/device.hpp +++ b/dnn/src/common/megcore/public_api/device.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/public_api/device.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore.h" #include "../common/device_context.hpp" diff --git a/dnn/src/common/megcore/public_api/misc.cpp b/dnn/src/common/megcore/public_api/misc.cpp index 6dcd0c5f..886bf148 100644 --- a/dnn/src/common/megcore/public_api/misc.cpp +++ b/dnn/src/common/megcore/public_api/misc.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/megcore/public_api/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include "src/common/utils.h" diff --git a/dnn/src/common/mesh_indexing.cpp b/dnn/src/common/mesh_indexing.cpp index 9494f713..7cee385f 100644 --- a/dnn/src/common/mesh_indexing.cpp +++ b/dnn/src/common/mesh_indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/mesh_indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/utils.h" diff --git a/dnn/src/common/metahelper.h b/dnn/src/common/metahelper.h index aacdec9d..ccbb544a 100644 --- a/dnn/src/common/metahelper.h +++ b/dnn/src/common/metahelper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/metahelper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once namespace megdnn { diff --git a/dnn/src/common/named_tensor.cpp b/dnn/src/common/named_tensor.cpp index 2b97230c..39adcaa4 100644 --- a/dnn/src/common/named_tensor.cpp +++ b/dnn/src/common/named_tensor.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/named_tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/named_tensor.h" #include "src/common/utils.h" diff --git a/dnn/src/common/nchw_nchwxx_valid.cpp b/dnn/src/common/nchw_nchwxx_valid.cpp index 6f70723c..7dd58c68 100644 --- a/dnn/src/common/nchw_nchwxx_valid.cpp +++ b/dnn/src/common/nchw_nchwxx_valid.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/nchw_nchwxx_valid.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/common/nchw_nchwxx_valid.h" #include "megdnn/oprs/nn.h" using namespace megdnn; diff --git a/dnn/src/common/nchw_nchwxx_valid.h b/dnn/src/common/nchw_nchwxx_valid.h index c9b7078a..53f39357 100644 --- a/dnn/src/common/nchw_nchwxx_valid.h +++ b/dnn/src/common/nchw_nchwxx_valid.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/nchw_nchwxx_valid.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/common/opr_delegate.cpp b/dnn/src/common/opr_delegate.cpp index e50ff441..2060c089 100644 --- a/dnn/src/common/opr_delegate.cpp +++ b/dnn/src/common/opr_delegate.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/opr_delegate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/opr_delegate.h" using namespace megdnn; diff --git a/dnn/src/common/opr_delegate.h b/dnn/src/common/opr_delegate.h index 58a0667c..2fe87bcd 100644 --- a/dnn/src/common/opr_delegate.h +++ b/dnn/src/common/opr_delegate.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/opr_delegate.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/handle.h" diff --git a/dnn/src/common/opr_trait.h b/dnn/src/common/opr_trait.h index 4cb6fa1f..671d4516 100644 --- a/dnn/src/common/opr_trait.h +++ b/dnn/src/common/opr_trait.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/opr_trait.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/common/padding.cpp b/dnn/src/common/padding.cpp index 682bd702..339ead0a 100644 --- a/dnn/src/common/padding.cpp +++ b/dnn/src/common/padding.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/padding.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "megdnn/oprs/general.h" #include "megdnn/thin/small_vector.h" diff --git a/dnn/src/common/param_pack.cpp b/dnn/src/common/param_pack.cpp index f6fea62e..6f4e948d 100644 --- a/dnn/src/common/param_pack.cpp +++ b/dnn/src/common/param_pack.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/param_pack.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/utils.h" diff --git a/dnn/src/common/pooling.cpp b/dnn/src/common/pooling.cpp index 7aa51ee2..109fe383 100644 --- a/dnn/src/common/pooling.cpp +++ b/dnn/src/common/pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_decl.inl b/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_decl.inl index f78a2656..8fe89a7a 100644 --- a/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_decl.inl +++ b/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_decl.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_decl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // simd_macro/*_helper.h should be included before including this file. // // The following function would be declared in this file: diff --git a/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl b/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl index 534a72e4..04e99294 100644 --- a/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl +++ b/dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // simd_macro/*_helper.h should be included before including this file. // // The following function would be defined in this file: diff --git a/dnn/src/common/postprocess.h b/dnn/src/common/postprocess.h index 3e0ca758..8e5dd11f 100644 --- a/dnn/src/common/postprocess.h +++ b/dnn/src/common/postprocess.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/postprocess.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once namespace megdnn { enum class PostprocessMode : uint8_t { diff --git a/dnn/src/common/postprocess_helper.h b/dnn/src/common/postprocess_helper.h index 5deccd2f..afc346a5 100644 --- a/dnn/src/common/postprocess_helper.h +++ b/dnn/src/common/postprocess_helper.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/postprocess_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/common/powc.cpp b/dnn/src/common/powc.cpp index 84865319..090c0c49 100644 --- a/dnn/src/common/powc.cpp +++ b/dnn/src/common/powc.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/powc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include diff --git a/dnn/src/common/reduce.cpp b/dnn/src/common/reduce.cpp index 27ce2778..98d863ae 100644 --- a/dnn/src/common/reduce.cpp +++ b/dnn/src/common/reduce.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include diff --git a/dnn/src/common/reduce_helper.cpp b/dnn/src/common/reduce_helper.cpp index 297833fe..7995cfdf 100644 --- a/dnn/src/common/reduce_helper.cpp +++ b/dnn/src/common/reduce_helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/reduce_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/reduce_helper.h" #include diff --git a/dnn/src/common/reduce_helper.h b/dnn/src/common/reduce_helper.h index 50855823..74b0464b 100644 --- a/dnn/src/common/reduce_helper.h +++ b/dnn/src/common/reduce_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/reduce_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/reduce_helper_device.h b/dnn/src/common/reduce_helper_device.h index 05f4b71a..d0edade7 100644 --- a/dnn/src/common/reduce_helper_device.h +++ b/dnn/src/common/reduce_helper_device.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/reduce_helper_device.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/relayout.cpp b/dnn/src/common/relayout.cpp index 63fd53cc..3a369c8a 100644 --- a/dnn/src/common/relayout.cpp +++ b/dnn/src/common/relayout.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/common/relayout_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/common/relayout_format.cpp b/dnn/src/common/relayout_format.cpp index 478262f2..9b9f2bc8 100644 --- a/dnn/src/common/relayout_format.cpp +++ b/dnn/src/common/relayout_format.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/relayout_format.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "megdnn/tensor_format.h" #include "src/common/utils.h" diff --git a/dnn/src/common/relayout_helper.h b/dnn/src/common/relayout_helper.h index 0c52f725..12f00ce9 100644 --- a/dnn/src/common/relayout_helper.h +++ b/dnn/src/common/relayout_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/relayout_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/common/remap.cpp b/dnn/src/common/remap.cpp index 9d543bb3..07debebf 100644 --- a/dnn/src/common/remap.cpp +++ b/dnn/src/common/remap.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/remap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/cv/common.h" #include "src/common/cv/helper.h" diff --git a/dnn/src/common/resize.cpp b/dnn/src/common/resize.cpp index fafde92d..e6fe8282 100644 --- a/dnn/src/common/resize.cpp +++ b/dnn/src/common/resize.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/handle.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/src/common/resize.cuh b/dnn/src/common/resize.cuh index 5eb516dd..555513ab 100644 --- a/dnn/src/common/resize.cuh +++ b/dnn/src/common/resize.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/resize.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/common/rng.cpp b/dnn/src/common/rng.cpp index 0a6192c3..7d5ee38e 100644 --- a/dnn/src/common/rng.cpp +++ b/dnn/src/common/rng.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/rnn.cpp b/dnn/src/common/rnn.cpp index 3bb54a24..f0883ef2 100644 --- a/dnn/src/common/rnn.cpp +++ b/dnn/src/common/rnn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/rnn.h" #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/rnn.h b/dnn/src/common/rnn.h index e98651b4..a3a0ffb5 100644 --- a/dnn/src/common/rnn.h +++ b/dnn/src/common/rnn.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/rnn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/opr_param_defs.h" #include "megdnn/oprs/base.h" diff --git a/dnn/src/common/rnn_cell.cpp b/dnn/src/common/rnn_cell.cpp index aa30addb..d2134304 100644 --- a/dnn/src/common/rnn_cell.cpp +++ b/dnn/src/common/rnn_cell.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/rnn_cell.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/rnn_cell.h" #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/rnn_cell.h b/dnn/src/common/rnn_cell.h index 3906da1d..831d177e 100644 --- a/dnn/src/common/rnn_cell.h +++ b/dnn/src/common/rnn_cell.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/rnn_cell.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/base.h" #include "megdnn/oprs/general.h" diff --git a/dnn/src/common/roi_align.cpp b/dnn/src/common/roi_align.cpp index 867172a6..4ad829ba 100644 --- a/dnn/src/common/roi_align.cpp +++ b/dnn/src/common/roi_align.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/roi_align.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/roi_align_helper.h b/dnn/src/common/roi_align_helper.h index d60274e7..c837c8b5 100644 --- a/dnn/src/common/roi_align_helper.h +++ b/dnn/src/common/roi_align_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/roi_align_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/roi_copy.cpp b/dnn/src/common/roi_copy.cpp index ab4d162e..c0241c48 100644 --- a/dnn/src/common/roi_copy.cpp +++ b/dnn/src/common/roi_copy.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/roi_copy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/roi_pooling.cpp b/dnn/src/common/roi_pooling.cpp index 797597e1..5470f2c7 100644 --- a/dnn/src/common/roi_pooling.cpp +++ b/dnn/src/common/roi_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/roi_pooling_helper.h b/dnn/src/common/roi_pooling_helper.h index fb644d4d..b23edd39 100644 --- a/dnn/src/common/roi_pooling_helper.h +++ b/dnn/src/common/roi_pooling_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/roi_pooling_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/rotate.cpp b/dnn/src/common/rotate.cpp index ca3ccaa1..a86ddb0a 100644 --- a/dnn/src/common/rotate.cpp +++ b/dnn/src/common/rotate.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/rotate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/rounding_converter.cuh b/dnn/src/common/rounding_converter.cuh index 46519eb7..9b50eca9 100644 --- a/dnn/src/common/rounding_converter.cuh +++ b/dnn/src/common/rounding_converter.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/rounding_converter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/common/separableConv.cpp b/dnn/src/common/separableConv.cpp index 521e3068..c35171d7 100644 --- a/dnn/src/common/separableConv.cpp +++ b/dnn/src/common/separableConv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/separableConv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/separableFilter.cpp b/dnn/src/common/separableFilter.cpp index 3f4df850..79dd1afe 100644 --- a/dnn/src/common/separableFilter.cpp +++ b/dnn/src/common/separableFilter.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/separableFilter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/simd_macro/epilogue.h b/dnn/src/common/simd_macro/epilogue.h index 7a30f045..c7d577d5 100644 --- a/dnn/src/common/simd_macro/epilogue.h +++ b/dnn/src/common/simd_macro/epilogue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/simd_macro/epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #undef MEGDNN_SIMD_NAME #undef MEGDNN_SIMD_TARGET #undef MEGDNN_SIMD_ATTRIBUTE_TARGET diff --git a/dnn/src/common/sliding_window_transpose.cpp b/dnn/src/common/sliding_window_transpose.cpp index 08f377f0..2416e0d8 100644 --- a/dnn/src/common/sliding_window_transpose.cpp +++ b/dnn/src/common/sliding_window_transpose.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/small_vector.cpp b/dnn/src/common/small_vector.cpp index 5eab20b4..debaa12b 100644 --- a/dnn/src/common/small_vector.cpp +++ b/dnn/src/common/small_vector.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/small_vector.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/thin/small_vector.h" #include "src/common/utils.h" diff --git a/dnn/src/common/softmax.cpp b/dnn/src/common/softmax.cpp index e72453d4..db2676c9 100644 --- a/dnn/src/common/softmax.cpp +++ b/dnn/src/common/softmax.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/svd.cpp b/dnn/src/common/svd.cpp index 8f536abf..2950d23d 100644 --- a/dnn/src/common/svd.cpp +++ b/dnn/src/common/svd.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/svd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/linalg.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tensor_format.cpp b/dnn/src/common/tensor_format.cpp index 24db2693..314d9507 100644 --- a/dnn/src/common/tensor_format.cpp +++ b/dnn/src/common/tensor_format.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/tensor_format.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/tensor_format.h" #include "megdnn/basic_types.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tensor_iter.cpp b/dnn/src/common/tensor_iter.cpp index b6a27ea5..42913acb 100644 --- a/dnn/src/common/tensor_iter.cpp +++ b/dnn/src/common/tensor_iter.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/tensor_iter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/tensor_iter.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tensor_remap.cpp b/dnn/src/common/tensor_remap.cpp index ba09268a..9c3ae081 100644 --- a/dnn/src/common/tensor_remap.cpp +++ b/dnn/src/common/tensor_remap.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/tensor_remap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tile_repeat.cpp b/dnn/src/common/tile_repeat.cpp index 02bb93ad..b6390dca 100644 --- a/dnn/src/common/tile_repeat.cpp +++ b/dnn/src/common/tile_repeat.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/tile_repeat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tile_repeat_helper.cpp b/dnn/src/common/tile_repeat_helper.cpp index 4fc3105c..3683c78f 100644 --- a/dnn/src/common/tile_repeat_helper.cpp +++ b/dnn/src/common/tile_repeat_helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/tile_repeat_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/tile_repeat_helper.h" #include diff --git a/dnn/src/common/tile_repeat_helper.h b/dnn/src/common/tile_repeat_helper.h index 6ff34ab5..16d53eb7 100644 --- a/dnn/src/common/tile_repeat_helper.h +++ b/dnn/src/common/tile_repeat_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/tile_repeat_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/common/topk.cpp b/dnn/src/common/topk.cpp index df2d665d..19a7ec3e 100644 --- a/dnn/src/common/topk.cpp +++ b/dnn/src/common/topk.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/topk.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/utils.h" diff --git a/dnn/src/common/tqt.cpp b/dnn/src/common/tqt.cpp index 463af6e9..6bd2db21 100644 --- a/dnn/src/common/tqt.cpp +++ b/dnn/src/common/tqt.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/tqt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/transpose.cpp b/dnn/src/common/transpose.cpp index d30f559b..8156988a 100644 --- a/dnn/src/common/transpose.cpp +++ b/dnn/src/common/transpose.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/type_cvt.cpp b/dnn/src/common/type_cvt.cpp index af1e773e..b8ee79ee 100644 --- a/dnn/src/common/type_cvt.cpp +++ b/dnn/src/common/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/unroll_macro.h b/dnn/src/common/unroll_macro.h index 2711827e..da0f95bb 100644 --- a/dnn/src/common/unroll_macro.h +++ b/dnn/src/common/unroll_macro.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/common/unroll_macro.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #define UNROLL_RAW1(cb, v0, a...) cb(0, ##a) diff --git a/dnn/src/common/utils.cpp b/dnn/src/common/utils.cpp index bd1565a6..8ac0d83f 100644 --- a/dnn/src/common/utils.cpp +++ b/dnn/src/common/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "megdnn/handle.h" #include "megdnn/oprs/utils.h" diff --git a/dnn/src/common/utils.cuh b/dnn/src/common/utils.cuh index 89e99944..b604b35d 100644 --- a/dnn/src/common/utils.cuh +++ b/dnn/src/common/utils.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/common/utils.h b/dnn/src/common/utils.h index 8f6dce9b..ee29b4ff 100644 --- a/dnn/src/common/utils.h +++ b/dnn/src/common/utils.h @@ -1,15 +1,4 @@ /** - * \file dnn/src/common/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - -/** * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organization diff --git a/dnn/src/common/version.cpp b/dnn/src/common/version.cpp index c1fc2164..e86c1b39 100644 --- a/dnn/src/common/version.cpp +++ b/dnn/src/common/version.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/version.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/version.h" #include "src/common/version_symbol.h" diff --git a/dnn/src/common/version_symbol.h b/dnn/src/common/version_symbol.h index 714cfada..8d15261b 100644 --- a/dnn/src/common/version_symbol.h +++ b/dnn/src/common/version_symbol.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/version_symbol.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #define MEGDNN_VERSION_SYMBOL_(name, ver) \ diff --git a/dnn/src/common/warp_affine.cpp b/dnn/src/common/warp_affine.cpp index 00e0b0d3..51215d68 100644 --- a/dnn/src/common/warp_affine.cpp +++ b/dnn/src/common/warp_affine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/warp_affine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/warp_common.cpp b/dnn/src/common/warp_common.cpp index 1ecfa05a..b18d18f5 100644 --- a/dnn/src/common/warp_common.cpp +++ b/dnn/src/common/warp_common.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/warp_common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/warp_common.h" using namespace megdnn; diff --git a/dnn/src/common/warp_perspective.cpp b/dnn/src/common/warp_perspective.cpp index 9ebb9ed9..ca3804b6 100644 --- a/dnn/src/common/warp_perspective.cpp +++ b/dnn/src/common/warp_perspective.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/common/warp_perspective_helper.cpp b/dnn/src/common/warp_perspective_helper.cpp index 6b1b379a..3834752b 100644 --- a/dnn/src/common/warp_perspective_helper.cpp +++ b/dnn/src/common/warp_perspective_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/warp_perspective_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./warp_perspective_helper.h" using namespace megdnn; diff --git a/dnn/src/common/warp_perspective_helper.h b/dnn/src/common/warp_perspective_helper.h index 4cb75856..3483bfc6 100644 --- a/dnn/src/common/warp_perspective_helper.h +++ b/dnn/src/common/warp_perspective_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/common/warp_perspective_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/common/winograd/winograd_helper.cpp b/dnn/src/common/winograd/winograd_helper.cpp index 43734400..31abbf26 100644 --- a/dnn/src/common/winograd/winograd_helper.cpp +++ b/dnn/src/common/winograd/winograd_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/winograd/winograd_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/winograd/winograd_helper.h" #include "src/common/winograd/winograd_generator.h" #include "src/naive/matrix_mul/matrix_mul_helper.h" diff --git a/dnn/src/common/winograd/winograd_helper.h b/dnn/src/common/winograd/winograd_helper.h index 13c741c7..de0c02e0 100644 --- a/dnn/src/common/winograd/winograd_helper.h +++ b/dnn/src/common/winograd/winograd_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/common/winograd/winograd_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/adaptive_pooling/opr_impl.cpp b/dnn/src/cuda/adaptive_pooling/opr_impl.cpp index 3bf9bfbb..00bc0b58 100644 --- a/dnn/src/cuda/adaptive_pooling/opr_impl.cpp +++ b/dnn/src/cuda/adaptive_pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/adaptive_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/adaptive_pooling/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/adaptive_pooling/opr_impl.h b/dnn/src/cuda/adaptive_pooling/opr_impl.h index 6a47fa2c..3913c574 100644 --- a/dnn/src/cuda/adaptive_pooling/opr_impl.h +++ b/dnn/src/cuda/adaptive_pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/adaptive_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/add_update/kern.cu b/dnn/src/cuda/add_update/kern.cu index 4e52d0af..4fa8ba21 100644 --- a/dnn/src/cuda/add_update/kern.cu +++ b/dnn/src/cuda/add_update/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/add_update/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" namespace megdnn { diff --git a/dnn/src/cuda/add_update/kern.cuh b/dnn/src/cuda/add_update/kern.cuh index a8b5983f..a31e5dd8 100644 --- a/dnn/src/cuda/add_update/kern.cuh +++ b/dnn/src/cuda/add_update/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/add_update/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/add_update/opr_impl.cpp b/dnn/src/cuda/add_update/opr_impl.cpp index 5ec2df07..cfbb3f9a 100644 --- a/dnn/src/cuda/add_update/opr_impl.cpp +++ b/dnn/src/cuda/add_update/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/add_update/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/add_update/opr_impl.h b/dnn/src/cuda/add_update/opr_impl.h index a48a4cb6..4283b54a 100644 --- a/dnn/src/cuda/add_update/opr_impl.h +++ b/dnn/src/cuda/add_update/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/add_update/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/argmxx/argmxx.cu b/dnn/src/cuda/argmxx/argmxx.cu index b507fdb2..176725a5 100644 --- a/dnn/src/cuda/argmxx/argmxx.cu +++ b/dnn/src/cuda/argmxx/argmxx.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/argmxx/argmxx.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/argmxx_helper.h" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/argmxx/argmxx.cuh b/dnn/src/cuda/argmxx/argmxx.cuh index 66a5a179..958ca680 100644 --- a/dnn/src/cuda/argmxx/argmxx.cuh +++ b/dnn/src/cuda/argmxx/argmxx.cuh @@ -1,12 +1,2 @@ -/** - * \file dnn/src/cuda/argmxx/argmxx.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once // vim: ft=cpp syntax=cpp.doxygen diff --git a/dnn/src/cuda/argmxx/opr_impl.cpp b/dnn/src/cuda/argmxx/opr_impl.cpp index 4decd178..57ccc1a9 100644 --- a/dnn/src/cuda/argmxx/opr_impl.cpp +++ b/dnn/src/cuda/argmxx/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/argmxx/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/argmxx/opr_impl.h" #include "src/common/argmxx_helper.h" diff --git a/dnn/src/cuda/argmxx/opr_impl.h b/dnn/src/cuda/argmxx/opr_impl.h index 207f91d2..48706425 100644 --- a/dnn/src/cuda/argmxx/opr_impl.h +++ b/dnn/src/cuda/argmxx/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/argmxx/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/argsort/argsort.cu b/dnn/src/cuda/argsort/argsort.cu index 16326f03..392320f8 100644 --- a/dnn/src/cuda/argsort/argsort.cu +++ b/dnn/src/cuda/argsort/argsort.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/argsort.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./argsort.cuh" #include "./bitonic_sort.cuh" #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/argsort/argsort.cuh b/dnn/src/cuda/argsort/argsort.cuh index a4531984..0cf3c799 100644 --- a/dnn/src/cuda/argsort/argsort.cuh +++ b/dnn/src/cuda/argsort/argsort.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/argsort.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/argsort/backward.cu b/dnn/src/cuda/argsort/backward.cu index b46b1966..9bc5b506 100644 --- a/dnn/src/cuda/argsort/backward.cu +++ b/dnn/src/cuda/argsort/backward.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/backward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./argsort.cuh" #include "./backward.cuh" diff --git a/dnn/src/cuda/argsort/backward.cuh b/dnn/src/cuda/argsort/backward.cuh index edcde300..98bf3ff1 100644 --- a/dnn/src/cuda/argsort/backward.cuh +++ b/dnn/src/cuda/argsort/backward.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/backward.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/argsort/bitonic_sort.cu b/dnn/src/cuda/argsort/bitonic_sort.cu index 57d921f4..85abf9bc 100644 --- a/dnn/src/cuda/argsort/bitonic_sort.cu +++ b/dnn/src/cuda/argsort/bitonic_sort.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/bitonic_sort.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./bitonic_sort.cuh" #include "megdnn/dtype.h" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/argsort/bitonic_sort.cuh b/dnn/src/cuda/argsort/bitonic_sort.cuh index 6950369e..36a470f6 100644 --- a/dnn/src/cuda/argsort/bitonic_sort.cuh +++ b/dnn/src/cuda/argsort/bitonic_sort.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/bitonic_sort.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/argsort/opr_impl.cpp b/dnn/src/cuda/argsort/opr_impl.cpp index 29b15f47..a36d23f0 100644 --- a/dnn/src/cuda/argsort/opr_impl.cpp +++ b/dnn/src/cuda/argsort/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./argsort.cuh" #include "./backward.cuh" diff --git a/dnn/src/cuda/argsort/opr_impl.h b/dnn/src/cuda/argsort/opr_impl.h index b2abe158..7f4f0e24 100644 --- a/dnn/src/cuda/argsort/opr_impl.h +++ b/dnn/src/cuda/argsort/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/argsort/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/atomic_add.cuh b/dnn/src/cuda/atomic_add.cuh index 4d7b4c6d..b1b99b16 100644 --- a/dnn/src/cuda/atomic_add.cuh +++ b/dnn/src/cuda/atomic_add.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/atomic.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/cuda/batch_conv_bias/algo.cpp b/dnn/src/cuda/batch_conv_bias/algo.cpp index ba359611..55b43077 100644 --- a/dnn/src/cuda/batch_conv_bias/algo.cpp +++ b/dnn/src/cuda/batch_conv_bias/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/batch_conv_bias/algo.h b/dnn/src/cuda/batch_conv_bias/algo.h index 359dada7..fbf3e8b4 100644 --- a/dnn/src/cuda/batch_conv_bias/algo.h +++ b/dnn/src/cuda/batch_conv_bias/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh b/dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh index 44c8a099..e9487f88 100644 --- a/dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh +++ b/dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/batch_conv_bias.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/convolution_helper/parameter.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp b/dnn/src/cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp index 348ebb98..964e3a2d 100644 --- a/dnn/src/cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp +++ b/dnn/src/cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/batch_conv_bias/algo.h" #include "src/cuda/batch_conv_bias/batch_conv_bias.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/helper.cu b/dnn/src/cuda/batch_conv_bias/helper.cu index f8b0f087..735db92b 100644 --- a/dnn/src/cuda/batch_conv_bias/helper.cu +++ b/dnn/src/cuda/batch_conv_bias/helper.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/helper.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batch_conv_bias/helper.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/helper.cuh b/dnn/src/cuda/batch_conv_bias/helper.cuh index 920c026c..a3b6fc83 100644 --- a/dnn/src/cuda/batch_conv_bias/helper.cuh +++ b/dnn/src/cuda/batch_conv_bias/helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/parameter.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp b/dnn/src/cuda/batch_conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp index beff2991..fdbbf472 100644 --- a/dnn/src/cuda/batch_conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp +++ b/dnn/src/cuda/batch_conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/conv_bias.h" #include "src/cuda/batch_conv_bias/algo.h" diff --git a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl index 0851a134..ab32ef56 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl +++ b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batch_conv_bias/batch_conv_bias.cuh" #include "src/cuda/batch_conv_bias/helper.cuh" #include "src/cuda/convolution_helper/activation.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl index ca73ce93..a2afa96e 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl +++ b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_gemm_ncdiv4hw4_ldg_128.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batch_conv_bias/batch_conv_bias.cuh" #include "src/cuda/batch_conv_bias/helper.cuh" #include "src/cuda/convolution_helper/activation.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl index f3caa756..caa12670 100644 --- a/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl +++ b/dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/int8/batch_conv_bias_int8_implicit_gemm_precomp_ncdiv4hw4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batch_conv_bias/batch_conv_bias.cuh" #include "src/cuda/batch_conv_bias/helper.cuh" #include "src/cuda/convolution_helper/activation.cuh" diff --git a/dnn/src/cuda/batch_conv_bias/opr_impl.cpp b/dnn/src/cuda/batch_conv_bias/opr_impl.cpp index f3bb821d..84d198b4 100644 --- a/dnn/src/cuda/batch_conv_bias/opr_impl.cpp +++ b/dnn/src/cuda/batch_conv_bias/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batch_conv_bias/opr_impl.h" #include "src/common/algo_chooser.h" #include "src/cuda/batch_conv_bias/algo.h" diff --git a/dnn/src/cuda/batch_conv_bias/opr_impl.h b/dnn/src/cuda/batch_conv_bias/opr_impl.h index 9c731ae8..8cf10a76 100644 --- a/dnn/src/cuda/batch_conv_bias/opr_impl.h +++ b/dnn/src/cuda/batch_conv_bias/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/batch_normalization/opr_impl.cpp b/dnn/src/cuda/batch_normalization/opr_impl.cpp index 8deac1a1..4bfaeaab 100644 --- a/dnn/src/cuda/batch_normalization/opr_impl.cpp +++ b/dnn/src/cuda/batch_normalization/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_normalization/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/batch_normalization/opr_impl.h b/dnn/src/cuda/batch_normalization/opr_impl.h index 83b3ed90..a65b9b93 100644 --- a/dnn/src/cuda/batch_normalization/opr_impl.h +++ b/dnn/src/cuda/batch_normalization/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batch_normalization/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/batched_matrix_mul/algo.cpp b/dnn/src/cuda/batched_matrix_mul/algo.cpp index 04cd2634..085c96bf 100644 --- a/dnn/src/cuda/batched_matrix_mul/algo.cpp +++ b/dnn/src/cuda/batched_matrix_mul/algo.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/batched_matrix_mul/algo.h b/dnn/src/cuda/batched_matrix_mul/algo.h index 90c85ada..d26a0996 100644 --- a/dnn/src/cuda/batched_matrix_mul/algo.h +++ b/dnn/src/cuda/batched_matrix_mul/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/batched_matrix_mul/brute_force.cpp b/dnn/src/cuda/batched_matrix_mul/brute_force.cpp index eddcf10a..16c4927d 100644 --- a/dnn/src/cuda/batched_matrix_mul/brute_force.cpp +++ b/dnn/src/cuda/batched_matrix_mul/brute_force.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/brute_force.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include #include "./algo.h" diff --git a/dnn/src/cuda/batched_matrix_mul/cublas.cpp b/dnn/src/cuda/batched_matrix_mul/cublas.cpp index 43885826..b0bbaef0 100644 --- a/dnn/src/cuda/batched_matrix_mul/cublas.cpp +++ b/dnn/src/cuda/batched_matrix_mul/cublas.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/cublas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "./helper.cuh" #include "src/common/utils.cuh" diff --git a/dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp b/dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp index c30647cd..6ddcfd47 100644 --- a/dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp +++ b/dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/cublas_lt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/cublasLt_wrapper.h" diff --git a/dnn/src/cuda/batched_matrix_mul/helper.cu b/dnn/src/cuda/batched_matrix_mul/helper.cu index de29522b..c8346bd2 100644 --- a/dnn/src/cuda/batched_matrix_mul/helper.cu +++ b/dnn/src/cuda/batched_matrix_mul/helper.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/helper.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batched_matrix_mul/helper.cuh" namespace { diff --git a/dnn/src/cuda/batched_matrix_mul/helper.cuh b/dnn/src/cuda/batched_matrix_mul/helper.cuh index ea5f1e08..f59ba22d 100644 --- a/dnn/src/cuda/batched_matrix_mul/helper.cuh +++ b/dnn/src/cuda/batched_matrix_mul/helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp index 27db5020..2c8341f3 100644 --- a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp +++ b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/int8x8x32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./int8x8x32.cuh" #include #include "./algo.h" diff --git a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cu b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cu index a3ab3128..ff39487c 100644 --- a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cu +++ b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/int8x8x32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "./int8x8x32.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh index 5247fe11..2de2253e 100644 --- a/dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh +++ b/dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/int8x8x32.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/batched_matrix_mul/opr_impl.cpp b/dnn/src/cuda/batched_matrix_mul/opr_impl.cpp index 32d3fb85..03eddd24 100644 --- a/dnn/src/cuda/batched_matrix_mul/opr_impl.cpp +++ b/dnn/src/cuda/batched_matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/batched_matrix_mul/opr_impl.h" #include "src/cuda/batched_matrix_mul/algo.h" #include "src/cuda/batched_matrix_mul/helper.cuh" diff --git a/dnn/src/cuda/batched_matrix_mul/opr_impl.h b/dnn/src/cuda/batched_matrix_mul/opr_impl.h index cc124175..ace36d9d 100644 --- a/dnn/src/cuda/batched_matrix_mul/opr_impl.h +++ b/dnn/src/cuda/batched_matrix_mul/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/batched_matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/cuda/matrix_mul/cublasLt_wrapper.h" diff --git a/dnn/src/cuda/check_non_finite/kern.cu b/dnn/src/cuda/check_non_finite/kern.cu index 4a829a59..b22e84cf 100644 --- a/dnn/src/cuda/check_non_finite/kern.cu +++ b/dnn/src/cuda/check_non_finite/kern.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/check_non_finite/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/reduce_helper_device.h" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/check_non_finite/opr_impl.cpp b/dnn/src/cuda/check_non_finite/opr_impl.cpp index d0439022..20dfda34 100644 --- a/dnn/src/cuda/check_non_finite/opr_impl.cpp +++ b/dnn/src/cuda/check_non_finite/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/check_non_finite/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/check_non_finite/opr_impl.h" #include "src/cuda/reduce_helper.cuh" diff --git a/dnn/src/cuda/check_non_finite/opr_impl.h b/dnn/src/cuda/check_non_finite/opr_impl.h index f4721338..6e44014f 100644 --- a/dnn/src/cuda/check_non_finite/opr_impl.h +++ b/dnn/src/cuda/check_non_finite/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/check_non_finite/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs/utils.h" diff --git a/dnn/src/cuda/checksum/kern.cu b/dnn/src/cuda/checksum/kern.cu index 81d5b433..d81ac957 100644 --- a/dnn/src/cuda/checksum/kern.cu +++ b/dnn/src/cuda/checksum/kern.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/checksum/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./kern.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/checksum/kern.cuh b/dnn/src/cuda/checksum/kern.cuh index 5e059c6e..37676f39 100644 --- a/dnn/src/cuda/checksum/kern.cuh +++ b/dnn/src/cuda/checksum/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/checksum/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/checksum/opr_impl.cpp b/dnn/src/cuda/checksum/opr_impl.cpp index 1eb29a02..ba33ab34 100644 --- a/dnn/src/cuda/checksum/opr_impl.cpp +++ b/dnn/src/cuda/checksum/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/checksum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/checksum/opr_impl.h b/dnn/src/cuda/checksum/opr_impl.h index 4e385116..16fdac3d 100644 --- a/dnn/src/cuda/checksum/opr_impl.h +++ b/dnn/src/cuda/checksum/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/checksum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/concat/concat.cu b/dnn/src/cuda/concat/concat.cu index 27246348..df347c16 100644 --- a/dnn/src/cuda/concat/concat.cu +++ b/dnn/src/cuda/concat/concat.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/concat/concat.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/concat/concat.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/concat/concat.cuh b/dnn/src/cuda/concat/concat.cuh index 09cf6336..0361c5db 100644 --- a/dnn/src/cuda/concat/concat.cuh +++ b/dnn/src/cuda/concat/concat.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/concat/concat.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/concat/opr_impl.cpp b/dnn/src/cuda/concat/opr_impl.cpp index bc334fed..302f89cc 100644 --- a/dnn/src/cuda/concat/opr_impl.cpp +++ b/dnn/src/cuda/concat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/concat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/concat/opr_impl.h" #include "src/cuda/concat/concat.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/concat/opr_impl.h b/dnn/src/cuda/concat/opr_impl.h index df1838e0..ca8d205d 100644 --- a/dnn/src/cuda/concat/opr_impl.h +++ b/dnn/src/cuda/concat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/concat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/cond_take/kern.cu b/dnn/src/cuda/cond_take/kern.cu index e0bffbb1..5755de1c 100644 --- a/dnn/src/cuda/cond_take/kern.cu +++ b/dnn/src/cuda/cond_take/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./kern.cuh" #include "src/common/cond_take/predicate.cuh" diff --git a/dnn/src/cuda/cond_take/kern.cuh b/dnn/src/cuda/cond_take/kern.cuh index ec739794..e7a5e7d2 100644 --- a/dnn/src/cuda/cond_take/kern.cuh +++ b/dnn/src/cuda/cond_take/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/cond_take/kern.inl b/dnn/src/cuda/cond_take/kern.inl index 9a7622b8..0606ad68 100644 --- a/dnn/src/cuda/cond_take/kern.inl +++ b/dnn/src/cuda/cond_take/kern.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/kern.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./kern.cuh" #include "src/common/cond_take/predicate.cuh" diff --git a/dnn/src/cuda/cond_take/opr_impl.cpp b/dnn/src/cuda/cond_take/opr_impl.cpp index bdedc920..aa375c83 100644 --- a/dnn/src/cuda/cond_take/opr_impl.cpp +++ b/dnn/src/cuda/cond_take/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" #include "src/common/cond_take/predicate.cuh" diff --git a/dnn/src/cuda/cond_take/opr_impl.h b/dnn/src/cuda/cond_take/opr_impl.h index c4ec6572..5bc9400b 100644 --- a/dnn/src/cuda/cond_take/opr_impl.h +++ b/dnn/src/cuda/cond_take/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cond_take/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/cuda/conv_bias/algo.cpp b/dnn/src/cuda/conv_bias/algo.cpp index 602aae54..f56d0699 100644 --- a/dnn/src/cuda/conv_bias/algo.cpp +++ b/dnn/src/cuda/conv_bias/algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/algo.h b/dnn/src/cuda/conv_bias/algo.h index a404d483..1af92c26 100644 --- a/dnn/src/cuda/conv_bias/algo.h +++ b/dnn/src/cuda/conv_bias/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/conv_bias/batched_matmul.cpp b/dnn/src/cuda/conv_bias/batched_matmul.cpp index 46a88fe0..c5d8d984 100644 --- a/dnn/src/cuda/conv_bias/batched_matmul.cpp +++ b/dnn/src/cuda/conv_bias/batched_matmul.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/batched_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/common/algo_chooser.h" #include "src/common/conv_bias.h" diff --git a/dnn/src/cuda/conv_bias/bfloat16.cpp b/dnn/src/cuda/conv_bias/bfloat16.cpp index 66d53f49..ff003390 100644 --- a/dnn/src/cuda/conv_bias/bfloat16.cpp +++ b/dnn/src/cuda/conv_bias/bfloat16.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/conv_bias/chanwise.cpp b/dnn/src/cuda/conv_bias/chanwise.cpp index c20a2645..cbf182a1 100644 --- a/dnn/src/cuda/conv_bias/chanwise.cpp +++ b/dnn/src/cuda/conv_bias/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/chanwise/kern.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh b/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh index c458a1ae..63692ccb 100644 --- a/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh +++ b/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace { #define DIVUP(x, y) (((x) + (y)-1) / (y)) diff --git a/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter_algo.cuh b/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter_algo.cuh index af2d001c..9ea8724c 100644 --- a/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter_algo.cuh +++ b/dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter_algo.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/depthwise_large_filter_algo.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "depthwise_large_filter.cuh" #include "src/cuda/cuda_shfl_compat.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/fwd.cu b/dnn/src/cuda/conv_bias/chanwise/fwd.cu index dd0a36c7..9bdb4939 100644 --- a/dnn/src/cuda/conv_bias/chanwise/fwd.cu +++ b/dnn/src/cuda/conv_bias/chanwise/fwd.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/fwd.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "cuda.h" #include "cuda_fp16.h" #include "src/cuda/conv_bias/chanwise/kern.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu b/dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu index 7a09064f..406acc3a 100644 --- a/dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu +++ b/dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/fwd_8x8x32.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/chanwise/kern.cuh" #include diff --git a/dnn/src/cuda/conv_bias/chanwise/fwd_large_filter.cu b/dnn/src/cuda/conv_bias/chanwise/fwd_large_filter.cu index ef643efc..c57f5685 100644 --- a/dnn/src/cuda/conv_bias/chanwise/fwd_large_filter.cu +++ b/dnn/src/cuda/conv_bias/chanwise/fwd_large_filter.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/fwd_depthwise_large_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "cuda.h" #include "cuda_fp16.h" #include "src/cuda/conv_bias/chanwise/kern.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/fwd_small.cu b/dnn/src/cuda/conv_bias/chanwise/fwd_small.cu index 43489a18..0cc9cb9b 100644 --- a/dnn/src/cuda/conv_bias/chanwise/fwd_small.cu +++ b/dnn/src/cuda/conv_bias/chanwise/fwd_small.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/fwd_small.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "cuda.h" #include "cuda_fp16.h" #include "src/cuda/conv_bias/chanwise/kern.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/kern.cuh b/dnn/src/cuda/conv_bias/chanwise/kern.cuh index 15cb5ec5..9900a498 100644 --- a/dnn/src/cuda/conv_bias/chanwise/kern.cuh +++ b/dnn/src/cuda/conv_bias/chanwise/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh b/dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh index ab270364..a4e1390b 100644 --- a/dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh +++ b/dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/kern_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/conv_bias/chanwise/launch_config.cpp b/dnn/src/cuda/conv_bias/chanwise/launch_config.cpp index c1186f40..b3279faa 100644 --- a/dnn/src/cuda/conv_bias/chanwise/launch_config.cpp +++ b/dnn/src/cuda/conv_bias/chanwise/launch_config.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/launch_config.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/conv_bias/chanwise/launch_config.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/chanwise/launch_config.cuh b/dnn/src/cuda/conv_bias/chanwise/launch_config.cuh index 548d55e1..f627e09a 100644 --- a/dnn/src/cuda/conv_bias/chanwise/launch_config.cuh +++ b/dnn/src/cuda/conv_bias/chanwise/launch_config.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/launch_config.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.cuh" namespace megdnn { diff --git a/dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp b/dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp index 81da20f2..edc16fdd 100644 --- a/dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp +++ b/dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise_8x8x32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "src/common/conv_bias.h" diff --git a/dnn/src/cuda/conv_bias/chanwise_small.cpp b/dnn/src/cuda/conv_bias/chanwise_small.cpp index 7cd01cd0..683c3313 100644 --- a/dnn/src/cuda/conv_bias/chanwise_small.cpp +++ b/dnn/src/cuda/conv_bias/chanwise_small.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise_small.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/chanwise/kern.cuh" diff --git a/dnn/src/cuda/conv_bias/conv_bias_int8.cuh b/dnn/src/cuda/conv_bias/conv_bias_int8.cuh index ad25acfa..e5859056 100644 --- a/dnn/src/cuda/conv_bias/conv_bias_int8.cuh +++ b/dnn/src/cuda/conv_bias/conv_bias_int8.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/conv_bias_int8.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/parameter.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/conv_nchwqs8.cpp b/dnn/src/cuda/conv_bias/conv_nchwqs8.cpp index 778781fb..19c5c99e 100644 --- a/dnn/src/cuda/conv_bias/conv_nchwqs8.cpp +++ b/dnn/src/cuda/conv_bias/conv_nchwqs8.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/conv_nchwqs8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/cudnn_wrapper.h" diff --git a/dnn/src/cuda/conv_bias/cudnn_conv.cpp b/dnn/src/cuda/conv_bias/cudnn_conv.cpp index 5254974a..459c48bd 100644 --- a/dnn/src/cuda/conv_bias/cudnn_conv.cpp +++ b/dnn/src/cuda/conv_bias/cudnn_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/cudnn_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/cudnn_wrapper.h" diff --git a/dnn/src/cuda/conv_bias/cudnn_conv_bias_activation.cpp b/dnn/src/cuda/conv_bias/cudnn_conv_bias_activation.cpp index 54cf04d9..cc4bb1f5 100644 --- a/dnn/src/cuda/conv_bias/cudnn_conv_bias_activation.cpp +++ b/dnn/src/cuda/conv_bias/cudnn_conv_bias_activation.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/cudnn_conv_bias_activation.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "./algo.h" diff --git a/dnn/src/cuda/conv_bias/cutlass_convolution_base.cpp b/dnn/src/cuda/conv_bias/cutlass_convolution_base.cpp index bcd3d688..28a336c9 100644 --- a/dnn/src/cuda/conv_bias/cutlass_convolution_base.cpp +++ b/dnn/src/cuda/conv_bias/cutlass_convolution_base.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/cutlass_convolution_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" #include "src/cuda/cutlass/singleton.h" diff --git a/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu b/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu index 47875acc..c2f54beb 100644 --- a/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu +++ b/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/cutlass_reorder_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/cutlass_reorder_filter.cuh" #include "src/cuda/integer_subbyte_utils.cuh" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh b/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh index 69500284..9ed3b2cc 100644 --- a/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh +++ b/dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/cutlass_reorder_filter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/depthwise_large_filter.cpp b/dnn/src/cuda/conv_bias/depthwise_large_filter.cpp index ee21ffd1..7ea4f852 100644 --- a/dnn/src/cuda/conv_bias/depthwise_large_filter.cpp +++ b/dnn/src/cuda/conv_bias/depthwise_large_filter.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/depthwise_large_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh" #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" diff --git a/dnn/src/cuda/conv_bias/group_conv.cpp b/dnn/src/cuda/conv_bias/group_conv.cpp index f456ba88..e27c5a39 100644 --- a/dnn/src/cuda/conv_bias/group_conv.cpp +++ b/dnn/src/cuda/conv_bias/group_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" diff --git a/dnn/src/cuda/conv_bias/helper.cpp b/dnn/src/cuda/conv_bias/helper.cpp index fab76fc0..6ecf0d2b 100644 --- a/dnn/src/cuda/conv_bias/helper.cpp +++ b/dnn/src/cuda/conv_bias/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/helper.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/helper.h b/dnn/src/cuda/conv_bias/helper.h index f3d38c5c..f28008f4 100644 --- a/dnn/src/cuda/conv_bias/helper.h +++ b/dnn/src/cuda/conv_bias/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./opr_impl.h" diff --git a/dnn/src/cuda/conv_bias/implicit_batched_gemm_float16_nchw_hmma.cpp b/dnn/src/cuda/conv_bias/implicit_batched_gemm_float16_nchw_hmma.cpp index 3aba41d7..0f4fdb30 100644 --- a/dnn/src/cuda/conv_bias/implicit_batched_gemm_float16_nchw_hmma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_batched_gemm_float16_nchw_hmma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_batched_gemm_float16_nchw_hmma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/convolution_helper/parameter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_batched_gemm_float32_nchw_fma.cpp b/dnn/src/cuda/conv_bias/implicit_batched_gemm_float32_nchw_fma.cpp index cd40a1fd..598506b6 100644 --- a/dnn/src/cuda/conv_bias/implicit_batched_gemm_float32_nchw_fma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_batched_gemm_float32_nchw_fma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_batched_gemm_float32_nchw_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/convolution_helper/parameter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nchw64_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nchw64_imma.cpp index 4a6b6362..a87ee7a6 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nchw64_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nchw64_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nchw64_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nhwc_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nhwc_imma.cpp index 6616d27d..24a43243 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nhwc_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nhwc_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int4_int4_nhwc_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int4_nchw64_imma_base.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int4_nchw64_imma_base.cpp index 7a2d672b..1e2f5685 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int4_nchw64_imma_base.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int4_nchw64_imma_base.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int4_nchw64_imma_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/cutlass_reorder_filter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int4_nhwc_imma_base.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int4_nhwc_imma_base.cpp index aa3485cd..3b1020be 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int4_nhwc_imma_base.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int4_nhwc_imma_base.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int4_nhwc_imma_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/cutlass_reorder_filter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp index 52f2e47b..bc372107 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/common/conv_bias.h" #include "src/cuda/convolution_helper/bias_visitor.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma.cpp index 98598ebb..d7083ad7 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/common/conv_bias.h" #include "src/cuda/convolution_helper/bias_visitor.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_reorder_filter.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_reorder_filter.cpp index 8080086d..9931a58f 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_reorder_filter.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_reorder_filter.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_reorder_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/common/conv_bias.h" #include "src/cuda/convolution_helper/bias_visitor.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_unroll_width.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_unroll_width.cpp index 1e707076..28e1b065 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_unroll_width.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_unroll_width.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_chwn4_imma_unroll_width.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/convolution_helper/bias_visitor.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw32_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw32_imma.cpp index 9d96c554..4f13f481 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw32_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw32_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw32_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/cutlass_reorder_filter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp index 7173bec4..771b4cc5 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/convolution_helper/parameter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_imma.cpp index 70856f6c..b121a428 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_imma.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_nchw4_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/common/conv_bias.h" #include "src/cuda/convolution_helper/bias_visitor.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nhwc_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nhwc_imma.cpp index ba166189..0d874899 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_int8_nhwc_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_int8_nhwc_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_int8_nhwc_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/cutlass_reorder_filter.cuh" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nchw64_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nchw64_imma.cpp index fb5f0608..a7694127 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nchw64_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nchw64_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nchw64_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/reduce_filter.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nhwc_imma.cpp b/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nhwc_imma.cpp index 9ef73cca..e39d3468 100644 --- a/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nhwc_imma.cpp +++ b/dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nhwc_imma.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/implicit_gemm_uint4_int4_nhwc_imma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/reduce_filter.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/inplace_matmul.cpp b/dnn/src/cuda/conv_bias/inplace_matmul.cpp index d6317078..0b7402e4 100644 --- a/dnn/src/cuda/conv_bias/inplace_matmul.cpp +++ b/dnn/src/cuda/conv_bias/inplace_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/inplace_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh" diff --git a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl index 61e5b48f..d755250b 100644 --- a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl +++ b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl index fa3c3527..71645194 100644 --- a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl +++ b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl index d9ec030c..4e46d64f 100644 --- a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl +++ b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_ld_64bit_unroll_width.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl index d97450b3..04ce3339 100644 --- a/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl +++ b/dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8/conv_bias_int8_implicit_gemm_cdiv4hwn4_unroll_width.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl index e341baa3..b35c4001 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl index 2056785d..402f87e1 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_reorder_filter.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl index 70140f16..f49a8e59 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma16x16x16_cdiv4hwn4_unroll_width.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl index e52d1835..cfd2572f 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl index 2c7fb934..36c4edde 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_reorder_filter.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl index 025b3781..6bcf31eb 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma32x8x16_cdiv4hwn4_unroll_width.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl index ced120a0..7f42e16f 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl index 77057dac..607c5003 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_reorder_filter.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl index 536d0b98..a44ee097 100644 --- a/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl +++ b/dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/int8_imma/conv_bias_int8_implicit_gemm_imma8x32x16_cdiv4hwn4_unroll_width.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/conv_bias_int8.cuh" #include "src/cuda/convolution_helper/kernel.cuh" diff --git a/dnn/src/cuda/conv_bias/matmul.cpp b/dnn/src/cuda/conv_bias/matmul.cpp index ae0061af..d6f7c4e3 100644 --- a/dnn/src/cuda/conv_bias/matmul.cpp +++ b/dnn/src/cuda/conv_bias/matmul.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" diff --git a/dnn/src/cuda/conv_bias/matmul/im2col.cu b/dnn/src/cuda/conv_bias/matmul/im2col.cu index 57cff64f..2651bd95 100644 --- a/dnn/src/cuda/conv_bias/matmul/im2col.cu +++ b/dnn/src/cuda/conv_bias/matmul/im2col.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/im2col.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "src/cuda/conv_bias/matmul/im2col.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/matmul/im2col.cuh b/dnn/src/cuda/conv_bias/matmul/im2col.cuh index 88123f46..f46d7707 100644 --- a/dnn/src/cuda/conv_bias/matmul/im2col.cuh +++ b/dnn/src/cuda/conv_bias/matmul/im2col.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/im2col.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu b/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu index 4fe99fea..6a7f58a4 100644 --- a/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu +++ b/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh b/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh index e6f3b9cf..531856e2 100644 --- a/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh +++ b/dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu b/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu index be44c449..6bea3f0a 100644 --- a/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu +++ b/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh b/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh index 8c0aab1a..b3a8ff27 100644 --- a/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh +++ b/dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul/inplace_matmul_impl.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/conv_bias/matmul_8x8x32.cpp b/dnn/src/cuda/conv_bias/matmul_8x8x32.cpp index 0300f2d6..4acb3ff5 100644 --- a/dnn/src/cuda/conv_bias/matmul_8x8x32.cpp +++ b/dnn/src/cuda/conv_bias/matmul_8x8x32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/matmul_8x8x32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/conv_bias.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/conv_bias/matmul/im2col_nhwc_int8.cuh" diff --git a/dnn/src/cuda/conv_bias/opr_impl.cpp b/dnn/src/cuda/conv_bias/opr_impl.cpp index e8255c6b..2c88af5f 100644 --- a/dnn/src/cuda/conv_bias/opr_impl.cpp +++ b/dnn/src/cuda/conv_bias/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/conv_bias/opr_impl.h" #include "megdnn/dtype.h" #include "src/cuda/conv_bias/algo.h" diff --git a/dnn/src/cuda/conv_bias/opr_impl.h b/dnn/src/cuda/conv_bias/opr_impl.h index 98f4890c..3ec528ad 100644 --- a/dnn/src/cuda/conv_bias/opr_impl.h +++ b/dnn/src/cuda/conv_bias/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "../elemwise/opr_impl.h" #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp b/dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp index 25e81b59..85510994 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/handle.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cpp b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cpp index 41004eb1..af03b610 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cpp +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cpp @@ -1,29 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * This file has been modified by Megvii ("Megvii Modifications"). - * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights reserved. - */ - -/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -==============================================================================*/ - #include "src/cuda/query_blocksize.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cu b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cu index 708a98e7..b7d1c58f 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cu +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./activation_u4.cuh" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cuh b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cuh index c46bf70a..88deedbf 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cuh +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/activation_u4.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.cuh" namespace megdnn { diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cu b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cu index c436eb47..ef078f5e 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cu +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./reduce_with_scale_data.cuh" #include "./wmma_conv_integer_u4.cuh" #include "src/cuda/cub/util_ptx.cuh" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cuh b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cuh index 28d90f09..bf726999 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cuh +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/reduce_with_scale_data.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.cuh" namespace megdnn { diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4.cuh b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4.cuh index c0d4983a..363b90ac 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4.cuh +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #if CUDA_VERSION >= 10000 diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu index 9040add0..c219046a 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_1xfw.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.cuh" #include "wmma_conv_integer_u4.cuh" diff --git a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu index 8b0d56e7..5e99fd27 100644 --- a/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu +++ b/dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/quint4x4x32_wmma/wmma_conv_integer_u4_fhxfw.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/cuda/utils.cuh" #include "wmma_conv_integer_u4.cuh" diff --git a/dnn/src/cuda/conv_bias/reduce_filter.cu b/dnn/src/cuda/conv_bias/reduce_filter.cu index 28d027e3..6bbcfa72 100644 --- a/dnn/src/cuda/conv_bias/reduce_filter.cu +++ b/dnn/src/cuda/conv_bias/reduce_filter.cu @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/reduce_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./reduce_filter.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/conv_bias/reduce_filter.cuh b/dnn/src/cuda/conv_bias/reduce_filter.cuh index a857ff25..e8ae836b 100644 --- a/dnn/src/cuda/conv_bias/reduce_filter.cuh +++ b/dnn/src/cuda/conv_bias/reduce_filter.cuh @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/conv_bias/reduce_filter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include diff --git a/dnn/src/cuda/conv_bias/simple_int1.cpp b/dnn/src/cuda/conv_bias/simple_int1.cpp index ffaffda7..82a4322e 100644 --- a/dnn/src/cuda/conv_bias/simple_int1.cpp +++ b/dnn/src/cuda/conv_bias/simple_int1.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/simple_int1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/cuda/conv_bias/algo.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/convolution/backward_data/algo.cpp b/dnn/src/cuda/convolution/backward_data/algo.cpp index 8f00ee17..bc6e16dc 100644 --- a/dnn/src/cuda/convolution/backward_data/algo.cpp +++ b/dnn/src/cuda/convolution/backward_data/algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_data/algo.h b/dnn/src/cuda/convolution/backward_data/algo.h index a4f5536c..b23f44dd 100644 --- a/dnn/src/cuda/convolution/backward_data/algo.h +++ b/dnn/src/cuda/convolution/backward_data/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/convolution/backward_data/bfloat16.cpp b/dnn/src/cuda/convolution/backward_data/bfloat16.cpp index c4798a40..dd300998 100644 --- a/dnn/src/cuda/convolution/backward_data/bfloat16.cpp +++ b/dnn/src/cuda/convolution/backward_data/bfloat16.cpp @@ -1,14 +1,3 @@ -/** - * \file src/cuda/convolution/backward_data/bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/common/algo_base.h" #include "src/cuda/convolution/chanwise/kern.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/chanwise.cpp b/dnn/src/cuda/convolution/backward_data/chanwise.cpp index 78b8e508..5d75264c 100644 --- a/dnn/src/cuda/convolution/backward_data/chanwise.cpp +++ b/dnn/src/cuda/convolution/backward_data/chanwise.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "src/cuda/convolution/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_data/chanwise_small.cpp b/dnn/src/cuda/convolution/backward_data/chanwise_small.cpp index 4439cc38..ef10c688 100644 --- a/dnn/src/cuda/convolution/backward_data/chanwise_small.cpp +++ b/dnn/src/cuda/convolution/backward_data/chanwise_small.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/chanwise_small.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/convolution/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_data/cudnn.cpp b/dnn/src/cuda/convolution/backward_data/cudnn.cpp index f994d968..b5aac9dd 100644 --- a/dnn/src/cuda/convolution/backward_data/cudnn.cpp +++ b/dnn/src/cuda/convolution/backward_data/cudnn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/cudnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/conv_bias/helper.h" diff --git a/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cu b/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cu index d333d474..92d1427f 100644 --- a/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cu +++ b/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cu @@ -1,15 +1,3 @@ -/** - * \file src/cuda/convolution/backward_data/deconv_int8_helper.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/deconv_int8_helper.cuh" #include "src/cuda/transpose_utils.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cuh b/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cuh index 3e5f2d11..5d1d2187 100644 --- a/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cuh +++ b/dnn/src/cuda/convolution/backward_data/deconv_int8_helper.cuh @@ -1,14 +1,3 @@ -/** - * \file src/cuda/convolution/backward_data/deconv_int8_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/depthwise_large_filter.cpp b/dnn/src/cuda/convolution/backward_data/depthwise_large_filter.cpp index b5c3c544..4ad83df5 100644 --- a/dnn/src/cuda/convolution/backward_data/depthwise_large_filter.cpp +++ b/dnn/src/cuda/convolution/backward_data/depthwise_large_filter.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/depthwise_large_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/conv_bias/chanwise/depthwise_large_filter.cuh" #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/convolution/chanwise/kern.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/group_conv.cpp b/dnn/src/cuda/convolution/backward_data/group_conv.cpp index df7d61bd..e2472ec8 100644 --- a/dnn/src/cuda/convolution/backward_data/group_conv.cpp +++ b/dnn/src/cuda/convolution/backward_data/group_conv.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float16_nchw_hmma.cpp b/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float16_nchw_hmma.cpp index f26207ed..00b49f6c 100644 --- a/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float16_nchw_hmma.cpp +++ b/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float16_nchw_hmma.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float16_nchw_hmma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/cutlass/singleton.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float32_nchw_fma.cpp b/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float32_nchw_fma.cpp index 0039bb37..c007ce08 100644 --- a/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float32_nchw_fma.cpp +++ b/dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float32_nchw_fma.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_data/implicit_batched_gemm_float32_nchw_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/cutlass/singleton.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp index 0ef36905..59cb8060 100644 --- a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp +++ b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/convolution/backward_data/deconv_int8_helper.cuh" #include "src/cuda/convolution_helper/parameter.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw_dp4a.cpp b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw_dp4a.cpp index eb93f77a..5429be94 100644 --- a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw_dp4a.cpp +++ b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw_dp4a.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/convolution_helper/parameter.cuh" #include "src/cuda/cutlass/singleton.h" diff --git a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nhwc_imma.cpp b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nhwc_imma.cpp index 7f71e9e8..fcfb289b 100644 --- a/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nhwc_imma.cpp +++ b/dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nhwc_imma.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_data/implicit_gemm_int8_nchw4_dp4a.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_data/algo.h" #include "src/cuda/convolution/backward_data/deconv_int8_helper.cuh" #include "src/cuda/convolution_helper/parameter.cuh" diff --git a/dnn/src/cuda/convolution/backward_data/matmul.cpp b/dnn/src/cuda/convolution/backward_data/matmul.cpp index 03a9619f..ecfe2624 100644 --- a/dnn/src/cuda/convolution/backward_data/matmul.cpp +++ b/dnn/src/cuda/convolution/backward_data/matmul.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_data/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "src/common/algo_base.h" #include "src/cuda/convolution/helper.h" diff --git a/dnn/src/cuda/convolution/backward_filter/algo.cpp b/dnn/src/cuda/convolution/backward_filter/algo.cpp index 5246714b..a0ffc674 100644 --- a/dnn/src/cuda/convolution/backward_filter/algo.cpp +++ b/dnn/src/cuda/convolution/backward_filter/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_filter/algo.h b/dnn/src/cuda/convolution/backward_filter/algo.h index f4869416..e5545f8b 100644 --- a/dnn/src/cuda/convolution/backward_filter/algo.h +++ b/dnn/src/cuda/convolution/backward_filter/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/convolution/backward_filter/bfloat16.cpp b/dnn/src/cuda/convolution/backward_filter/bfloat16.cpp index 58ae0413..14079434 100644 --- a/dnn/src/cuda/convolution/backward_filter/bfloat16.cpp +++ b/dnn/src/cuda/convolution/backward_filter/bfloat16.cpp @@ -1,15 +1,3 @@ -/** - * \file src/cuda/convolution/backward_filter/bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "src/common/algo_base.h" #include "src/cuda/convolution/chanwise/kern.cuh" diff --git a/dnn/src/cuda/convolution/backward_filter/chanwise.cpp b/dnn/src/cuda/convolution/backward_filter/chanwise.cpp index c8d8e27e..b411607e 100644 --- a/dnn/src/cuda/convolution/backward_filter/chanwise.cpp +++ b/dnn/src/cuda/convolution/backward_filter/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_filter/cudnn.cpp b/dnn/src/cuda/convolution/backward_filter/cudnn.cpp index bb9821e4..6128b950 100644 --- a/dnn/src/cuda/convolution/backward_filter/cudnn.cpp +++ b/dnn/src/cuda/convolution/backward_filter/cudnn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/cudnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/conv_bias/helper.h" diff --git a/dnn/src/cuda/convolution/backward_filter/group_conv.cpp b/dnn/src/cuda/convolution/backward_filter/group_conv.cpp index 5d497910..5928797e 100644 --- a/dnn/src/cuda/convolution/backward_filter/group_conv.cpp +++ b/dnn/src/cuda/convolution/backward_filter/group_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float16_nchw_hmma.cpp b/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float16_nchw_hmma.cpp index 4289d184..82c5c60e 100644 --- a/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float16_nchw_hmma.cpp +++ b/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float16_nchw_hmma.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float16_nchw_hmma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_filter/algo.h" #include "src/cuda/cutlass/singleton.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float32_nchw_fma.cpp b/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float32_nchw_fma.cpp index 68491ac2..5f6a2060 100644 --- a/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float32_nchw_fma.cpp +++ b/dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float32_nchw_fma.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/cuda/convolution/backward_filter/implicit_batched_gemm_float32_nchw_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/backward_filter/algo.h" #include "src/cuda/cutlass/singleton.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/backward_filter/matmul.cpp b/dnn/src/cuda/convolution/backward_filter/matmul.cpp index dd56fae8..a1ea9064 100644 --- a/dnn/src/cuda/convolution/backward_filter/matmul.cpp +++ b/dnn/src/cuda/convolution/backward_filter/matmul.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/backward_filter/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "src/common/algo_base.h" #include "src/cuda/convolution/helper.h" diff --git a/dnn/src/cuda/convolution/chanwise/bwd_data.cu b/dnn/src/cuda/convolution/chanwise/bwd_data.cu index ea58a1cf..7f4ca87f 100644 --- a/dnn/src/cuda/convolution/chanwise/bwd_data.cu +++ b/dnn/src/cuda/convolution/chanwise/bwd_data.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/bwd_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" #include "cuda_fp16.h" diff --git a/dnn/src/cuda/convolution/chanwise/bwd_filter.cu b/dnn/src/cuda/convolution/chanwise/bwd_filter.cu index 911806fe..63a749f4 100644 --- a/dnn/src/cuda/convolution/chanwise/bwd_filter.cu +++ b/dnn/src/cuda/convolution/chanwise/bwd_filter.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/bwd_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" #include "cuda_fp16.h" diff --git a/dnn/src/cuda/convolution/chanwise/bwd_large_filter.cu b/dnn/src/cuda/convolution/chanwise/bwd_large_filter.cu index f1a8b770..c8bf0b59 100644 --- a/dnn/src/cuda/convolution/chanwise/bwd_large_filter.cu +++ b/dnn/src/cuda/convolution/chanwise/bwd_large_filter.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/conv_bias/chanwise/bwd_large_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" #include "cuda.h" diff --git a/dnn/src/cuda/convolution/chanwise/kern.cuh b/dnn/src/cuda/convolution/chanwise/kern.cuh index 1a38fa18..3b1796be 100644 --- a/dnn/src/cuda/convolution/chanwise/kern.cuh +++ b/dnn/src/cuda/convolution/chanwise/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution/chanwise/kern_helper.cuh b/dnn/src/cuda/convolution/chanwise/kern_helper.cuh index e58c4ce4..4ec92cbc 100644 --- a/dnn/src/cuda/convolution/chanwise/kern_helper.cuh +++ b/dnn/src/cuda/convolution/chanwise/kern_helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/kern_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/convolution/chanwise/launch_config.cpp b/dnn/src/cuda/convolution/chanwise/launch_config.cpp index 2ad0cf83..6ff73b66 100644 --- a/dnn/src/cuda/convolution/chanwise/launch_config.cpp +++ b/dnn/src/cuda/convolution/chanwise/launch_config.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/launch_config.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/convolution/chanwise/launch_config.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution/chanwise/launch_config.cuh b/dnn/src/cuda/convolution/chanwise/launch_config.cuh index 889a6100..1d225355 100644 --- a/dnn/src/cuda/convolution/chanwise/launch_config.cuh +++ b/dnn/src/cuda/convolution/chanwise/launch_config.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/chanwise/launch_config.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.cuh" namespace megdnn { diff --git a/dnn/src/cuda/convolution/forward/algos.cpp b/dnn/src/cuda/convolution/forward/algos.cpp index ff66e3b3..44490344 100644 --- a/dnn/src/cuda/convolution/forward/algos.cpp +++ b/dnn/src/cuda/convolution/forward/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/forward/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/forward/algos.h" #include "src/common/algo_base.h" #include "src/common/algo_chooser.h" diff --git a/dnn/src/cuda/convolution/forward/algos.h b/dnn/src/cuda/convolution/forward/algos.h index 7825905d..39680c72 100644 --- a/dnn/src/cuda/convolution/forward/algos.h +++ b/dnn/src/cuda/convolution/forward/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/forward/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/convolution/helper.cpp b/dnn/src/cuda/convolution/helper.cpp index dfab0eea..72d03609 100644 --- a/dnn/src/cuda/convolution/helper.cpp +++ b/dnn/src/cuda/convolution/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution/helper.h b/dnn/src/cuda/convolution/helper.h index 95f51b2c..f17a9d17 100644 --- a/dnn/src/cuda/convolution/helper.h +++ b/dnn/src/cuda/convolution/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./opr_impl.h" diff --git a/dnn/src/cuda/convolution/im2col.cu b/dnn/src/cuda/convolution/im2col.cu index e1369490..c2620f9d 100644 --- a/dnn/src/cuda/convolution/im2col.cu +++ b/dnn/src/cuda/convolution/im2col.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/im2col.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./im2col.cuh" #include "megdnn/dtype.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution/im2col.cuh b/dnn/src/cuda/convolution/im2col.cuh index 1dfef03d..d4a83bbc 100644 --- a/dnn/src/cuda/convolution/im2col.cuh +++ b/dnn/src/cuda/convolution/im2col.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/im2col.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/convolution/opr_impl.cpp b/dnn/src/cuda/convolution/opr_impl.cpp index 5ef7404f..ffbbadd3 100644 --- a/dnn/src/cuda/convolution/opr_impl.cpp +++ b/dnn/src/cuda/convolution/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/convolution/opr_impl.h" #include "megdnn/dtype.h" #include "src/common/algo_chooser.h" diff --git a/dnn/src/cuda/convolution/opr_impl.h b/dnn/src/cuda/convolution/opr_impl.h index 77a70bf8..0c26aad5 100644 --- a/dnn/src/cuda/convolution/opr_impl.h +++ b/dnn/src/cuda/convolution/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/cuda/convolution3d/backward_data/algo.cpp b/dnn/src/cuda/convolution3d/backward_data/algo.cpp index b448c622..b9567697 100644 --- a/dnn/src/cuda/convolution3d/backward_data/algo.cpp +++ b/dnn/src/cuda/convolution3d/backward_data/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_data/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/backward_data/algo.h b/dnn/src/cuda/convolution3d/backward_data/algo.h index 82fc6f8f..970750cd 100644 --- a/dnn/src/cuda/convolution3d/backward_data/algo.h +++ b/dnn/src/cuda/convolution3d/backward_data/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_data/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/convolution3d/backward_data/chanwise.cpp b/dnn/src/cuda/convolution3d/backward_data/chanwise.cpp index 601403a1..4094cd72 100644 --- a/dnn/src/cuda/convolution3d/backward_data/chanwise.cpp +++ b/dnn/src/cuda/convolution3d/backward_data/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_data/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/backward_data/cudnn.cpp b/dnn/src/cuda/convolution3d/backward_data/cudnn.cpp index d54f2163..504ae12b 100644 --- a/dnn/src/cuda/convolution3d/backward_data/cudnn.cpp +++ b/dnn/src/cuda/convolution3d/backward_data/cudnn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_data/cudnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/helper.h" diff --git a/dnn/src/cuda/convolution3d/backward_data/group_conv.cpp b/dnn/src/cuda/convolution3d/backward_data/group_conv.cpp index 16aa6724..f62a794c 100644 --- a/dnn/src/cuda/convolution3d/backward_data/group_conv.cpp +++ b/dnn/src/cuda/convolution3d/backward_data/group_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_data/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution3d/backward_filter/algo.cpp b/dnn/src/cuda/convolution3d/backward_filter/algo.cpp index e97c4f0e..0eee0e1b 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/algo.cpp +++ b/dnn/src/cuda/convolution3d/backward_filter/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/backward_filter/algo.h b/dnn/src/cuda/convolution3d/backward_filter/algo.h index 89f4de6b..4cdab675 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/algo.h +++ b/dnn/src/cuda/convolution3d/backward_filter/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/convolution3d/backward_filter/chanwise.cpp b/dnn/src/cuda/convolution3d/backward_filter/chanwise.cpp index 993ab7f1..4b6493c2 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/chanwise.cpp +++ b/dnn/src/cuda/convolution3d/backward_filter/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/backward_filter/cudnn.cpp b/dnn/src/cuda/convolution3d/backward_filter/cudnn.cpp index 2745970d..98a15c72 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/cudnn.cpp +++ b/dnn/src/cuda/convolution3d/backward_filter/cudnn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/cudnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/helper.h" diff --git a/dnn/src/cuda/convolution3d/backward_filter/group_conv.cpp b/dnn/src/cuda/convolution3d/backward_filter/group_conv.cpp index 0ffd0911..7ad76e63 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/group_conv.cpp +++ b/dnn/src/cuda/convolution3d/backward_filter/group_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul.cpp b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul.cpp index 583d3832..10812648 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul.cpp +++ b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/inplace_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "./inplace_matmul_impl.cuh" diff --git a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cu b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cu index 9053adec..309c2a0c 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cu +++ b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include #include "./inplace_matmul_impl.cuh" diff --git a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cuh b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cuh index 9bdccdd1..4be6aaac 100644 --- a/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cuh +++ b/dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/backward_filter/inplace_matmul_impl.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/convolution3d/chanwise/bwd_data.cu b/dnn/src/cuda/convolution3d/chanwise/bwd_data.cu index 7fcbf3b6..30b69f96 100644 --- a/dnn/src/cuda/convolution3d/chanwise/bwd_data.cu +++ b/dnn/src/cuda/convolution3d/chanwise/bwd_data.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/chanwise/bwd_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" diff --git a/dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu b/dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu index 16918082..75e560d4 100644 --- a/dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu +++ b/dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/chanwise/bwd_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" diff --git a/dnn/src/cuda/convolution3d/chanwise/fwd.cu b/dnn/src/cuda/convolution3d/chanwise/fwd.cu index c61d7b8c..6629312a 100644 --- a/dnn/src/cuda/convolution3d/chanwise/fwd.cu +++ b/dnn/src/cuda/convolution3d/chanwise/fwd.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/chanwise/fwd.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" diff --git a/dnn/src/cuda/convolution3d/chanwise/kern.cuh b/dnn/src/cuda/convolution3d/chanwise/kern.cuh index d0e56547..933460a2 100644 --- a/dnn/src/cuda/convolution3d/chanwise/kern.cuh +++ b/dnn/src/cuda/convolution3d/chanwise/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/chanwise/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution3d/chanwise/kern_helper.cuh b/dnn/src/cuda/convolution3d/chanwise/kern_helper.cuh index 15ff7fd4..e176b4c1 100644 --- a/dnn/src/cuda/convolution3d/chanwise/kern_helper.cuh +++ b/dnn/src/cuda/convolution3d/chanwise/kern_helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/chanwise/kern_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/convolution3d/forward/1x1x1.cpp b/dnn/src/cuda/convolution3d/forward/1x1x1.cpp index 83fd0a8e..efe40afc 100644 --- a/dnn/src/cuda/convolution3d/forward/1x1x1.cpp +++ b/dnn/src/cuda/convolution3d/forward/1x1x1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/1x1x1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/handle.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution3d/forward/algo.cpp b/dnn/src/cuda/convolution3d/forward/algo.cpp index 503fd0e9..c1d29be8 100644 --- a/dnn/src/cuda/convolution3d/forward/algo.cpp +++ b/dnn/src/cuda/convolution3d/forward/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/forward/algo.h b/dnn/src/cuda/convolution3d/forward/algo.h index f13f6532..199b39ee 100644 --- a/dnn/src/cuda/convolution3d/forward/algo.h +++ b/dnn/src/cuda/convolution3d/forward/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/convolution3d/forward/chanwise.cpp b/dnn/src/cuda/convolution3d/forward/chanwise.cpp index c6b79706..3d28ebeb 100644 --- a/dnn/src/cuda/convolution3d/forward/chanwise.cpp +++ b/dnn/src/cuda/convolution3d/forward/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/chanwise/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/convolution3d/forward/cudnn.cpp b/dnn/src/cuda/convolution3d/forward/cudnn.cpp index f91834dc..65a3bd93 100644 --- a/dnn/src/cuda/convolution3d/forward/cudnn.cpp +++ b/dnn/src/cuda/convolution3d/forward/cudnn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/cudnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/convolution3d/helper.h" #include "src/cuda/cudnn_wrapper.h" diff --git a/dnn/src/cuda/convolution3d/forward/group_conv.cpp b/dnn/src/cuda/convolution3d/forward/group_conv.cpp index 3f63bd95..9802b5ea 100644 --- a/dnn/src/cuda/convolution3d/forward/group_conv.cpp +++ b/dnn/src/cuda/convolution3d/forward/group_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution3d/forward/inplace_matmul.cpp b/dnn/src/cuda/convolution3d/forward/inplace_matmul.cpp index a3ccbd62..bb636c67 100644 --- a/dnn/src/cuda/convolution3d/forward/inplace_matmul.cpp +++ b/dnn/src/cuda/convolution3d/forward/inplace_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/inplace_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "./inplace_matmul_impl.cuh" diff --git a/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cu b/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cu index 56b9cd74..2aa57c8f 100644 --- a/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cu +++ b/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include #include "./inplace_matmul_impl.cuh" diff --git a/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cuh b/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cuh index 7eee3451..30695d85 100644 --- a/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cuh +++ b/dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/forward/inplace_matmul_impl.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/convolution3d/helper.cpp b/dnn/src/cuda/convolution3d/helper.cpp index 1e78196c..8989dbc2 100644 --- a/dnn/src/cuda/convolution3d/helper.cpp +++ b/dnn/src/cuda/convolution3d/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" using namespace megdnn; diff --git a/dnn/src/cuda/convolution3d/helper.h b/dnn/src/cuda/convolution3d/helper.h index a8ca8ebf..c877b3fa 100644 --- a/dnn/src/cuda/convolution3d/helper.h +++ b/dnn/src/cuda/convolution3d/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./opr_impl.h" diff --git a/dnn/src/cuda/convolution3d/opr_impl.cpp b/dnn/src/cuda/convolution3d/opr_impl.cpp index b64a0454..70c1e951 100644 --- a/dnn/src/cuda/convolution3d/opr_impl.cpp +++ b/dnn/src/cuda/convolution3d/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./backward_data/algo.h" #include "./backward_filter/algo.h" diff --git a/dnn/src/cuda/convolution3d/opr_impl.h b/dnn/src/cuda/convolution3d/opr_impl.h index 530cade8..a26114b4 100644 --- a/dnn/src/cuda/convolution3d/opr_impl.h +++ b/dnn/src/cuda/convolution3d/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convolution3d/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/cuda/convolution_helper/activation.cuh b/dnn/src/cuda/convolution_helper/activation.cuh index 51c84035..27b6b3ba 100644 --- a/dnn/src/cuda/convolution_helper/activation.cuh +++ b/dnn/src/cuda/convolution_helper/activation.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/activation.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/opr_param_defs_enumv.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/bias_visitor.cuh b/dnn/src/cuda/convolution_helper/bias_visitor.cuh index 9272ef33..f1863139 100644 --- a/dnn/src/cuda/convolution_helper/bias_visitor.cuh +++ b/dnn/src/cuda/convolution_helper/bias_visitor.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/bias_visitor.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh index 0a9d1d07..82843cb2 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh" #include "src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh index 9aea6a96..c87fbdd8 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh index 5f753bbb..2315c90b 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh index 1c799d47..80b9219e 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_unroll_width.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer.cuh index 129b383e..94e20bac 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer.cuh @@ -23,18 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer_unroll_width.cuh b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer_unroll_width.cuh index 48364213..dc961c47 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer_unroll_width.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer_unroll_width.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_consumer/iconv_imma_block_consumer_unroll_width.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh index 4813ede5..b8dc13c7 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh" #include "src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh index d046d25f..4c8a0bd0 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh @@ -23,18 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_basic.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh index ad3d10b7..c0b2e919 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh @@ -23,18 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/convolution_helper/prologue.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh index 53c7597f..3587be69 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width_v2.cuh b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width_v2.cuh index d71ac497..85c1bd97 100644 --- a/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width_v2.cuh +++ b/dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width_v2.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_unroll_width_v2.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/config.cuh b/dnn/src/cuda/convolution_helper/config.cuh index 6163a357..c15c52ef 100644 --- a/dnn/src/cuda/convolution_helper/config.cuh +++ b/dnn/src/cuda/convolution_helper/config.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/config.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #if CUDA_VERSION >= 10000 diff --git a/dnn/src/cuda/convolution_helper/conv_trait/conv_trait.cuh b/dnn/src/cuda/convolution_helper/conv_trait/conv_trait.cuh index bebce701..07a5e7e1 100644 --- a/dnn/src/cuda/convolution_helper/conv_trait/conv_trait.cuh +++ b/dnn/src/cuda/convolution_helper/conv_trait/conv_trait.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/conv_trait/conv_trait.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh" #include "src/cuda/convolution_helper/conv_trait/iconv_trait.cuh" diff --git a/dnn/src/cuda/convolution_helper/conv_trait/ibatch_conv_trait.cuh b/dnn/src/cuda/convolution_helper/conv_trait/ibatch_conv_trait.cuh index f4c7c6a8..742e96be 100644 --- a/dnn/src/cuda/convolution_helper/conv_trait/ibatch_conv_trait.cuh +++ b/dnn/src/cuda/convolution_helper/conv_trait/ibatch_conv_trait.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/conv_trait/ibatch_conv_trait.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/block_tile_consumer/iconv_block_consumer_coxhw.cuh" #include "src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator_coxhw.cuh" diff --git a/dnn/src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh b/dnn/src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh index 44315177..cb828e7f 100644 --- a/dnn/src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh +++ b/dnn/src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/conv_trait/iconv_imma_trait.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh" #include "src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh" diff --git a/dnn/src/cuda/convolution_helper/conv_trait/iconv_trait.cuh b/dnn/src/cuda/convolution_helper/conv_trait/iconv_trait.cuh index 5adcbdd9..a79ce88a 100644 --- a/dnn/src/cuda/convolution_helper/conv_trait/iconv_trait.cuh +++ b/dnn/src/cuda/convolution_helper/conv_trait/iconv_trait.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/conv_trait/iconv_trait.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/block_tile_consumer/block_consumer.cuh" #include "src/cuda/convolution_helper/block_tile_iterator/block_tile_iterator.cuh" diff --git a/dnn/src/cuda/convolution_helper/epilogue.cuh b/dnn/src/cuda/convolution_helper/epilogue.cuh index ef63bae4..0b3e795b 100644 --- a/dnn/src/cuda/convolution_helper/epilogue.cuh +++ b/dnn/src/cuda/convolution_helper/epilogue.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/epilogue.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/activation.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor.cuh index e0c902ba..a5f38481 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh" #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixhw.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixhw.cuh index 881c8ab9..1db6e46b 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixhw.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixhw.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixhw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh index 63f0ff2c..2e9cacbc 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixn.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh index 208f76e8..4be16970 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_cixwoxn.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh index 5aba8898..f132e158 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_coxci.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_coxci.cuh index d2f0bd3a..9d406bb4 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_coxci.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_coxci.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_coxci.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixn.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixn.cuh index d8e386c6..e345ba27 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixn.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixn.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixn.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwixn.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwixn.cuh index 3a3f2791..b4632539 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwixn.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwixn.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwixn.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwoxn.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwoxn.cuh index 6b55c020..4080bba2 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwoxn.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwoxn.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_cixwoxn.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_fwxco.cuh b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_fwxco.cuh index 6e67bfc3..03e9e475 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_fwxco.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_fwxco.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_imma_fwxco.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_visitor/global_memory_visitor_common.cuh" #include "src/cuda/convolution_helper/layout.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/global_memory_writer.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/global_memory_writer.cuh index 36c80a4c..a2d2e0cf 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/global_memory_writer.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/global_memory_writer.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/global_memory_writer/global_memory_writer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh" #include "src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh" diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh index b495764d..c535b851 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_coxhw.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_coxhw.cuh index 8cedaf10..6fdac897 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_coxhw.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_coxhw.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_coxhw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh index b6892518..60ff832c 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_writer/iconv_global_memory_writer_unroll_width.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer.cuh index f1a82afe..9624b34f 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #if CUDA_VERSION >= 10000 diff --git a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer_unroll_width.cuh b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer_unroll_width.cuh index 8fec1ad1..ec6f61eb 100644 --- a/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer_unroll_width.cuh +++ b/dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer_unroll_width.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file - * dnn/src/cuda/convolution_helper/global_memory_writer/iconv_imma_global_memory_writer_unroll_width.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #if CUDA_VERSION >= 10000 diff --git a/dnn/src/cuda/convolution_helper/kernel.cuh b/dnn/src/cuda/convolution_helper/kernel.cuh index 1821500a..8d2367e5 100644 --- a/dnn/src/cuda/convolution_helper/kernel.cuh +++ b/dnn/src/cuda/convolution_helper/kernel.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/kernel.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/convolution_helper/bias_visitor.cuh" #include "src/cuda/convolution_helper/config.cuh" diff --git a/dnn/src/cuda/convolution_helper/layout.cuh b/dnn/src/cuda/convolution_helper/layout.cuh index 6b851f08..a11983dc 100644 --- a/dnn/src/cuda/convolution_helper/layout.cuh +++ b/dnn/src/cuda/convolution_helper/layout.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/layout.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convolution_helper/parameter.cuh b/dnn/src/cuda/convolution_helper/parameter.cuh index 6736e13e..d5a827d8 100644 --- a/dnn/src/cuda/convolution_helper/parameter.cuh +++ b/dnn/src/cuda/convolution_helper/parameter.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/parameter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/convolution_helper/prologue.cuh b/dnn/src/cuda/convolution_helper/prologue.cuh index 30bff496..5df5f017 100644 --- a/dnn/src/cuda/convolution_helper/prologue.cuh +++ b/dnn/src/cuda/convolution_helper/prologue.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/convolution_helper/prologue.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/convpooling/conv_pooling.cuh b/dnn/src/cuda/convpooling/conv_pooling.cuh index 40c10a72..bed50d4e 100644 --- a/dnn/src/cuda/convpooling/conv_pooling.cuh +++ b/dnn/src/cuda/convpooling/conv_pooling.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/conv_pooling.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "./conv_pooling.h" diff --git a/dnn/src/cuda/convpooling/conv_pooling.h b/dnn/src/cuda/convpooling/conv_pooling.h index 413a89e1..5638227c 100644 --- a/dnn/src/cuda/convpooling/conv_pooling.h +++ b/dnn/src/cuda/convpooling/conv_pooling.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/conv_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/convpooling/conv_pooling_tex.cu b/dnn/src/cuda/convpooling/conv_pooling_tex.cu index dae5429f..f4804424 100644 --- a/dnn/src/cuda/convpooling/conv_pooling_tex.cu +++ b/dnn/src/cuda/convpooling/conv_pooling_tex.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/conv_pooling_tex.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./conv_pooling.cuh" //#include "./kernel_impl/kernel_impl.h" #include "./conv_pooling_utils.cuh" diff --git a/dnn/src/cuda/convpooling/conv_pooling_utils.cuh b/dnn/src/cuda/convpooling/conv_pooling_utils.cuh index b2feed1b..d7e6c99c 100644 --- a/dnn/src/cuda/convpooling/conv_pooling_utils.cuh +++ b/dnn/src/cuda/convpooling/conv_pooling_utils.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/conv_pooling_utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/convpooling/kernel_impl/generate_kernel.py b/dnn/src/cuda/convpooling/kernel_impl/generate_kernel.py index 0a80f8d1..75113e8b 100755 --- a/dnn/src/cuda/convpooling/kernel_impl/generate_kernel.py +++ b/dnn/src/cuda/convpooling/kernel_impl/generate_kernel.py @@ -1,12 +1,5 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import json import codecs diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h index aa05fc75..c9b27ae7 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../conv_pooling.cuh" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize1.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize1.cu index bc6d7563..1a03aa08 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize1.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize1.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize2.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize2.cu index 30a7f3f8..c7070009 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize2.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize2.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize2.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize3.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize3.cu index cec61b33..14ebd167 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize3.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize3.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize3.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize4.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize4.cu index 23c589e8..2aa388da 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize4.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize4.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize5.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize5.cu index 480b702d..e95848d1 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize5.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize5.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize5.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize6.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize6.cu index b9f3050b..7199d4bc 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize6.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize6.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize6.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize7.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize7.cu index aaee7291..9e28a8de 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize7.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize7.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_identity_ksize7.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize1.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize1.cu index 4020225a..6e9b2ee1 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize1.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize1.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize2.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize2.cu index a257e9e7..af06833d 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize2.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize2.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize2.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize3.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize3.cu index 3f9b9f4f..5c94a62b 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize3.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize3.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize3.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize4.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize4.cu index e0f1ad96..e9890a21 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize4.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize4.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize5.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize5.cu index e70438d7..46afe753 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize5.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize5.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize5.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize6.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize6.cu index 3269909a..5b9de49d 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize6.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize6.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize6.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize7.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize7.cu index 5dad991b..f8c774e2 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize7.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize7.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_relu_ksize7.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize1.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize1.cu index c3713821..5ac08bab 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize1.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize1.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize2.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize2.cu index 25b9b585..6a28a512 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize2.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize2.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize2.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize3.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize3.cu index f9112024..66c7efa2 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize3.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize3.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize3.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize4.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize4.cu index 6d61c9c4..408157f7 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize4.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize4.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize5.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize5.cu index b98a30ce..e4c967fd 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize5.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize5.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize5.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize6.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize6.cu index cec3f441..00d8d5e5 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize6.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize6.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize6.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize7.cu b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize7.cu index 312efc48..932945c9 100644 --- a/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize7.cu +++ b/dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize7.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/kernel_impl/kernel_impl_sigmoid_ksize7.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../conv_pooling_utils.cuh" #include "./kernel_impl.h" diff --git a/dnn/src/cuda/convpooling/opr_impl.cpp b/dnn/src/cuda/convpooling/opr_impl.cpp index 229458f4..e19d6617 100644 --- a/dnn/src/cuda/convpooling/opr_impl.cpp +++ b/dnn/src/cuda/convpooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/convpooling/opr_impl.h" #include "src/cuda/convpooling/conv_pooling.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/convpooling/opr_impl.h b/dnn/src/cuda/convpooling/opr_impl.h index 032df7e6..65fbc33c 100644 --- a/dnn/src/cuda/convpooling/opr_impl.h +++ b/dnn/src/cuda/convpooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/convpooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/correlation/correlation_cuda.cu b/dnn/src/cuda/correlation/correlation_cuda.cu index bb0cedd7..0400803d 100644 --- a/dnn/src/cuda/correlation/correlation_cuda.cu +++ b/dnn/src/cuda/correlation/correlation_cuda.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/correlation/correlation_cuda.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/correlation/correlation_cuda.cuh" #include diff --git a/dnn/src/cuda/correlation/correlation_cuda.cuh b/dnn/src/cuda/correlation/correlation_cuda.cuh index b261daa8..ee924205 100644 --- a/dnn/src/cuda/correlation/correlation_cuda.cuh +++ b/dnn/src/cuda/correlation/correlation_cuda.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/correlation/correlation.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/cuda/correlation/opr_impl.cpp b/dnn/src/cuda/correlation/opr_impl.cpp index dd66cc26..3067cccf 100644 --- a/dnn/src/cuda/correlation/opr_impl.cpp +++ b/dnn/src/cuda/correlation/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/correlation/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/correlation/opr_impl.h" #include "src/cuda/correlation/correlation_cuda.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/correlation/opr_impl.h b/dnn/src/cuda/correlation/opr_impl.h index d9e50d26..d9dd1963 100644 --- a/dnn/src/cuda/correlation/opr_impl.h +++ b/dnn/src/cuda/correlation/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/correlation/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/cuda_shfl_compat.cuh b/dnn/src/cuda/cuda_shfl_compat.cuh index e85c5148..27145be6 100644 --- a/dnn/src/cuda/cuda_shfl_compat.cuh +++ b/dnn/src/cuda/cuda_shfl_compat.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cuda_shfl_compat.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #if __CUDACC_VER_MAJOR__ >= 9 diff --git a/dnn/src/cuda/cudnn_with_check.h b/dnn/src/cuda/cudnn_with_check.h index bf65274e..571c1ba3 100644 --- a/dnn/src/cuda/cudnn_with_check.h +++ b/dnn/src/cuda/cudnn_with_check.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cudnn_with_check.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/cudnn_wrapper.cpp b/dnn/src/cuda/cudnn_wrapper.cpp index f8080afb..b8ff3988 100644 --- a/dnn/src/cuda/cudnn_wrapper.cpp +++ b/dnn/src/cuda/cudnn_wrapper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cudnn_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/cudnn_wrapper.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/cudnn_wrapper.h b/dnn/src/cuda/cudnn_wrapper.h index ef0ab5ab..c2f39920 100644 --- a/dnn/src/cuda/cudnn_wrapper.h +++ b/dnn/src/cuda/cudnn_wrapper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cudnn_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/cumsum/cumsum.cu b/dnn/src/cuda/cumsum/cumsum.cu index 2665a55b..780afd6f 100644 --- a/dnn/src/cuda/cumsum/cumsum.cu +++ b/dnn/src/cuda/cumsum/cumsum.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/cumsum.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern_impl.cuinl" namespace megdnn { diff --git a/dnn/src/cuda/cumsum/kern.cuh b/dnn/src/cuda/cumsum/kern.cuh index bef3a01d..ac52e7e4 100644 --- a/dnn/src/cuda/cumsum/kern.cuh +++ b/dnn/src/cuda/cumsum/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/cumsum/kern_helper.cuh b/dnn/src/cuda/cumsum/kern_helper.cuh index b61cb68d..f2715555 100644 --- a/dnn/src/cuda/cumsum/kern_helper.cuh +++ b/dnn/src/cuda/cumsum/kern_helper.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/kern_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/cumsum/kern_impl.cu b/dnn/src/cuda/cumsum/kern_impl.cu index 08dcfc03..b40073bb 100644 --- a/dnn/src/cuda/cumsum/kern_impl.cu +++ b/dnn/src/cuda/cumsum/kern_impl.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/kern_impl.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" #include "./kern_impl.cuinl" diff --git a/dnn/src/cuda/cumsum/kern_impl.cuinl b/dnn/src/cuda/cumsum/kern_impl.cuinl index 51985fae..53d79b40 100644 --- a/dnn/src/cuda/cumsum/kern_impl.cuinl +++ b/dnn/src/cuda/cumsum/kern_impl.cuinl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/kern_impl.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "./kern_helper.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/cumsum/opr_impl.cpp b/dnn/src/cuda/cumsum/opr_impl.cpp index 2a7d64df..ef35e341 100644 --- a/dnn/src/cuda/cumsum/opr_impl.cpp +++ b/dnn/src/cuda/cumsum/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/cumsum/opr_impl.h b/dnn/src/cuda/cumsum/opr_impl.h index c6f26bb9..aee3d52d 100644 --- a/dnn/src/cuda/cumsum/opr_impl.h +++ b/dnn/src/cuda/cumsum/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cumsum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/cutlass/arch_mappings.h b/dnn/src/cuda/cutlass/arch_mappings.h index bac4c7e6..7a09fd08 100644 --- a/dnn/src/cuda/cutlass/arch_mappings.h +++ b/dnn/src/cuda/cutlass/arch_mappings.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/arch_mappings.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "cutlass/arch/arch.h" diff --git a/dnn/src/cuda/cutlass/initialize_all.cu b/dnn/src/cuda/cutlass/initialize_all.cu index e51c5ec5..68e8c1f9 100644 --- a/dnn/src/cuda/cutlass/initialize_all.cu +++ b/dnn/src/cuda/cutlass/initialize_all.cu @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/initialize_all.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/manifest.h" ///////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/dnn/src/cuda/cutlass/library.h b/dnn/src/cuda/cutlass/library.h index 77c7b91c..ad217e93 100644 --- a/dnn/src/cuda/cutlass/library.h +++ b/dnn/src/cuda/cutlass/library.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/library.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once ///////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/dnn/src/cuda/cutlass/library_internal.h b/dnn/src/cuda/cutlass/library_internal.h index e1e3dade..cbfa6879 100644 --- a/dnn/src/cuda/cutlass/library_internal.h +++ b/dnn/src/cuda/cutlass/library_internal.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/library_internal.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #pragma GCC diagnostic push diff --git a/dnn/src/cuda/cutlass/manifest.cpp b/dnn/src/cuda/cutlass/manifest.cpp index 2dd5ac85..0b36643e 100644 --- a/dnn/src/cuda/cutlass/manifest.cpp +++ b/dnn/src/cuda/cutlass/manifest.cpp @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/manifest.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "src/cuda/cutlass/manifest.h" diff --git a/dnn/src/cuda/cutlass/manifest.h b/dnn/src/cuda/cutlass/manifest.h index 5d0b2310..d14c2fbb 100644 --- a/dnn/src/cuda/cutlass/manifest.h +++ b/dnn/src/cuda/cutlass/manifest.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/manifest.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/cutlass/operation_table.cpp b/dnn/src/cuda/cutlass/operation_table.cpp index 7762be04..d6037195 100644 --- a/dnn/src/cuda/cutlass/operation_table.cpp +++ b/dnn/src/cuda/cutlass/operation_table.cpp @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/operation_table.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/operation_table.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/cutlass/operation_table.h b/dnn/src/cuda/cutlass/operation_table.h index baa9e1ed..6582460c 100644 --- a/dnn/src/cuda/cutlass/operation_table.h +++ b/dnn/src/cuda/cutlass/operation_table.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/operation_table.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/cutlass/singleton.cu b/dnn/src/cuda/cutlass/singleton.cu index 614a568f..7641ec70 100644 --- a/dnn/src/cuda/cutlass/singleton.cu +++ b/dnn/src/cuda/cutlass/singleton.cu @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/singleton.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "src/cuda/cutlass/singleton.h" diff --git a/dnn/src/cuda/cutlass/singleton.h b/dnn/src/cuda/cutlass/singleton.h index c67ad528..e1624a15 100644 --- a/dnn/src/cuda/cutlass/singleton.h +++ b/dnn/src/cuda/cutlass/singleton.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/singleton.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/cutlass/operation_table.h" diff --git a/dnn/src/cuda/cutlass/util.cu b/dnn/src/cuda/cutlass/util.cu index 49fd26cb..b4a95abf 100644 --- a/dnn/src/cuda/cutlass/util.cu +++ b/dnn/src/cuda/cutlass/util.cu @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/util.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #if __CUDACC_VER_MAJOR__ > 9 || (__CUDACC_VER_MAJOR__ == 9 && __CUDACC_VER_MINOR__ >= 2) #include diff --git a/dnn/src/cuda/cutlass/util.h b/dnn/src/cuda/cutlass/util.h index 65834d69..f5571d61 100644 --- a/dnn/src/cuda/cutlass/util.h +++ b/dnn/src/cuda/cutlass/util.h @@ -24,18 +24,6 @@ *EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/cutlass/util.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/cutlass/library.h" diff --git a/dnn/src/cuda/cv/kernel_common.cuh b/dnn/src/cuda/cv/kernel_common.cuh index 032fe4d8..9348e4da 100644 --- a/dnn/src/cuda/cv/kernel_common.cuh +++ b/dnn/src/cuda/cv/kernel_common.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cv/kernel_common.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/cv/enums.h" diff --git a/dnn/src/cuda/cvt_color/opr_impl.cpp b/dnn/src/cuda/cvt_color/opr_impl.cpp index 4d5f6c36..28814078 100644 --- a/dnn/src/cuda/cvt_color/opr_impl.cpp +++ b/dnn/src/cuda/cvt_color/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cvt_color/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/cvt_color/opr_impl.h" #include "src/cuda/cvt_color/cvt_color.cuh" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/cvt_color/opr_impl.h b/dnn/src/cuda/cvt_color/opr_impl.h index aa529779..9e4c3678 100644 --- a/dnn/src/cuda/cvt_color/opr_impl.h +++ b/dnn/src/cuda/cvt_color/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/cvt_color/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/dct/dct_channel_select.cu b/dnn/src/cuda/dct/dct_channel_select.cu index 9c2f4fc9..416e6c1e 100644 --- a/dnn/src/cuda/dct/dct_channel_select.cu +++ b/dnn/src/cuda/dct/dct_channel_select.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/dct/dct_channel_select.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megcore_cdefs.h" #include "src/cuda/dct/dct_channel_select.cuh" #include "src/cuda/error_info.cuh" diff --git a/dnn/src/cuda/dct/dct_channel_select.cuh b/dnn/src/cuda/dct/dct_channel_select.cuh index 822314d5..a2c9908a 100644 --- a/dnn/src/cuda/dct/dct_channel_select.cuh +++ b/dnn/src/cuda/dct/dct_channel_select.cuh @@ -1,16 +1,3 @@ -/** - * \file dnn/src/cuda/dct/dct_channel_select.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the - "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express - or - * implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/dct/opr_impl.cpp b/dnn/src/cuda/dct/opr_impl.cpp index f6753078..bb6134a2 100644 --- a/dnn/src/cuda/dct/opr_impl.cpp +++ b/dnn/src/cuda/dct/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/dct/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/dct/opr_impl.h" #include "src/common/utils.h" #include "src/cuda/dct/dct_channel_select.cuh" diff --git a/dnn/src/cuda/dct/opr_impl.h b/dnn/src/cuda/dct/opr_impl.h index e41a2489..7c99361a 100644 --- a/dnn/src/cuda/dct/opr_impl.h +++ b/dnn/src/cuda/dct/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/dct/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_data/algo.cpp b/dnn/src/cuda/deformable_conv/bwd_data/algo.cpp index 0250176f..c90e5ea8 100644 --- a/dnn/src/cuda/deformable_conv/bwd_data/algo.cpp +++ b/dnn/src/cuda/deformable_conv/bwd_data/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_data/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/deformable_conv/bwd_data/algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_data/algo.h b/dnn/src/cuda/deformable_conv/bwd_data/algo.h index d132c612..ed3bc5de 100644 --- a/dnn/src/cuda/deformable_conv/bwd_data/algo.h +++ b/dnn/src/cuda/deformable_conv/bwd_data/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_data/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_data/algo_matmul.cpp b/dnn/src/cuda/deformable_conv/bwd_data/algo_matmul.cpp index ddaa1961..cc76a6ee 100644 --- a/dnn/src/cuda/deformable_conv/bwd_data/algo_matmul.cpp +++ b/dnn/src/cuda/deformable_conv/bwd_data/algo_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_data/algo_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.h" #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp b/dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp index 865d46b3..9c290904 100644 --- a/dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp +++ b/dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_flt/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.h" #include "src/cuda/deformable_conv/bwd_flt/algo.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_flt/algo.h b/dnn/src/cuda/deformable_conv/bwd_flt/algo.h index 0e9bacc2..9e06ab78 100644 --- a/dnn/src/cuda/deformable_conv/bwd_flt/algo.h +++ b/dnn/src/cuda/deformable_conv/bwd_flt/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_flt/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/deformable_conv/bwd_flt/algo_matmul.cpp b/dnn/src/cuda/deformable_conv/bwd_flt/algo_matmul.cpp index 795a7088..d2c742e6 100644 --- a/dnn/src/cuda/deformable_conv/bwd_flt/algo_matmul.cpp +++ b/dnn/src/cuda/deformable_conv/bwd_flt/algo_matmul.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/bwd_flt/algo_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/utils.h" #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/deformable_conv/fwd/algo.cpp b/dnn/src/cuda/deformable_conv/fwd/algo.cpp index dcb7b7f8..1dee334c 100644 --- a/dnn/src/cuda/deformable_conv/fwd/algo.cpp +++ b/dnn/src/cuda/deformable_conv/fwd/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/fwd/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "src/cuda/handle.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/deformable_conv/fwd/algo.h b/dnn/src/cuda/deformable_conv/fwd/algo.h index ce5871f6..4403eef9 100644 --- a/dnn/src/cuda/deformable_conv/fwd/algo.h +++ b/dnn/src/cuda/deformable_conv/fwd/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/fwd/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp b/dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp index f3ff5552..cce80885 100644 --- a/dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp +++ b/dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/fwd/algo_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/handle.h" #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cu b/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cu index 81eaa077..d41bfba3 100644 --- a/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cu +++ b/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/deformable_conv/kimpl/deformable_conv.cuh" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cuh b/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cuh index 1e2b3d9f..8c1fa2cc 100644 --- a/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cuh +++ b/dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/kimpl/deformable_conv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/deformable_conv/opr_impl.cpp b/dnn/src/cuda/deformable_conv/opr_impl.cpp index b594d088..8b9b7f2e 100644 --- a/dnn/src/cuda/deformable_conv/opr_impl.cpp +++ b/dnn/src/cuda/deformable_conv/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/deformable_conv/bwd_data/algo.h" #include "src/cuda/deformable_conv/bwd_flt/algo.h" #include "src/cuda/deformable_conv/fwd/algo.h" diff --git a/dnn/src/cuda/deformable_conv/opr_impl.h b/dnn/src/cuda/deformable_conv/opr_impl.h index 298be335..d9a7fc6b 100644 --- a/dnn/src/cuda/deformable_conv/opr_impl.h +++ b/dnn/src/cuda/deformable_conv/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cu b/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cu index 20dba466..75ee6b5e 100644 --- a/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cu +++ b/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh b/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh index 1810cb55..032f9356 100644 --- a/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh +++ b/dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.cpp b/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.cpp index bfda497a..0dbd53a6 100644 --- a/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.cpp +++ b/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/deformable_ps_roi_pooling/opr_impl.h" #include "src/cuda/deformable_ps_roi_pooling/kimpl/kern.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h b/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h index da47aca8..0dd38aee 100644 --- a/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h +++ b/dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/deformable_ps_roi_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/diag/diag.cu b/dnn/src/cuda/diag/diag.cu index 6581e255..de158cd7 100644 --- a/dnn/src/cuda/diag/diag.cu +++ b/dnn/src/cuda/diag/diag.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/diag/diag.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "src/cuda/diag/diag.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/diag/diag.cuh b/dnn/src/cuda/diag/diag.cuh index d88ac11f..17aa5714 100644 --- a/dnn/src/cuda/diag/diag.cuh +++ b/dnn/src/cuda/diag/diag.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/diag/diag.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/diag/opr_impl.cpp b/dnn/src/cuda/diag/opr_impl.cpp index 7f5e8954..66b4ffe4 100644 --- a/dnn/src/cuda/diag/opr_impl.cpp +++ b/dnn/src/cuda/diag/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/diag/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/diag/opr_impl.h" #include "src/cuda/diag/diag.cuh" diff --git a/dnn/src/cuda/diag/opr_impl.h b/dnn/src/cuda/diag/opr_impl.h index 9c65f82f..9fd3e4d3 100644 --- a/dnn/src/cuda/diag/opr_impl.h +++ b/dnn/src/cuda/diag/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/diag/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/dot/dot.cu b/dnn/src/cuda/dot/dot.cu index 27b21bce..1011c3a1 100644 --- a/dnn/src/cuda/dot/dot.cu +++ b/dnn/src/cuda/dot/dot.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/dot/dot.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/dot/dot.cuh" #include "src/cuda/cub/util_ptx.cuh" diff --git a/dnn/src/cuda/dot/dot.cuh b/dnn/src/cuda/dot/dot.cuh index 745793a3..820ef3bf 100644 --- a/dnn/src/cuda/dot/dot.cuh +++ b/dnn/src/cuda/dot/dot.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/dot/dot.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/dot/opr_impl.cpp b/dnn/src/cuda/dot/opr_impl.cpp index 755a2e42..cb0238cf 100644 --- a/dnn/src/cuda/dot/opr_impl.cpp +++ b/dnn/src/cuda/dot/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/dot/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/dot/opr_impl.h" #include "src/cuda/dot/dot.cuh" diff --git a/dnn/src/cuda/dot/opr_impl.h b/dnn/src/cuda/dot/opr_impl.h index 6b0645df..b4391843 100644 --- a/dnn/src/cuda/dot/opr_impl.h +++ b/dnn/src/cuda/dot/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/dot/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/dropout/opr_impl.cpp b/dnn/src/cuda/dropout/opr_impl.cpp index d7349114..05d66137 100644 --- a/dnn/src/cuda/dropout/opr_impl.cpp +++ b/dnn/src/cuda/dropout/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/dropout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/dropout/opr_impl.h" namespace megdnn { diff --git a/dnn/src/cuda/dropout/opr_impl.h b/dnn/src/cuda/dropout/opr_impl.h index 4db5df47..5d995eeb 100644 --- a/dnn/src/cuda/dropout/opr_impl.h +++ b/dnn/src/cuda/dropout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/dropout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/cuda/cudnn_wrapper.h" diff --git a/dnn/src/cuda/elemwise/kern_impl.inl b/dnn/src/cuda/elemwise/kern_impl.inl index aad47a85..f286b81e 100644 --- a/dnn/src/cuda/elemwise/kern_impl.inl +++ b/dnn/src/cuda/elemwise/kern_impl.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kern_impl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #ifndef KERN_IMPL_MODE diff --git a/dnn/src/cuda/elemwise/kern_wrapper.cuh b/dnn/src/cuda/elemwise/kern_wrapper.cuh index b79dce70..ba658a36 100644 --- a/dnn/src/cuda/elemwise/kern_wrapper.cuh +++ b/dnn/src/cuda/elemwise/kern_wrapper.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/kern_wrapper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/cuda/elemwise/opr_impl.cpp b/dnn/src/cuda/elemwise/opr_impl.cpp index 6d660239..24744823 100644 --- a/dnn/src/cuda/elemwise/opr_impl.cpp +++ b/dnn/src/cuda/elemwise/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern_wrapper.cuh" #include "./special_kerns.cuh" diff --git a/dnn/src/cuda/elemwise/opr_impl.h b/dnn/src/cuda/elemwise/opr_impl.h index f9b79260..535f796d 100644 --- a/dnn/src/cuda/elemwise/opr_impl.h +++ b/dnn/src/cuda/elemwise/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/opr_impl_helper.h" diff --git a/dnn/src/cuda/elemwise/special_kerns.cuh b/dnn/src/cuda/elemwise/special_kerns.cuh index 1e012de5..60c86da5 100644 --- a/dnn/src/cuda/elemwise/special_kerns.cuh +++ b/dnn/src/cuda/elemwise/special_kerns.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kerns.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/elemwise/special_kerns.inl b/dnn/src/cuda/elemwise/special_kerns.inl index 160f072c..8e296002 100644 --- a/dnn/src/cuda/elemwise/special_kerns.inl +++ b/dnn/src/cuda/elemwise/special_kerns.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise/special_kerns.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./special_kerns.cuh" namespace megdnn { diff --git a/dnn/src/cuda/elemwise_helper.cpp b/dnn/src/cuda/elemwise_helper.cpp index 61bbd90b..a6498486 100644 --- a/dnn/src/cuda/elemwise_helper.cpp +++ b/dnn/src/cuda/elemwise_helper.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/elemwise_helper.cuh b/dnn/src/cuda/elemwise_helper.cuh index 4a9c67f5..e9f06c36 100644 --- a/dnn/src/cuda/elemwise_helper.cuh +++ b/dnn/src/cuda/elemwise_helper.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/common/elemwise_helper.cuh" diff --git a/dnn/src/cuda/elemwise_helper_q4.cuh b/dnn/src/cuda/elemwise_helper_q4.cuh index 1bf3f1df..4a53fee3 100644 --- a/dnn/src/cuda/elemwise_helper_q4.cuh +++ b/dnn/src/cuda/elemwise_helper_q4.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_helper_q4.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/elemwise_multi_type/kern.cu b/dnn/src/cuda/elemwise_multi_type/kern.cu index 0bbfba78..40eafd5c 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern.cu +++ b/dnn/src/cuda/elemwise_multi_type/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/elemwise_multi_type/kern.cuh" #include "src/cuda/elemwise_multi_type/kern_ops.cuh" diff --git a/dnn/src/cuda/elemwise_multi_type/kern.cuh b/dnn/src/cuda/elemwise_multi_type/kern.cuh index a1657ccc..8a9c0bc2 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern.cuh +++ b/dnn/src/cuda/elemwise_multi_type/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "include/megdnn/thin/small_vector.h" diff --git a/dnn/src/cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu b/dnn/src/cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu index 146992f0..9657523f 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu +++ b/dnn/src/cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern_iXxf32xf32xi8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./kern.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/elemwise_multi_type/kern_impl.inl b/dnn/src/cuda/elemwise_multi_type/kern_impl.inl index 2d5c410e..4caa8bdc 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern_impl.inl +++ b/dnn/src/cuda/elemwise_multi_type/kern_impl.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern_impl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #ifndef KERN_IMPL_MODE diff --git a/dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl b/dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl index 01d7cf90..1acfcd9f 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl +++ b/dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern_impl_q4.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #ifndef KERN_IMPL_MODE diff --git a/dnn/src/cuda/elemwise_multi_type/kern_ops.cuh b/dnn/src/cuda/elemwise_multi_type/kern_ops.cuh index 8df56ccb..8de5bba1 100644 --- a/dnn/src/cuda/elemwise_multi_type/kern_ops.cuh +++ b/dnn/src/cuda/elemwise_multi_type/kern_ops.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/kern_ops.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/elemwise_helper_q4.cuh" diff --git a/dnn/src/cuda/elemwise_multi_type/opr_impl.cpp b/dnn/src/cuda/elemwise_multi_type/opr_impl.cpp index d9250d42..5f351213 100644 --- a/dnn/src/cuda/elemwise_multi_type/opr_impl.cpp +++ b/dnn/src/cuda/elemwise_multi_type/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/tensor_iter.h" #include "src/common/elemwise/each_mode.inl" diff --git a/dnn/src/cuda/elemwise_multi_type/opr_impl.h b/dnn/src/cuda/elemwise_multi_type/opr_impl.h index 4ce88bde..9a547573 100644 --- a/dnn/src/cuda/elemwise_multi_type/opr_impl.h +++ b/dnn/src/cuda/elemwise_multi_type/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_multi_type/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise_multi_type/opr_impl_helper.h" diff --git a/dnn/src/cuda/error_info.cuh b/dnn/src/cuda/error_info.cuh index 3513548a..31d71979 100644 --- a/dnn/src/cuda/error_info.cuh +++ b/dnn/src/cuda/error_info.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/error_info.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/eye/eye.cu b/dnn/src/cuda/eye/eye.cu index 75dcb60d..8a03bf8a 100644 --- a/dnn/src/cuda/eye/eye.cu +++ b/dnn/src/cuda/eye/eye.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/eye/eye.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "src/cuda/eye/eye.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/eye/eye.cuh b/dnn/src/cuda/eye/eye.cuh index 93b79dad..a62cef00 100644 --- a/dnn/src/cuda/eye/eye.cuh +++ b/dnn/src/cuda/eye/eye.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/eye/eye.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/eye/opr_impl.cpp b/dnn/src/cuda/eye/opr_impl.cpp index a50ab28c..053e6e9a 100644 --- a/dnn/src/cuda/eye/opr_impl.cpp +++ b/dnn/src/cuda/eye/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/eye/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/eye/opr_impl.h" #include "src/cuda/eye/eye.cuh" diff --git a/dnn/src/cuda/eye/opr_impl.h b/dnn/src/cuda/eye/opr_impl.h index 18da12cd..47628430 100644 --- a/dnn/src/cuda/eye/opr_impl.h +++ b/dnn/src/cuda/eye/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/eye/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/fake_quant/kern.cu b/dnn/src/cuda/fake_quant/kern.cu index 7dcea797..53f5604d 100644 --- a/dnn/src/cuda/fake_quant/kern.cu +++ b/dnn/src/cuda/fake_quant/kern.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/fake_quant/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./kern.cuh" namespace megdnn { diff --git a/dnn/src/cuda/fake_quant/kern.cuh b/dnn/src/cuda/fake_quant/kern.cuh index bbb60aff..d94b1631 100644 --- a/dnn/src/cuda/fake_quant/kern.cuh +++ b/dnn/src/cuda/fake_quant/kern.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/elemwise_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/fake_quant/opr_impl.cpp b/dnn/src/cuda/fake_quant/opr_impl.cpp index adc2b6e5..fc3c4a2c 100644 --- a/dnn/src/cuda/fake_quant/opr_impl.cpp +++ b/dnn/src/cuda/fake_quant/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/fake_quant/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" #include "src/common/utils.h" diff --git a/dnn/src/cuda/fake_quant/opr_impl.h b/dnn/src/cuda/fake_quant/opr_impl.h index fe8dd371..1844b4d7 100644 --- a/dnn/src/cuda/fake_quant/opr_impl.h +++ b/dnn/src/cuda/fake_quant/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/fake_quant/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/fill/kern.cu b/dnn/src/cuda/fill/kern.cu index bd0bf41e..ce0b69c9 100644 --- a/dnn/src/cuda/fill/kern.cu +++ b/dnn/src/cuda/fill/kern.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/fill/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "src/cuda/fill/kern.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/fill/kern.cuh b/dnn/src/cuda/fill/kern.cuh index 6ce3f3fb..d26fd36e 100644 --- a/dnn/src/cuda/fill/kern.cuh +++ b/dnn/src/cuda/fill/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/fill/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/fill/opr_impl.cpp b/dnn/src/cuda/fill/opr_impl.cpp index 9d6a8219..432e746b 100644 --- a/dnn/src/cuda/fill/opr_impl.cpp +++ b/dnn/src/cuda/fill/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/fill/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/fill/opr_impl.h" #include "src/cuda/fill/kern.cuh" diff --git a/dnn/src/cuda/fill/opr_impl.h b/dnn/src/cuda/fill/opr_impl.h index 01366e60..b1b2dcb4 100644 --- a/dnn/src/cuda/fill/opr_impl.h +++ b/dnn/src/cuda/fill/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/fill/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/flip/flip.cu b/dnn/src/cuda/flip/flip.cu index 2a316509..f22504c7 100644 --- a/dnn/src/cuda/flip/flip.cu +++ b/dnn/src/cuda/flip/flip.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/flip/flip.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./flip.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/flip/flip.cuh b/dnn/src/cuda/flip/flip.cuh index b13feda2..09fadade 100644 --- a/dnn/src/cuda/flip/flip.cuh +++ b/dnn/src/cuda/flip/flip.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/flip/flip.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/flip/opr_impl.cpp b/dnn/src/cuda/flip/opr_impl.cpp index ea5a1367..b4cd3c15 100644 --- a/dnn/src/cuda/flip/opr_impl.cpp +++ b/dnn/src/cuda/flip/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/flip/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./flip.cuh" diff --git a/dnn/src/cuda/flip/opr_impl.h b/dnn/src/cuda/flip/opr_impl.h index d6730ca9..0bc41713 100644 --- a/dnn/src/cuda/flip/opr_impl.h +++ b/dnn/src/cuda/flip/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/flip/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/fp16_help.cuh b/dnn/src/cuda/fp16_help.cuh index 7d26ffae..477aae77 100644 --- a/dnn/src/cuda/fp16_help.cuh +++ b/dnn/src/cuda/fp16_help.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/fp16_help.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/gaussian_blur/gaussian_blur.cuh b/dnn/src/cuda/gaussian_blur/gaussian_blur.cuh index 4aea4b82..1e798eca 100644 --- a/dnn/src/cuda/gaussian_blur/gaussian_blur.cuh +++ b/dnn/src/cuda/gaussian_blur/gaussian_blur.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/gaussian_blur/gaussian_blur.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/gaussian_blur/opr_impl.cpp b/dnn/src/cuda/gaussian_blur/opr_impl.cpp index 1fb9c04d..6f4bb82b 100644 --- a/dnn/src/cuda/gaussian_blur/opr_impl.cpp +++ b/dnn/src/cuda/gaussian_blur/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/gaussian_blur/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./gaussian_blur.cuh" diff --git a/dnn/src/cuda/gaussian_blur/opr_impl.h b/dnn/src/cuda/gaussian_blur/opr_impl.h index 8113ef34..2055c233 100644 --- a/dnn/src/cuda/gaussian_blur/opr_impl.h +++ b/dnn/src/cuda/gaussian_blur/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/gaussian_blur/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/group_local/bwd_data.cpp b/dnn/src/cuda/group_local/bwd_data.cpp index fc98b48a..c2ec80b1 100644 --- a/dnn/src/cuda/group_local/bwd_data.cpp +++ b/dnn/src/cuda/group_local/bwd_data.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/bwd_data.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/group_local/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/group_local/bwd_filter.cpp b/dnn/src/cuda/group_local/bwd_filter.cpp index 990b450b..17e8666e 100644 --- a/dnn/src/cuda/group_local/bwd_filter.cpp +++ b/dnn/src/cuda/group_local/bwd_filter.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/bwd_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/group_local/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/group_local/forward/kern.cu b/dnn/src/cuda/group_local/forward/kern.cu index 04beeb7f..3585e294 100644 --- a/dnn/src/cuda/group_local/forward/kern.cu +++ b/dnn/src/cuda/group_local/forward/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/forward/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/group_local/forward/kern.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/group_local/forward/kern.cuh b/dnn/src/cuda/group_local/forward/kern.cuh index 900effd6..6ef33052 100644 --- a/dnn/src/cuda/group_local/forward/kern.cuh +++ b/dnn/src/cuda/group_local/forward/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/cuda_interface.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/group_local/forward/opr_impl.cpp b/dnn/src/cuda/group_local/forward/opr_impl.cpp index 44cc7092..2c9c6008 100644 --- a/dnn/src/cuda/group_local/forward/opr_impl.cpp +++ b/dnn/src/cuda/group_local/forward/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/forward/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/group_local/opr_impl.h" #include diff --git a/dnn/src/cuda/group_local/opr_impl.h b/dnn/src/cuda/group_local/opr_impl.h index fc81f9c0..c062bac7 100644 --- a/dnn/src/cuda/group_local/opr_impl.h +++ b/dnn/src/cuda/group_local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/group_local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/cuda/handle.cpp b/dnn/src/cuda/handle.cpp index f00006ea..5cf5f71b 100644 --- a/dnn/src/cuda/handle.cpp +++ b/dnn/src/cuda/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/handle_impl.h" #include "src/common/version_symbol.h" diff --git a/dnn/src/cuda/handle.h b/dnn/src/cuda/handle.h index e4506942..d8902e9a 100644 --- a/dnn/src/cuda/handle.h +++ b/dnn/src/cuda/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore_cuda.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/handle_create.cpp b/dnn/src/cuda/handle_create.cpp index 09f83606..7fbd005f 100644 --- a/dnn/src/cuda/handle_create.cpp +++ b/dnn/src/cuda/handle_create.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/handle_create.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - // #include "src/common/handle_impl.h" #include "src/cuda/adaptive_pooling/opr_impl.h" diff --git a/dnn/src/cuda/images2neibs/kernel.cu b/dnn/src/cuda/images2neibs/kernel.cu index c75e9cc8..57b2ba67 100644 --- a/dnn/src/cuda/images2neibs/kernel.cu +++ b/dnn/src/cuda/images2neibs/kernel.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/images2neibs/kernel.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/images2neibs/kernel.cuh" #include diff --git a/dnn/src/cuda/images2neibs/kernel.cuh b/dnn/src/cuda/images2neibs/kernel.cuh index f5c39389..ebd449da 100644 --- a/dnn/src/cuda/images2neibs/kernel.cuh +++ b/dnn/src/cuda/images2neibs/kernel.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/images2neibs/kernel.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/images2neibs/opr_impl.cpp b/dnn/src/cuda/images2neibs/opr_impl.cpp index 5d984ca4..ee992bc5 100644 --- a/dnn/src/cuda/images2neibs/opr_impl.cpp +++ b/dnn/src/cuda/images2neibs/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/images2neibs/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/images2neibs/opr_impl.h" #include "src/cuda/images2neibs/kernel.cuh" diff --git a/dnn/src/cuda/images2neibs/opr_impl.h b/dnn/src/cuda/images2neibs/opr_impl.h index 62958aee..2878bdb5 100644 --- a/dnn/src/cuda/images2neibs/opr_impl.h +++ b/dnn/src/cuda/images2neibs/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/images2neibs/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern.cuh b/dnn/src/cuda/indexing_multi_axis_vec/kern.cuh index 950c5311..f580fa59 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern.cuh +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_fwd.cu b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_fwd.cu index f656f635..3abb3930 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_fwd.cu +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_fwd.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_fwd.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/indexing_multi_axis_vec_kdef.h" #define KERN_APPLY_OPR_OPR ::megdnn::indexing_multi_axis_vec_kdef::OprFwd #include "./kern_apply_opr_impl.cuinl" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_impl.cuinl b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_impl.cuinl index e146a633..295dddb7 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_impl.cuinl +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_impl.cuinl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_impl.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef KERN_APPLY_OPR_OPR #error "must define KERN_APPLY_OPR_OPR" #endif diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_incr.cu b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_incr.cu index dd65ec87..48c0d9b5 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_incr.cu +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_incr.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_incr.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/dtype.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_set.cu b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_set.cu index 01cda70f..e7dcadf2 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_set.cu +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_set.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern_apply_opr_set.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/indexing_multi_axis_vec_kdef.h" #define KERN_APPLY_OPR_OPR ::megdnn::indexing_multi_axis_vec_kdef::OprSet #include "./kern_apply_opr_impl.cuinl" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/kern_gen_offset_base.cu b/dnn/src/cuda/indexing_multi_axis_vec/kern_gen_offset_base.cu index ebab2b52..2bef1bff 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/kern_gen_offset_base.cu +++ b/dnn/src/cuda/indexing_multi_axis_vec/kern_gen_offset_base.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/kern_gen_offset_base.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "megdnn/internal/defs.h" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp b/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp index 997a84b2..cd542795 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp +++ b/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h b/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h index 60c24799..155d6e2e 100644 --- a/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h +++ b/dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_multi_axis_vec/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/indexing_one_hot/kern.cu b/dnn/src/cuda/indexing_one_hot/kern.cu index 437acba7..65e7a487 100644 --- a/dnn/src/cuda/indexing_one_hot/kern.cu +++ b/dnn/src/cuda/indexing_one_hot/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_one_hot/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/indexing_one_hot/kern.cuh b/dnn/src/cuda/indexing_one_hot/kern.cuh index 79f4a6b5..ab7f64b6 100644 --- a/dnn/src/cuda/indexing_one_hot/kern.cuh +++ b/dnn/src/cuda/indexing_one_hot/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_one_hot/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/error_info.cuh" diff --git a/dnn/src/cuda/indexing_one_hot/opr_impl.cpp b/dnn/src/cuda/indexing_one_hot/opr_impl.cpp index 2ed6990b..2fd51cb6 100644 --- a/dnn/src/cuda/indexing_one_hot/opr_impl.cpp +++ b/dnn/src/cuda/indexing_one_hot/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_one_hot/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/indexing_one_hot/opr_impl.h b/dnn/src/cuda/indexing_one_hot/opr_impl.h index 153dfd31..07d5094d 100644 --- a/dnn/src/cuda/indexing_one_hot/opr_impl.h +++ b/dnn/src/cuda/indexing_one_hot/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/indexing_one_hot/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/int_fastdiv.cpp b/dnn/src/cuda/int_fastdiv.cpp index 0317f5e1..1ff7a1c1 100644 --- a/dnn/src/cuda/int_fastdiv.cpp +++ b/dnn/src/cuda/int_fastdiv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/int_fastdiv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/int_fastdiv.cuh" #include diff --git a/dnn/src/cuda/int_fastdiv.cuh b/dnn/src/cuda/int_fastdiv.cuh index 7297cbc5..c8204797 100644 --- a/dnn/src/cuda/int_fastdiv.cuh +++ b/dnn/src/cuda/int_fastdiv.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/int_fastdiv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/integer_subbyte_utils.cuh b/dnn/src/cuda/integer_subbyte_utils.cuh index b6dfa1a0..12fe04ff 100644 --- a/dnn/src/cuda/integer_subbyte_utils.cuh +++ b/dnn/src/cuda/integer_subbyte_utils.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/integer_subbyte_utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #if MEGDNN_CC_CUDA #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh b/dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh index 1b87671a..01a20f30 100644 --- a/dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh +++ b/dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/kernel_common/diagnostic_epilogue.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifdef __GNUC__ #if CUDA_VERSION < 9020 #pragma GCC diagnostic pop diff --git a/dnn/src/cuda/kernel_common/diagnostic_prologue.cuh b/dnn/src/cuda/kernel_common/diagnostic_prologue.cuh index 7ef1ced3..a835e0d0 100644 --- a/dnn/src/cuda/kernel_common/diagnostic_prologue.cuh +++ b/dnn/src/cuda/kernel_common/diagnostic_prologue.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/kernel_common/diagnostic_prologue.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifdef MEGDNN_DIAGNOSTIC_PROLOGUE_INCLUDED #error "diagnostic_prologue.h included twice without including diagnostic_epilogue.h" #else diff --git a/dnn/src/cuda/layer_norm/layer_norm_cuda.cu b/dnn/src/cuda/layer_norm/layer_norm_cuda.cu index 2cca694a..abe15f00 100644 --- a/dnn/src/cuda/layer_norm/layer_norm_cuda.cu +++ b/dnn/src/cuda/layer_norm/layer_norm_cuda.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/layer_norm/layer_norm_cuda.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include #include diff --git a/dnn/src/cuda/layer_norm/layer_norm_cuda.cuh b/dnn/src/cuda/layer_norm/layer_norm_cuda.cuh index 8e14de34..426fe125 100644 --- a/dnn/src/cuda/layer_norm/layer_norm_cuda.cuh +++ b/dnn/src/cuda/layer_norm/layer_norm_cuda.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/layer_norm/layer_norm.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/cuda/layer_norm/opr_impl.cpp b/dnn/src/cuda/layer_norm/opr_impl.cpp index 426de527..5f369499 100644 --- a/dnn/src/cuda/layer_norm/opr_impl.cpp +++ b/dnn/src/cuda/layer_norm/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/layer_norm/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/layer_norm/opr_impl.h" #include "src/cuda/layer_norm/layer_norm_cuda.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/layer_norm/opr_impl.h b/dnn/src/cuda/layer_norm/opr_impl.h index 8bca6a75..7a498ff9 100644 --- a/dnn/src/cuda/layer_norm/opr_impl.h +++ b/dnn/src/cuda/layer_norm/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/layer_norm/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/linspace/linspace.cu b/dnn/src/cuda/linspace/linspace.cu index 9526d631..17764289 100644 --- a/dnn/src/cuda/linspace/linspace.cu +++ b/dnn/src/cuda/linspace/linspace.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/linspace/linspace.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "src/cuda/linspace/linspace.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/linspace/linspace.cuh b/dnn/src/cuda/linspace/linspace.cuh index 315e816b..55e54381 100644 --- a/dnn/src/cuda/linspace/linspace.cuh +++ b/dnn/src/cuda/linspace/linspace.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/linspace/linspace.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/linspace/opr_impl.cpp b/dnn/src/cuda/linspace/opr_impl.cpp index 40755743..33726d1b 100644 --- a/dnn/src/cuda/linspace/opr_impl.cpp +++ b/dnn/src/cuda/linspace/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/linspace/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/linspace/opr_impl.h" #include "src/cuda/linspace/linspace.cuh" diff --git a/dnn/src/cuda/linspace/opr_impl.h b/dnn/src/cuda/linspace/opr_impl.h index 4c63efa1..2cd7f579 100644 --- a/dnn/src/cuda/linspace/opr_impl.h +++ b/dnn/src/cuda/linspace/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/linspace/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/local/backward_data.cpp b/dnn/src/cuda/local/backward_data.cpp index 25e0d45b..9abd71c5 100644 --- a/dnn/src/cuda/local/backward_data.cpp +++ b/dnn/src/cuda/local/backward_data.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/backward_data.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/opr_impl.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/local/backward_data.cu b/dnn/src/cuda/local/backward_data.cu index fc9bb829..fa456e6b 100644 --- a/dnn/src/cuda/local/backward_data.cu +++ b/dnn/src/cuda/local/backward_data.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/backward_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/local.cuh" #include "src/cuda/local/cuda-convnet2/cudaconv2.cuh" diff --git a/dnn/src/cuda/local/backward_filter.cpp b/dnn/src/cuda/local/backward_filter.cpp index 37ba2776..58eca51a 100644 --- a/dnn/src/cuda/local/backward_filter.cpp +++ b/dnn/src/cuda/local/backward_filter.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/backward_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/opr_impl.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/local/backward_filter.cu b/dnn/src/cuda/local/backward_filter.cu index c2c7c8a2..7055be9a 100644 --- a/dnn/src/cuda/local/backward_filter.cu +++ b/dnn/src/cuda/local/backward_filter.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/backward_filter.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/local.cuh" #include "src/cuda/local/cuda-convnet2/cudaconv2.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/LICENSE b/dnn/src/cuda/local/cuda-convnet2/LICENSE index 4eff800f..2018c2a8 100644 --- a/dnn/src/cuda/local/cuda-convnet2/LICENSE +++ b/dnn/src/cuda/local/cuda-convnet2/LICENSE @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/LICENSE - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh b/dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh index 12e6d119..10da154a 100644 --- a/dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/cudaconv2.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - #ifndef COMMON_CUH #define COMMON_CUH diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts.cu index d8ef9b46..761819e7 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts.cu @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/* - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - #include "cudaconv2.cuh" #include "filter_acts/filter_act_templates.cuh" #include "nvmatrix.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color.cuh b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color.cuh index cfd5bae3..7f79cde4 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg0.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg0.cu index 8cbab6d3..ce4d44f3 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg0.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg0.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg0.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_color.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg1.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg1.cu index d595fb5a..981c05af 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg1.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg1.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale0_ckimg1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_color.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg0.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg0.cu index f6c04587..d881fd67 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg0.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg0.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg0.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_color.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg1.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg1.cu index 9f5ce491..45e35b6d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg1.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg1.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_color_scale1_ckimg1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_color.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2.cuh b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2.cuh index 5d5727d6..9583a791 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg0.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg0.cu index 4870604b..f9ea8406 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg0.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg0.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg0.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_sparse2.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg1.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg1.cu index eff2a9de..c98230cc 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg1.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg1.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale0_ckimg1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_sparse2.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg0.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg0.cu index 7e42cd2c..771e4f3b 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg0.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg0.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg0.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_sparse2.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg1.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg1.cu index 1eb64d1a..1d4fa39b 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg1.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg1.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_scale1_ckimg1.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_sparse2.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_y4x32i4f16c4_tex.cu b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_y4x32i4f16c4_tex.cu index 7c16af09..530f23c9 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_y4x32i4f16c4_tex.cu +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_y4x32i4f16c4_tex.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_sparse2_y4x32i4f16c4_tex.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "filter_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_templates.cuh b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_templates.cuh index 1735334f..66a72900 100644 --- a/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_templates.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_templates.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/filter_acts/filter_act_templates.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "../cudaconv2.cuh" #include "../nvmatrix.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/helper_cuda.h b/dnn/src/cuda/local/cuda-convnet2/helper_cuda.h index ffccf459..fb526a5d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/helper_cuda.h +++ b/dnn/src/cuda/local/cuda-convnet2/helper_cuda.h @@ -1,14 +1,4 @@ /** - * \file dnn/src/cuda/local/cuda-convnet2/helper_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** * \file src/cuda/local/cuda-convnet2/helper_cuda.h * * This file is part of MegDNN, a deep neural network run-time library * developed by diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts.cu index aae659f9..e7ef4831 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts.cu @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/* - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - #include "cudaconv2.cuh" #include "img_acts/img_act_templates.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color.cuh b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color.cuh index 52c746eb..d1b74fd5 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ff.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ff.cu index 3509d36b..3f176d08 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ff.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ff.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ff.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_color.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ft.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ft.cu index fd7ea21d..5736102d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ft.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ft.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_color_ft.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_color.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor.cuh b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor.cuh index a2bf228d..f791db5d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor.cuh @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - /* * Block size: B_YxB_X. * blockIdx.x determines case in batches of B_X*imgsPerThread, also color in batches of diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler.cuh b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler.cuh index 1977c118..90129302 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_fff.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_fff.cu index 822ff923..7eb8da2f 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_fff.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_fff.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_fff.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_manycolor_kepler.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_ftf.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_ftf.cu index 7a5e9195..ba796dad 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_ftf.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_ftf.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_manycolor_kepler_ftf.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_manycolor_kepler.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cu b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cu index d2d579a6..e1113d56 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cu +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_medium_color.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cuh b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cuh index 0cdbea44..c18f64a0 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_medium_color.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "img_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_templates.cuh b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_templates.cuh index bb7747e0..2a1e604d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_templates.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_templates.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/img_acts/img_act_templates.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "../cudaconv2.cuh" #include "../nvmatrix.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh b/dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh index f8675f8e..81fd047e 100644 --- a/dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/nvmatrix.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - #pragma once #include #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts.cu index 2d6086de..a3146694 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts.cu @@ -1,35 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ - #include "cudaconv2.cuh" #include diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ff.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ff.cu index ea2b2325..e0570b35 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ff.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ff.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ff.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ft.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ft.cu index 967aca89..6907094e 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ft.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ft.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_1_ft.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ff.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ff.cu index 4d7820e7..ce25090e 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ff.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ff.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ff.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ft.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ft.cu index fbeffa2e..9b708706 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ft.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ft.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_2_ft.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ff.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ff.cu index df86b139..3c273ca0 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ff.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ff.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ff.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ft.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ft.cu index 63154c71..91146e3d 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ft.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ft.cu @@ -1,34 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_c_3_ft.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * -------------------------------------------------------------------------- - * \copyright Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * * Refactor kernels for seperate compilation - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_f4.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_f4.cu index 7d3d573d..c3b2060b 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_f4.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_f4.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_f4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_pt_4.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_pt_4.cu index b746d404..6a66396e 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_pt_4.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_pt_4.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_16_pt_4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_8.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_8.cu index 94e00dbc..bd694716 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_8.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_8.cu @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/weight_acts_c_kepler_sw_by_8.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_c_kepler_sw.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler.cuh b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler.cuh index 1fd98fb4..c436d7c4 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler_sw.cuh b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler_sw.cuh index de1773b2..cea73697 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler_sw.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler_sw.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_c_kepler_sw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler.cuh b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler.cuh index 8ca173df..cf2ca70c 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw.cuh b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw.cuh index 688acde1..0fe3d752 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_templates.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu index 95dc8e70..5013c535 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_A_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu index f1f72d2b..c8bbcf56 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_B_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu index 08ef997c..551c96eb 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_C_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu index cad1eb38..dc41f368 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_4_D_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu index 47f9f4b7..42afcd98 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_A_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu index 06bb4259..8853334f 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_B_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu index 7df4705a..b52ad8d6 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_C_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu index b7e5d1ad..03fc51ea 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu @@ -1,35 +1,3 @@ -/** - * \file - * dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_mc_mf_kepler_sw_by_8_D_scale_f.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "wet_act_mc_mf_kepler_sw.cuh" namespace megdnn { namespace cuda { diff --git a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_templates.cuh b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_templates.cuh index 1f562ace..c3ec7470 100644 --- a/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_templates.cuh +++ b/dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_templates.cuh @@ -1,34 +1,3 @@ -/** - * \file dnn/src/cuda/local/cuda-convnet2/weight_acts/wet_act_templates.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ -/** - * Copyright 2014 Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * -------------------------------------------------------------------------- - * * This file has been modified by Megvii ("Megvii Modifications"). - * * All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights - * reserved. - * -------------------------------------------------------------------------- - */ #include "../cudaconv2.cuh" #include "../nvmatrix.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/local/forward.cpp b/dnn/src/cuda/local/forward.cpp index 22b4e458..2b0384fc 100644 --- a/dnn/src/cuda/local/forward.cpp +++ b/dnn/src/cuda/local/forward.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/forward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/opr_impl.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/local/forward.cu b/dnn/src/cuda/local/forward.cu index 49eea89a..d699ad4e 100644 --- a/dnn/src/cuda/local/forward.cu +++ b/dnn/src/cuda/local/forward.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/forward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local/local.cuh" #include "src/cuda/local/cuda-convnet2/cudaconv2.cuh" diff --git a/dnn/src/cuda/local/local.cuh b/dnn/src/cuda/local/local.cuh index 524b3f95..27c03777 100644 --- a/dnn/src/cuda/local/local.cuh +++ b/dnn/src/cuda/local/local.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/local.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/local/opr_impl.h b/dnn/src/cuda/local/opr_impl.h index e1011129..64c07238 100644 --- a/dnn/src/cuda/local/opr_impl.h +++ b/dnn/src/cuda/local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/local_share/backward_data/algo.cpp b/dnn/src/cuda/local_share/backward_data/algo.cpp index d7f9a0ea..c6574f32 100644 --- a/dnn/src/cuda/local_share/backward_data/algo.cpp +++ b/dnn/src/cuda/local_share/backward_data/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/local_share/backward_data/algo.h b/dnn/src/cuda/local_share/backward_data/algo.h index 23645ff4..6a3f7404 100644 --- a/dnn/src/cuda/local_share/backward_data/algo.h +++ b/dnn/src/cuda/local_share/backward_data/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/local_share/backward_data/batched_matmul.cpp b/dnn/src/cuda/local_share/backward_data/batched_matmul.cpp index 0424cc7d..747eb481 100644 --- a/dnn/src/cuda/local_share/backward_data/batched_matmul.cpp +++ b/dnn/src/cuda/local_share/backward_data/batched_matmul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/batched_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "src/cuda/local_share/im2col.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/backward_data/implicit_gemm.cpp b/dnn/src/cuda/local_share/backward_data/implicit_gemm.cpp index 41d4dd78..c00cd23d 100644 --- a/dnn/src/cuda/local_share/backward_data/implicit_gemm.cpp +++ b/dnn/src/cuda/local_share/backward_data/implicit_gemm.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/implicit_gemm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "./local_share_bwd_data.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/backward_data/local_share_bwd_data.cuh b/dnn/src/cuda/local_share/backward_data/local_share_bwd_data.cuh index 295ba2db..2d787dd1 100644 --- a/dnn/src/cuda/local_share/backward_data/local_share_bwd_data.cuh +++ b/dnn/src/cuda/local_share/backward_data/local_share_bwd_data.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/local_share_bwd_data.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local_share/helper.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local_share/backward_data/local_share_bwd_data_f32_implicit_gemm.cu b/dnn/src/cuda/local_share/backward_data/local_share_bwd_data_f32_implicit_gemm.cu index 19dd3e1f..23024e8a 100644 --- a/dnn/src/cuda/local_share/backward_data/local_share_bwd_data_f32_implicit_gemm.cu +++ b/dnn/src/cuda/local_share/backward_data/local_share_bwd_data_f32_implicit_gemm.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_data/local_share_bwd_data_f32_implicit_gemm.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./local_share_bwd_data.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/local_share/backward_filter/algo.cpp b/dnn/src/cuda/local_share/backward_filter/algo.cpp index 22237024..b0434f0a 100644 --- a/dnn/src/cuda/local_share/backward_filter/algo.cpp +++ b/dnn/src/cuda/local_share/backward_filter/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_filter/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/local_share/backward_filter/algo.h b/dnn/src/cuda/local_share/backward_filter/algo.h index 24deb869..943c9264 100644 --- a/dnn/src/cuda/local_share/backward_filter/algo.h +++ b/dnn/src/cuda/local_share/backward_filter/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_filter/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/local_share/backward_filter/batched_matmul.cpp b/dnn/src/cuda/local_share/backward_filter/batched_matmul.cpp index ef1fcce1..a4b5f3f5 100644 --- a/dnn/src/cuda/local_share/backward_filter/batched_matmul.cpp +++ b/dnn/src/cuda/local_share/backward_filter/batched_matmul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_filter/batched_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "src/cuda/local_share/im2col.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/backward_filter/implicit_gemm.cpp b/dnn/src/cuda/local_share/backward_filter/implicit_gemm.cpp index 262bfb87..a7a6b850 100644 --- a/dnn/src/cuda/local_share/backward_filter/implicit_gemm.cpp +++ b/dnn/src/cuda/local_share/backward_filter/implicit_gemm.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_filter/implicit_gemm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "./local_share_bwd_filter.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter.cuh b/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter.cuh index 3f2ef4b1..fc2cbcd9 100644 --- a/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter.cuh +++ b/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local_share/helper.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter_f32_implicit_gemm.cu b/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter_f32_implicit_gemm.cu index 5bb95878..9b4c35ec 100644 --- a/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter_f32_implicit_gemm.cu +++ b/dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter_f32_implicit_gemm.cu @@ -1,14 +1,3 @@ -/** - * \file - * dnn/src/cuda/local_share/backward_filter/local_share_bwd_filter_f32_implicit_gemm.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./local_share_bwd_filter.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/local_share/forward/algo.cpp b/dnn/src/cuda/local_share/forward/algo.cpp index db33d98c..08ac4faa 100644 --- a/dnn/src/cuda/local_share/forward/algo.cpp +++ b/dnn/src/cuda/local_share/forward/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/local_share/forward/algo.h b/dnn/src/cuda/local_share/forward/algo.h index 6939e534..df7309ad 100644 --- a/dnn/src/cuda/local_share/forward/algo.h +++ b/dnn/src/cuda/local_share/forward/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/local_share/forward/batch_size_aware_chwn.cpp b/dnn/src/cuda/local_share/forward/batch_size_aware_chwn.cpp index c42cb877..3db5ae1b 100644 --- a/dnn/src/cuda/local_share/forward/batch_size_aware_chwn.cpp +++ b/dnn/src/cuda/local_share/forward/batch_size_aware_chwn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/batch_size_aware_chwn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "./local_share_forward.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/forward/batch_size_aware_chwn_small_image.cpp b/dnn/src/cuda/local_share/forward/batch_size_aware_chwn_small_image.cpp index 3bd90a25..60c3ba64 100644 --- a/dnn/src/cuda/local_share/forward/batch_size_aware_chwn_small_image.cpp +++ b/dnn/src/cuda/local_share/forward/batch_size_aware_chwn_small_image.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/batch_size_aware_chwn_small_image.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "./local_share_forward.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/forward/batched_matmul.cpp b/dnn/src/cuda/local_share/forward/batched_matmul.cpp index ad1535a2..a93f2b44 100644 --- a/dnn/src/cuda/local_share/forward/batched_matmul.cpp +++ b/dnn/src/cuda/local_share/forward/batched_matmul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/batched_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./algo.h" #include "src/cuda/local_share/im2col.cuh" #include "src/cuda/local_share/opr_impl.h" diff --git a/dnn/src/cuda/local_share/forward/local_share_forward.cuh b/dnn/src/cuda/local_share/forward/local_share_forward.cuh index 371354fc..7b760772 100644 --- a/dnn/src/cuda/local_share/forward/local_share_forward.cuh +++ b/dnn/src/cuda/local_share/forward/local_share_forward.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/local_share_forward.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local_share/helper.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware.cu b/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware.cu index 60f6b454..730a5613 100644 --- a/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware.cu +++ b/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./local_share_forward.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware_small_image.cu b/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware_small_image.cu index 7578f221..506f2c3f 100644 --- a/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware_small_image.cu +++ b/dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware_small_image.cu @@ -1,14 +1,3 @@ -/** - * \file - * dnn/src/cuda/local_share/forward/local_share_fwd_chwn_f32_batch_size_aware_small_image.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./local_share_forward.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/local_share/helper.cpp b/dnn/src/cuda/local_share/helper.cpp index 27220912..eaf196d7 100644 --- a/dnn/src/cuda/local_share/helper.cpp +++ b/dnn/src/cuda/local_share/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./helper.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/local_share/helper.cuh b/dnn/src/cuda/local_share/helper.cuh index af3cba33..8596e1c5 100644 --- a/dnn/src/cuda/local_share/helper.cuh +++ b/dnn/src/cuda/local_share/helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/utils.cuh" namespace megdnn { diff --git a/dnn/src/cuda/local_share/im2col.cu b/dnn/src/cuda/local_share/im2col.cu index ad2c8e8c..6391159b 100644 --- a/dnn/src/cuda/local_share/im2col.cu +++ b/dnn/src/cuda/local_share/im2col.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/im2col.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./im2col.cuh" using namespace megdnn; diff --git a/dnn/src/cuda/local_share/im2col.cuh b/dnn/src/cuda/local_share/im2col.cuh index 9abb61d0..93db8169 100644 --- a/dnn/src/cuda/local_share/im2col.cuh +++ b/dnn/src/cuda/local_share/im2col.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/im2col.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./helper.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/local_share/opr_impl.cpp b/dnn/src/cuda/local_share/opr_impl.cpp index 474714d2..24461a38 100644 --- a/dnn/src/cuda/local_share/opr_impl.cpp +++ b/dnn/src/cuda/local_share/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/local_share/opr_impl.h" #include "./backward_data/algo.h" #include "./backward_filter/algo.h" diff --git a/dnn/src/cuda/local_share/opr_impl.h b/dnn/src/cuda/local_share/opr_impl.h index d532f29a..6a118d6c 100644 --- a/dnn/src/cuda/local_share/opr_impl.h +++ b/dnn/src/cuda/local_share/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/local_share/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/lrn/opr_impl.cpp b/dnn/src/cuda/lrn/opr_impl.cpp index e1aca07f..728eb3c8 100644 --- a/dnn/src/cuda/lrn/opr_impl.cpp +++ b/dnn/src/cuda/lrn/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/lrn/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/lrn/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/lrn/opr_impl.h b/dnn/src/cuda/lrn/opr_impl.h index aea33121..d05a276a 100644 --- a/dnn/src/cuda/lrn/opr_impl.h +++ b/dnn/src/cuda/lrn/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/lrn/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/lsq/kern.cu b/dnn/src/cuda/lsq/kern.cu index 6bdcdc9f..b1f0f257 100644 --- a/dnn/src/cuda/lsq/kern.cu +++ b/dnn/src/cuda/lsq/kern.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/lsq/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./kern.cuh" namespace megdnn { diff --git a/dnn/src/cuda/lsq/kern.cuh b/dnn/src/cuda/lsq/kern.cuh index 70db5ccd..71e71943 100644 --- a/dnn/src/cuda/lsq/kern.cuh +++ b/dnn/src/cuda/lsq/kern.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/lsq/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/lsq/opr_impl.cpp b/dnn/src/cuda/lsq/opr_impl.cpp index d0a87205..b4b32ed8 100644 --- a/dnn/src/cuda/lsq/opr_impl.cpp +++ b/dnn/src/cuda/lsq/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/lsq/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" #include "src/common/utils.h" diff --git a/dnn/src/cuda/lsq/opr_impl.h b/dnn/src/cuda/lsq/opr_impl.h index e066a566..f4b9ddf3 100644 --- a/dnn/src/cuda/lsq/opr_impl.h +++ b/dnn/src/cuda/lsq/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/lsq/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/mask_conv/mask_conv.cu b/dnn/src/cuda/mask_conv/mask_conv.cu index 12cb05f6..4486a6a0 100644 --- a/dnn/src/cuda/mask_conv/mask_conv.cu +++ b/dnn/src/cuda/mask_conv/mask_conv.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/mask_conv/mask_conv.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./mask_conv.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/mask_conv/mask_conv.cuh b/dnn/src/cuda/mask_conv/mask_conv.cuh index 25e7d6a3..3d7337cf 100644 --- a/dnn/src/cuda/mask_conv/mask_conv.cuh +++ b/dnn/src/cuda/mask_conv/mask_conv.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/mask_conv/mask_conv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - namespace megdnn { namespace cuda { namespace mask_conv { diff --git a/dnn/src/cuda/mask_conv/opr_impl.cpp b/dnn/src/cuda/mask_conv/opr_impl.cpp index 24a88464..72b347fa 100644 --- a/dnn/src/cuda/mask_conv/opr_impl.cpp +++ b/dnn/src/cuda/mask_conv/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/mask_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/mask_conv/opr_impl.h" #include "./mask_conv.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/mask_conv/opr_impl.h b/dnn/src/cuda/mask_conv/opr_impl.h index 7fb6ad99..253452fb 100644 --- a/dnn/src/cuda/mask_conv/opr_impl.h +++ b/dnn/src/cuda/mask_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/mask_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/matrix_inverse/helper.cu b/dnn/src/cuda/matrix_inverse/helper.cu index 270a0f68..cf3b788a 100644 --- a/dnn/src/cuda/matrix_inverse/helper.cu +++ b/dnn/src/cuda/matrix_inverse/helper.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_inverse/helper.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.cuh" #include "src/cuda/error_info.cuh" diff --git a/dnn/src/cuda/matrix_inverse/helper.cuh b/dnn/src/cuda/matrix_inverse/helper.cuh index a969b465..731023d9 100644 --- a/dnn/src/cuda/matrix_inverse/helper.cuh +++ b/dnn/src/cuda/matrix_inverse/helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_inverse/helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/matrix_inverse/opr_impl.cpp b/dnn/src/cuda/matrix_inverse/opr_impl.cpp index 31185417..2d451c19 100644 --- a/dnn/src/cuda/matrix_inverse/opr_impl.cpp +++ b/dnn/src/cuda/matrix_inverse/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_inverse/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "./helper.cuh" #include "src/cuda/batched_matrix_mul/helper.cuh" diff --git a/dnn/src/cuda/matrix_inverse/opr_impl.h b/dnn/src/cuda/matrix_inverse/opr_impl.h index c6fac603..8de084f6 100644 --- a/dnn/src/cuda/matrix_inverse/opr_impl.h +++ b/dnn/src/cuda/matrix_inverse/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_inverse/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/linalg.h" diff --git a/dnn/src/cuda/matrix_mul/algos.cpp b/dnn/src/cuda/matrix_mul/algos.cpp index 3a12ffe8..03d128f0 100644 --- a/dnn/src/cuda/matrix_mul/algos.cpp +++ b/dnn/src/cuda/matrix_mul/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./algos.h" #include #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/matrix_mul/algos.h b/dnn/src/cuda/matrix_mul/algos.h index c2eaf7fa..d9346967 100644 --- a/dnn/src/cuda/matrix_mul/algos.h +++ b/dnn/src/cuda/matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include #include diff --git a/dnn/src/cuda/matrix_mul/bfloat16.cpp b/dnn/src/cuda/matrix_mul/bfloat16.cpp index f6a9f189..b6a053ff 100644 --- a/dnn/src/cuda/matrix_mul/bfloat16.cpp +++ b/dnn/src/cuda/matrix_mul/bfloat16.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/algo_base.h" #include "src/common/algo_chooser.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/matrix_mul/cublas.cpp b/dnn/src/cuda/matrix_mul/cublas.cpp index 6f35ae2f..0097414a 100644 --- a/dnn/src/cuda/matrix_mul/cublas.cpp +++ b/dnn/src/cuda/matrix_mul/cublas.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cublas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algos.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp b/dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp index d5cad0d9..cca4ef8b 100644 --- a/dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp +++ b/dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cublasLt_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/matrix_mul/cublasLt_wrapper.h" #include "src/common/utils.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/matrix_mul/cublasLt_wrapper.h b/dnn/src/cuda/matrix_mul/cublasLt_wrapper.h index c8804c7c..26ee0918 100644 --- a/dnn/src/cuda/matrix_mul/cublasLt_wrapper.h +++ b/dnn/src/cuda/matrix_mul/cublasLt_wrapper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cublasLt_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "./algos.h" diff --git a/dnn/src/cuda/matrix_mul/cublas_lt.cpp b/dnn/src/cuda/matrix_mul/cublas_lt.cpp index 80260da8..dc4548ae 100644 --- a/dnn/src/cuda/matrix_mul/cublas_lt.cpp +++ b/dnn/src/cuda/matrix_mul/cublas_lt.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cublas_lt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algos.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/cublasLt_wrapper.h" diff --git a/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop.cpp b/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop.cpp index fe479999..370358df 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_float16_tensorop.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/singleton.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" diff --git a/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop_split_k.cpp b/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop_split_k.cpp index 772e20fd..d527a092 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop_split_k.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_float16_tensorop_split_k.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_float16_tensorop_split_k.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/singleton.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" diff --git a/dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp b/dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp index 7c03396c..428d9d46 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_float32_simt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/singleton.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" diff --git a/dnn/src/cuda/matrix_mul/cutlass_float32_simt_gemv_batched_strided.cpp b/dnn/src/cuda/matrix_mul/cutlass_float32_simt_gemv_batched_strided.cpp index daa6067b..d52a0232 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_float32_simt_gemv_batched_strided.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_float32_simt_gemv_batched_strided.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_float32_simt_gemv_batched_strided.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" #include "src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh" diff --git a/dnn/src/cuda/matrix_mul/cutlass_float32_simt_split_k.cpp b/dnn/src/cuda/matrix_mul/cutlass_float32_simt_split_k.cpp index 7783e65a..8db67bec 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_float32_simt_split_k.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_float32_simt_split_k.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_float32_simt_split_k.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/cutlass/singleton.h" #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" diff --git a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_base.cpp b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_base.cpp index 541144a7..c5511bf5 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_base.cpp +++ b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_base.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_matrix_mul_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/handle.h" #include "src/cuda/matrix_mul/algos.h" #include "src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh" diff --git a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh index 9e23b45a..3daeda1d 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh +++ b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "cutlass/gemm/gemm.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cu b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cu index bd8c464d..399beaa0 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cu +++ b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ // ignore warning of cutlass #include "cuda.h" #if __CUDACC_VER_MAJOR__ > 9 || (__CUDACC_VER_MAJOR__ == 9 && __CUDACC_VER_MINOR__ >= 2) diff --git a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cuinl b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cuinl index 2e7f6a68..8c8a55f1 100644 --- a/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cuinl +++ b/dnn/src/cuda/matrix_mul/cutlass_matrix_mul_wrapper_batched_gemv_strided.cuinl @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/cuda/matrix_mul/matrix_mul_float_simt_gemv_batched_strided_cutlass_wrapper.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "cutlass/gemm/kernel/default_gemv.h" #include "cutlass/gemm/kernel/gemv_batched_strided.h" #include "src/cuda/matrix_mul/cutlass_matrix_mul_wrapper.cuh" diff --git a/dnn/src/cuda/matrix_mul/naive.cpp b/dnn/src/cuda/matrix_mul/naive.cpp index 2ab85d17..2a2fbacc 100644 --- a/dnn/src/cuda/matrix_mul/naive.cpp +++ b/dnn/src/cuda/matrix_mul/naive.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/naive.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/matrix_mul/naive.cuh" #include #include "src/cuda/matrix_mul/algos.h" diff --git a/dnn/src/cuda/matrix_mul/naive.cu b/dnn/src/cuda/matrix_mul/naive.cu index c7a81a27..10813ef0 100644 --- a/dnn/src/cuda/matrix_mul/naive.cu +++ b/dnn/src/cuda/matrix_mul/naive.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/naive.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/cuda/matrix_mul/naive.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/matrix_mul/naive.cuh b/dnn/src/cuda/matrix_mul/naive.cuh index 397ad366..ad66bc96 100644 --- a/dnn/src/cuda/matrix_mul/naive.cuh +++ b/dnn/src/cuda/matrix_mul/naive.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/naive.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/matrix_mul/opr_impl.cpp b/dnn/src/cuda/matrix_mul/opr_impl.cpp index be912202..0a66eca7 100644 --- a/dnn/src/cuda/matrix_mul/opr_impl.cpp +++ b/dnn/src/cuda/matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/matrix_mul/opr_impl.h" #include "./algos.h" #include "src/common/algo_chooser.h" diff --git a/dnn/src/cuda/matrix_mul/opr_impl.h b/dnn/src/cuda/matrix_mul/opr_impl.h index 38529a9f..a75cecb6 100644 --- a/dnn/src/cuda/matrix_mul/opr_impl.h +++ b/dnn/src/cuda/matrix_mul/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp index 8f4325ff..a6289306 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algos.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cu b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cu index 84915c5e..b1b91a61 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cu +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./preprocess_quantize_sum.cuh" #include diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cuh b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cuh index 05d88dd3..fb51e624 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cuh +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cuh @@ -23,16 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/preprocess_quantize_sum.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp index 89703bfc..efa70e28 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./wmma_matrix_mul.h" #include "./preprocess_quantize_sum.cuh" #include "./wmma_matrix_mul_u4.cuh" diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h index 8e1ec520..1244c91f 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cu b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cu index b944019f..b29693d6 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cu +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cu @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/utils.cuh" #include diff --git a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cuh b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cuh index 931390c4..85201dff 100644 --- a/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cuh +++ b/dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cuh @@ -23,17 +23,6 @@ *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * **************************************************************************************************/ -/** - * \file dnn/src/cuda/matrix_mul/uint4x4x32_wmma/wmma_matrix_mul_u4.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/max_tensor_diff/opr_impl.cpp b/dnn/src/cuda/max_tensor_diff/opr_impl.cpp index 75bdcc14..ffe75c1f 100644 --- a/dnn/src/cuda/max_tensor_diff/opr_impl.cpp +++ b/dnn/src/cuda/max_tensor_diff/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/max_tensor_diff/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/max_tensor_diff/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/max_tensor_diff/opr_impl.h b/dnn/src/cuda/max_tensor_diff/opr_impl.h index 6aac645a..7beb2165 100644 --- a/dnn/src/cuda/max_tensor_diff/opr_impl.h +++ b/dnn/src/cuda/max_tensor_diff/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/max_tensor_diff/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/megcore/cuda_computing_context.cpp b/dnn/src/cuda/megcore/cuda_computing_context.cpp index 7095b805..0c81b304 100644 --- a/dnn/src/cuda/megcore/cuda_computing_context.cpp +++ b/dnn/src/cuda/megcore/cuda_computing_context.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/megcore/cuda_computing_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/megcore/cuda_computing_context.hpp b/dnn/src/cuda/megcore/cuda_computing_context.hpp index 05ecc9ac..2e95ce0c 100644 --- a/dnn/src/cuda/megcore/cuda_computing_context.hpp +++ b/dnn/src/cuda/megcore/cuda_computing_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/megcore/cuda_computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/computing_context.hpp" diff --git a/dnn/src/cuda/megcore/cuda_device_context.cpp b/dnn/src/cuda/megcore/cuda_device_context.cpp index d34fe764..666635fe 100644 --- a/dnn/src/cuda/megcore/cuda_device_context.cpp +++ b/dnn/src/cuda/megcore/cuda_device_context.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/megcore/cuda_device_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megcore.h" #include "src/common/utils.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/megcore/cuda_device_context.hpp b/dnn/src/cuda/megcore/cuda_device_context.hpp index 5c070503..b8fb8f5d 100644 --- a/dnn/src/cuda/megcore/cuda_device_context.hpp +++ b/dnn/src/cuda/megcore/cuda_device_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/megcore/cuda_device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/device_context.hpp" diff --git a/dnn/src/cuda/megcore/public_api/computing.cpp b/dnn/src/cuda/megcore/public_api/computing.cpp index 8270c46a..ccf553c7 100644 --- a/dnn/src/cuda/megcore/public_api/computing.cpp +++ b/dnn/src/cuda/megcore/public_api/computing.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/megcore/public_api/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore_cuda.h" #include "../cuda_computing_context.hpp" diff --git a/dnn/src/cuda/memory_utils.cuh b/dnn/src/cuda/memory_utils.cuh index 1469d87d..f07adea2 100644 --- a/dnn/src/cuda/memory_utils.cuh +++ b/dnn/src/cuda/memory_utils.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/memory_utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #if MEGDNN_CC_CUDA #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/mesh_indexing/mesh_indexing.cu b/dnn/src/cuda/mesh_indexing/mesh_indexing.cu index 875eab1b..2ec67052 100644 --- a/dnn/src/cuda/mesh_indexing/mesh_indexing.cu +++ b/dnn/src/cuda/mesh_indexing/mesh_indexing.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/mesh_indexing/mesh_indexing.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "megdnn/dtype.h" #include "src/common/indexing_multi_axis_vec_kdef.h" diff --git a/dnn/src/cuda/mesh_indexing/mesh_indexing.cuh b/dnn/src/cuda/mesh_indexing/mesh_indexing.cuh index 22b3274c..7bf299c1 100644 --- a/dnn/src/cuda/mesh_indexing/mesh_indexing.cuh +++ b/dnn/src/cuda/mesh_indexing/mesh_indexing.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/mesh_indexing/mesh_indexing.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/mesh_indexing/opr_impl.cpp b/dnn/src/cuda/mesh_indexing/opr_impl.cpp index 5f11f1d8..8c260e6b 100644 --- a/dnn/src/cuda/mesh_indexing/opr_impl.cpp +++ b/dnn/src/cuda/mesh_indexing/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/mesh_indexing/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "opr_impl.h" #include "mesh_indexing.cuh" #include "src/common/indexing_multi_axis_vec_kdef.h" diff --git a/dnn/src/cuda/mesh_indexing/opr_impl.h b/dnn/src/cuda/mesh_indexing/opr_impl.h index 1184c798..5a79d731 100644 --- a/dnn/src/cuda/mesh_indexing/opr_impl.h +++ b/dnn/src/cuda/mesh_indexing/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/mesh_indexing/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/padding/opr_impl.cpp b/dnn/src/cuda/padding/opr_impl.cpp index 3102ca43..2565a9b0 100644 --- a/dnn/src/cuda/padding/opr_impl.cpp +++ b/dnn/src/cuda/padding/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/padding/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/padding/opr_impl.h" #include "src/common/utils.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/padding/opr_impl.h b/dnn/src/cuda/padding/opr_impl.h index 946f2489..64b11ea7 100644 --- a/dnn/src/cuda/padding/opr_impl.h +++ b/dnn/src/cuda/padding/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/padding/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/padding/padding.cu b/dnn/src/cuda/padding/padding.cu index 3e1147ed..49253cbb 100644 --- a/dnn/src/cuda/padding/padding.cu +++ b/dnn/src/cuda/padding/padding.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/padding/padding.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include #include diff --git a/dnn/src/cuda/padding/padding.cuh b/dnn/src/cuda/padding/padding.cuh index 3f496630..a898a01c 100644 --- a/dnn/src/cuda/padding/padding.cuh +++ b/dnn/src/cuda/padding/padding.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/padding/padding.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "cuda_runtime.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/param_pack/opr_impl.cpp b/dnn/src/cuda/param_pack/opr_impl.cpp index e787055e..12be8279 100644 --- a/dnn/src/cuda/param_pack/opr_impl.cpp +++ b/dnn/src/cuda/param_pack/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/param_pack/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/param_pack/opr_impl.h" #include "src/cuda/param_pack/param_pack.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/param_pack/opr_impl.h b/dnn/src/cuda/param_pack/opr_impl.h index 569ecc34..5c5b2c12 100644 --- a/dnn/src/cuda/param_pack/opr_impl.h +++ b/dnn/src/cuda/param_pack/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/param_pack/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/param_pack/param_pack.cu b/dnn/src/cuda/param_pack/param_pack.cu index 23c40555..e54927b4 100644 --- a/dnn/src/cuda/param_pack/param_pack.cu +++ b/dnn/src/cuda/param_pack/param_pack.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/param_pack/param_pack.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/dtype.h" #include "src/cuda/param_pack/param_pack.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/param_pack/param_pack.cuh b/dnn/src/cuda/param_pack/param_pack.cuh index 481d03c7..7afa5a7c 100644 --- a/dnn/src/cuda/param_pack/param_pack.cuh +++ b/dnn/src/cuda/param_pack/param_pack.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/param_pack/param_pack.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/pooling/algo.cpp b/dnn/src/cuda/pooling/algo.cpp index e04360e5..16b1e5b7 100644 --- a/dnn/src/cuda/pooling/algo.cpp +++ b/dnn/src/cuda/pooling/algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "./pooling2d_qint.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/pooling/algo.h b/dnn/src/cuda/pooling/algo.h index f499ff15..f3d6fb30 100644 --- a/dnn/src/cuda/pooling/algo.h +++ b/dnn/src/cuda/pooling/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/cuda/pooling/opr_impl.cpp b/dnn/src/cuda/pooling/opr_impl.cpp index 728fca31..9af27fbe 100644 --- a/dnn/src/cuda/pooling/opr_impl.cpp +++ b/dnn/src/cuda/pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/pooling/opr_impl.h" #include "./algo.h" #include "./pooling2d_qint.cuh" diff --git a/dnn/src/cuda/pooling/opr_impl.h b/dnn/src/cuda/pooling/opr_impl.h index 4ee923f1..e0fa57b3 100644 --- a/dnn/src/cuda/pooling/opr_impl.h +++ b/dnn/src/cuda/pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/pooling/pooling2d_qint.cu b/dnn/src/cuda/pooling/pooling2d_qint.cu index 2f85b125..13231bc8 100644 --- a/dnn/src/cuda/pooling/pooling2d_qint.cu +++ b/dnn/src/cuda/pooling/pooling2d_qint.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/pooling2d_qint.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./pooling2d_qint.cuh" #include "src/common/opr_param_defs_enumv.cuh" #include "src/cuda/kernel_common/diagnostic_prologue.cuh" diff --git a/dnn/src/cuda/pooling/pooling2d_qint.cuh b/dnn/src/cuda/pooling/pooling2d_qint.cuh index 150b9973..accdcf9a 100644 --- a/dnn/src/cuda/pooling/pooling2d_qint.cuh +++ b/dnn/src/cuda/pooling/pooling2d_qint.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/pooling/pooling2d_qint.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/powc/kern.cu b/dnn/src/cuda/powc/kern.cu index 46c42e35..0d39e1be 100644 --- a/dnn/src/cuda/powc/kern.cu +++ b/dnn/src/cuda/powc/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/powc/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "megdnn/dtype.h" #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/powc/kern.cuh b/dnn/src/cuda/powc/kern.cuh index 106a98e3..f4e5d44e 100644 --- a/dnn/src/cuda/powc/kern.cuh +++ b/dnn/src/cuda/powc/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/powc/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/powc/opr_impl.cpp b/dnn/src/cuda/powc/opr_impl.cpp index 1155367b..54cc9a92 100644 --- a/dnn/src/cuda/powc/opr_impl.cpp +++ b/dnn/src/cuda/powc/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/powc/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/powc/opr_impl.h b/dnn/src/cuda/powc/opr_impl.h index 3a0adbca..039feede 100644 --- a/dnn/src/cuda/powc/opr_impl.h +++ b/dnn/src/cuda/powc/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/powc/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/cuda/query_blocksize.cpp b/dnn/src/cuda/query_blocksize.cpp index 9f9f249f..f1051c8d 100644 --- a/dnn/src/cuda/query_blocksize.cpp +++ b/dnn/src/cuda/query_blocksize.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/query_blocksize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./query_blocksize.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/query_blocksize.cuh b/dnn/src/cuda/query_blocksize.cuh index d1e8e6a5..cf0e0a52 100644 --- a/dnn/src/cuda/query_blocksize.cuh +++ b/dnn/src/cuda/query_blocksize.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/query_blocksize.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once namespace megdnn { diff --git a/dnn/src/cuda/query_blocksize_impl.cu b/dnn/src/cuda/query_blocksize_impl.cu index 9adb04ea..99bdc2e1 100644 --- a/dnn/src/cuda/query_blocksize_impl.cu +++ b/dnn/src/cuda/query_blocksize_impl.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/query_blocksize_impl.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/kernel_common/diagnostic_prologue.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/reduce/opr_impl.cpp b/dnn/src/cuda/reduce/opr_impl.cpp index 786ca01b..cca11d13 100644 --- a/dnn/src/cuda/reduce/opr_impl.cpp +++ b/dnn/src/cuda/reduce/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/reduce/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/reduce/opr_impl.h" #include "src/cuda/reduce_helper.cuh" diff --git a/dnn/src/cuda/reduce/opr_impl.h b/dnn/src/cuda/reduce/opr_impl.h index ddf1f505..ccb91255 100644 --- a/dnn/src/cuda/reduce/opr_impl.h +++ b/dnn/src/cuda/reduce/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/reduce/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/reduce/reduce.cu b/dnn/src/cuda/reduce/reduce.cu index d6784ee7..fd2f44b8 100644 --- a/dnn/src/cuda/reduce/reduce.cu +++ b/dnn/src/cuda/reduce/reduce.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/reduce/reduce.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/reduce_helper_device.h" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/reduce_helper.cuh b/dnn/src/cuda/reduce_helper.cuh index 2783afb2..03238dd8 100644 --- a/dnn/src/cuda/reduce_helper.cuh +++ b/dnn/src/cuda/reduce_helper.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/reduce_helper.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/reduce_helper.cuinl b/dnn/src/cuda/reduce_helper.cuinl index 1920aafe..43b679dd 100644 --- a/dnn/src/cuda/reduce_helper.cuinl +++ b/dnn/src/cuda/reduce_helper.cuinl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/reduce_helper.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #if MEGDNN_CC_CUDA diff --git a/dnn/src/cuda/reduce_helper/column.cuinl b/dnn/src/cuda/reduce_helper/column.cuinl index 54078ff3..1d563f6f 100644 --- a/dnn/src/cuda/reduce_helper/column.cuinl +++ b/dnn/src/cuda/reduce_helper/column.cuinl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/reduce_helper/column.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/reduce_helper.cuh" diff --git a/dnn/src/cuda/reduce_helper/largeBC.cuinl b/dnn/src/cuda/reduce_helper/largeBC.cuinl index 7fd46558..03b15938 100644 --- a/dnn/src/cuda/reduce_helper/largeBC.cuinl +++ b/dnn/src/cuda/reduce_helper/largeBC.cuinl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/reduce_helper/largeBC.cuinl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/cuda/reduce_helper.cuh" diff --git a/dnn/src/cuda/relayout/kern.cpp b/dnn/src/cuda/relayout/kern.cpp index 6bd6309c..5fd4b782 100644 --- a/dnn/src/cuda/relayout/kern.cpp +++ b/dnn/src/cuda/relayout/kern.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/relayout/kern.cuh" #include "megdnn/basic_types.h" #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/relayout/kern.cu b/dnn/src/cuda/relayout/kern.cu index 759cb17d..1ed8abb0 100644 --- a/dnn/src/cuda/relayout/kern.cu +++ b/dnn/src/cuda/relayout/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/relayout/kern.cuh" diff --git a/dnn/src/cuda/relayout/kern.cuh b/dnn/src/cuda/relayout/kern.cuh index 2d286f59..9cffc4ee 100644 --- a/dnn/src/cuda/relayout/kern.cuh +++ b/dnn/src/cuda/relayout/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/relayout/kern_contiguous.cpp b/dnn/src/cuda/relayout/kern_contiguous.cpp index 576612c8..5d30fec1 100644 --- a/dnn/src/cuda/relayout/kern_contiguous.cpp +++ b/dnn/src/cuda/relayout/kern_contiguous.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern_contiguous.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/relayout/kern_contiguous.cuh" #include "src/common/utils.h" #include "src/cuda/query_blocksize.cuh" diff --git a/dnn/src/cuda/relayout/kern_contiguous.cu b/dnn/src/cuda/relayout/kern_contiguous.cu index 26bebb79..2fec1c13 100644 --- a/dnn/src/cuda/relayout/kern_contiguous.cu +++ b/dnn/src/cuda/relayout/kern_contiguous.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern_contiguous.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/elemwise_helper.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/relayout/kern_contiguous.cuh" diff --git a/dnn/src/cuda/relayout/kern_contiguous.cuh b/dnn/src/cuda/relayout/kern_contiguous.cuh index f667243d..6e523083 100644 --- a/dnn/src/cuda/relayout/kern_contiguous.cuh +++ b/dnn/src/cuda/relayout/kern_contiguous.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern_contiguous.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/relayout/kern_transpose.cu b/dnn/src/cuda/relayout/kern_transpose.cu index 241d46d9..b898af0b 100644 --- a/dnn/src/cuda/relayout/kern_transpose.cu +++ b/dnn/src/cuda/relayout/kern_transpose.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern_transpose.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/relayout/kern_transpose.cuh" namespace { diff --git a/dnn/src/cuda/relayout/kern_transpose.cuh b/dnn/src/cuda/relayout/kern_transpose.cuh index 196533d0..1adc9d3e 100644 --- a/dnn/src/cuda/relayout/kern_transpose.cuh +++ b/dnn/src/cuda/relayout/kern_transpose.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/kern_transpose.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/relayout/opr_impl.cpp b/dnn/src/cuda/relayout/opr_impl.cpp index 7249c5e2..257ba050 100644 --- a/dnn/src/cuda/relayout/opr_impl.cpp +++ b/dnn/src/cuda/relayout/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/relayout/kern.cuh" #include "src/cuda/relayout/kern_contiguous.cuh" #include "src/cuda/relayout/kern_transpose.cuh" diff --git a/dnn/src/cuda/relayout/opr_impl.h b/dnn/src/cuda/relayout/opr_impl.h index 7ad6ad09..26cbe36d 100644 --- a/dnn/src/cuda/relayout/opr_impl.h +++ b/dnn/src/cuda/relayout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/relayout/param_visitor.cpp b/dnn/src/cuda/relayout/param_visitor.cpp index 1be519e7..d1c1f74f 100644 --- a/dnn/src/cuda/relayout/param_visitor.cpp +++ b/dnn/src/cuda/relayout/param_visitor.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/param_visitor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/relayout/kern.cuh" diff --git a/dnn/src/cuda/relayout/param_visitor.cuh b/dnn/src/cuda/relayout/param_visitor.cuh index b947ac4d..ecbcb35b 100644 --- a/dnn/src/cuda/relayout/param_visitor.cuh +++ b/dnn/src/cuda/relayout/param_visitor.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout/param_visitor.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/basic_types.h" #include "src/cuda/int_fastdiv.cuh" #include "src/cuda/integer_subbyte_utils.cuh" diff --git a/dnn/src/cuda/relayout_format/cuda_post_process.cuh b/dnn/src/cuda/relayout_format/cuda_post_process.cuh index c67adf0c..4afc89f7 100644 --- a/dnn/src/cuda/relayout_format/cuda_post_process.cuh +++ b/dnn/src/cuda/relayout_format/cuda_post_process.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/cuda_post_process.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/relayout_format/relayout_format.cuh" diff --git a/dnn/src/cuda/relayout_format/opr_impl.cpp b/dnn/src/cuda/relayout_format/opr_impl.cpp index b48d6c24..920e9d3e 100644 --- a/dnn/src/cuda/relayout_format/opr_impl.cpp +++ b/dnn/src/cuda/relayout_format/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/relayout_format/opr_impl.h" #include "src/cuda/handle.h" #include "src/cuda/relayout_format/relayout_format.h" diff --git a/dnn/src/cuda/relayout_format/opr_impl.h b/dnn/src/cuda/relayout_format/opr_impl.h index 0c29cbce..2e592e66 100644 --- a/dnn/src/cuda/relayout_format/opr_impl.h +++ b/dnn/src/cuda/relayout_format/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/relayout_format/relayout_format.cpp b/dnn/src/cuda/relayout_format/relayout_format.cpp index fcf73ba0..f228d370 100644 --- a/dnn/src/cuda/relayout_format/relayout_format.cpp +++ b/dnn/src/cuda/relayout_format/relayout_format.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/relayout_format/relayout_format.cuh" #include "megdnn/dtype.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/relayout_format/relayout_format.cu b/dnn/src/cuda/relayout_format/relayout_format.cu index 99886108..875a4113 100644 --- a/dnn/src/cuda/relayout_format/relayout_format.cu +++ b/dnn/src/cuda/relayout_format/relayout_format.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/kernel_common/diagnostic_prologue.cuh" #include "src/cuda/query_blocksize.cuh" #include "src/cuda/relayout_format/relayout_format_kern.cuh" diff --git a/dnn/src/cuda/relayout_format/relayout_format.cuh b/dnn/src/cuda/relayout_format/relayout_format.cuh index b263f839..9dc5e15a 100644 --- a/dnn/src/cuda/relayout_format/relayout_format.cuh +++ b/dnn/src/cuda/relayout_format/relayout_format.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/relayout_format/relayout_format.h b/dnn/src/cuda/relayout_format/relayout_format.h index eab289f7..222cfd20 100644 --- a/dnn/src/cuda/relayout_format/relayout_format.h +++ b/dnn/src/cuda/relayout_format/relayout_format.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/cuda/relayout_format/relayout_format_kern.cuh b/dnn/src/cuda/relayout_format/relayout_format_kern.cuh index 7e37cb36..11f7c3e9 100644 --- a/dnn/src/cuda/relayout_format/relayout_format_kern.cuh +++ b/dnn/src/cuda/relayout_format/relayout_format_kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format_kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/int_fastdiv.cuh" #include "src/cuda/memory_utils.cuh" diff --git a/dnn/src/cuda/relayout_format/relayout_format_nchw_nhwc.cu b/dnn/src/cuda/relayout_format/relayout_format_nchw_nhwc.cu index e3f600bd..e581802c 100644 --- a/dnn/src/cuda/relayout_format/relayout_format_nchw_nhwc.cu +++ b/dnn/src/cuda/relayout_format/relayout_format_nchw_nhwc.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format_nchw_nhwc.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/query_blocksize.cuh" #include "src/cuda/relayout_format/relayout_format_kern.cuh" diff --git a/dnn/src/cuda/relayout_format/relayout_format_utils.cuh b/dnn/src/cuda/relayout_format/relayout_format_utils.cuh index 5ebba219..8ab897b1 100644 --- a/dnn/src/cuda/relayout_format/relayout_format_utils.cuh +++ b/dnn/src/cuda/relayout_format/relayout_format_utils.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/relayout_format_utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/integer_subbyte_utils.cuh" #include "src/cuda/relayout_format/relayout_format.cuh" diff --git a/dnn/src/cuda/relayout_format/translayout.cuh b/dnn/src/cuda/relayout_format/translayout.cuh index 14c2ea01..c67abd4f 100644 --- a/dnn/src/cuda/relayout_format/translayout.cuh +++ b/dnn/src/cuda/relayout_format/translayout.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/relayout_format/translayout.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/cuda/integer_subbyte_utils.cuh" #include "src/cuda/relayout_format/cuda_post_process.cuh" diff --git a/dnn/src/cuda/remap/backward_data.cpp b/dnn/src/cuda/remap/backward_data.cpp index 26b9933a..a4a7023b 100644 --- a/dnn/src/cuda/remap/backward_data.cpp +++ b/dnn/src/cuda/remap/backward_data.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/remap/backward_data.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/remap/common.h" #include "src/cuda/remap/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/remap/backward_data.cu b/dnn/src/cuda/remap/backward_data.cu index 0074f8bb..b6a4c08b 100644 --- a/dnn/src/cuda/remap/backward_data.cu +++ b/dnn/src/cuda/remap/backward_data.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/remap/backward_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include "src/common/rounding_converter.cuh" #include "src/cuda/cv/kernel_common.cuh" diff --git a/dnn/src/cuda/remap/backward_mat.cpp b/dnn/src/cuda/remap/backward_mat.cpp index c1dcc53c..c7a19aae 100644 --- a/dnn/src/cuda/remap/backward_mat.cpp +++ b/dnn/src/cuda/remap/backward_mat.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/remap/backward_mat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/cuda/remap/common.h" #include "src/cuda/remap/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/remap/backward_mat.cu b/dnn/src/cuda/remap/backward_mat.cu index 882bd8e2..934ea8b1 100644 --- a/dnn/src/cuda/remap/backward_mat.cu +++ b/dnn/src/cuda/remap/backward_mat.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/remap/backward_mat.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include "src/common/rounding_converter.cuh" #include "src/cuda/cv/kernel_common.cuh" diff --git a/dnn/src/cuda/remap/common.h b/dnn/src/cuda/remap/common.h index 779c2056..6301a8cc 100644 --- a/dnn/src/cuda/remap/common.h +++ b/dnn/src/cuda/remap/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/remap/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/remap/forward.cpp b/dnn/src/cuda/remap/forward.cpp index 2e1876cd..ca089221 100644 --- a/dnn/src/cuda/remap/forward.cpp +++ b/dnn/src/cuda/remap/forward.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/remap/forward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/config/config.h" #include "src/common/opr_param_defs_enumv.cuh" #include "src/cuda/remap/common.h" diff --git a/dnn/src/cuda/remap/forward.cu b/dnn/src/cuda/remap/forward.cu index 70000842..dd75b69f 100644 --- a/dnn/src/cuda/remap/forward.cu +++ b/dnn/src/cuda/remap/forward.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/remap/forward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include #include "src/common/rounding_converter.cuh" diff --git a/dnn/src/cuda/remap/opr_impl.h b/dnn/src/cuda/remap/opr_impl.h index d3617092..acac9c9e 100644 --- a/dnn/src/cuda/remap/opr_impl.h +++ b/dnn/src/cuda/remap/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/remap/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/repeat/opr_impl.cpp b/dnn/src/cuda/repeat/opr_impl.cpp index e66bdabd..43bc19ca 100644 --- a/dnn/src/cuda/repeat/opr_impl.cpp +++ b/dnn/src/cuda/repeat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/repeat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/repeat/opr_impl.h" #include "src/common/tile_repeat_helper.h" diff --git a/dnn/src/cuda/repeat/opr_impl.h b/dnn/src/cuda/repeat/opr_impl.h index 3fd5414c..14427163 100644 --- a/dnn/src/cuda/repeat/opr_impl.h +++ b/dnn/src/cuda/repeat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/repeat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/repeat/repeat.cu b/dnn/src/cuda/repeat/repeat.cu index 5d3cbb4c..7b88b939 100644 --- a/dnn/src/cuda/repeat/repeat.cu +++ b/dnn/src/cuda/repeat/repeat.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/repeat/repeat.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/repeat/repeat.cuh" #include diff --git a/dnn/src/cuda/repeat/repeat.cuh b/dnn/src/cuda/repeat/repeat.cuh index a571fd33..ff6255a9 100644 --- a/dnn/src/cuda/repeat/repeat.cuh +++ b/dnn/src/cuda/repeat/repeat.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/repeat/repeat.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/resize/backward.cpp b/dnn/src/cuda/resize/backward.cpp index e7bc9664..bfcd0ef1 100644 --- a/dnn/src/cuda/resize/backward.cpp +++ b/dnn/src/cuda/resize/backward.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/backward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/resize/opr_impl.h" #include "src/cuda/resize/common.h" diff --git a/dnn/src/cuda/resize/backward.cu b/dnn/src/cuda/resize/backward.cu index 1ab14999..8bea9f2a 100644 --- a/dnn/src/cuda/resize/backward.cu +++ b/dnn/src/cuda/resize/backward.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/backward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/resize/common.cuh" #include "src/cuda/resize/common.h" diff --git a/dnn/src/cuda/resize/common.cuh b/dnn/src/cuda/resize/common.cuh index 0b58ab7a..63573421 100644 --- a/dnn/src/cuda/resize/common.cuh +++ b/dnn/src/cuda/resize/common.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/common.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/src/cuda/resize/common.h b/dnn/src/cuda/resize/common.h index f086bbaf..e9a6205d 100644 --- a/dnn/src/cuda/resize/common.h +++ b/dnn/src/cuda/resize/common.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/resize/forward.cpp b/dnn/src/cuda/resize/forward.cpp index 421dfdbe..31ab025b 100644 --- a/dnn/src/cuda/resize/forward.cpp +++ b/dnn/src/cuda/resize/forward.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/forward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/cv/common.h" #include "src/common/cv/enums.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/resize/forward.cu b/dnn/src/cuda/resize/forward.cu index 71907a5c..2170c550 100644 --- a/dnn/src/cuda/resize/forward.cu +++ b/dnn/src/cuda/resize/forward.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/forward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/rounding_converter.cuh" #include "src/common/utils.cuh" #include "src/cuda/resize/common.cuh" diff --git a/dnn/src/cuda/resize/helper.cpp b/dnn/src/cuda/resize/helper.cpp index d849d0a2..2730f6a2 100644 --- a/dnn/src/cuda/resize/helper.cpp +++ b/dnn/src/cuda/resize/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "helper.h" #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/resize/helper.h b/dnn/src/cuda/resize/helper.h index 6f108432..de90ef25 100644 --- a/dnn/src/cuda/resize/helper.h +++ b/dnn/src/cuda/resize/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/resize/common.h" diff --git a/dnn/src/cuda/resize/opr_impl.h b/dnn/src/cuda/resize/opr_impl.h index 22d5a277..bea0938c 100644 --- a/dnn/src/cuda/resize/opr_impl.h +++ b/dnn/src/cuda/resize/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/resize/resize_cv.cuh b/dnn/src/cuda/resize/resize_cv.cuh index 4e24eee4..0927517b 100644 --- a/dnn/src/cuda/resize/resize_cv.cuh +++ b/dnn/src/cuda/resize/resize_cv.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/resize/resize_cv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/rng/kernel.cu b/dnn/src/cuda/rng/kernel.cu index 003e6328..871d317b 100644 --- a/dnn/src/cuda/rng/kernel.cu +++ b/dnn/src/cuda/rng/kernel.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/rnd/kernel.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include #include "../argsort/argsort.cuh" diff --git a/dnn/src/cuda/rng/kernel.cuh b/dnn/src/cuda/rng/kernel.cuh index f9d9bd7b..f57e0b54 100644 --- a/dnn/src/cuda/rng/kernel.cuh +++ b/dnn/src/cuda/rng/kernel.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/rng/kernel.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/rng/opr_impl.cpp b/dnn/src/cuda/rng/opr_impl.cpp index b6116263..5d49c26b 100644 --- a/dnn/src/cuda/rng/opr_impl.cpp +++ b/dnn/src/cuda/rng/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/rng/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kernel.cuh" #include "src/common/utils.h" diff --git a/dnn/src/cuda/rng/opr_impl.h b/dnn/src/cuda/rng/opr_impl.h index 3bddeb71..686f0404 100644 --- a/dnn/src/cuda/rng/opr_impl.h +++ b/dnn/src/cuda/rng/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/rng/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/cuda/roi_align/opr_impl.cpp b/dnn/src/cuda/roi_align/opr_impl.cpp index e8223201..29b2bfe5 100644 --- a/dnn/src/cuda/roi_align/opr_impl.cpp +++ b/dnn/src/cuda/roi_align/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_align/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/roi_align/opr_impl.h" #include "src/common/roi_align_helper.h" diff --git a/dnn/src/cuda/roi_align/opr_impl.h b/dnn/src/cuda/roi_align/opr_impl.h index 2695af23..bea45eff 100644 --- a/dnn/src/cuda/roi_align/opr_impl.h +++ b/dnn/src/cuda/roi_align/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_align/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/roi_align/roi_align.cu b/dnn/src/cuda/roi_align/roi_align.cu index 0469a363..f03398d1 100644 --- a/dnn/src/cuda/roi_align/roi_align.cu +++ b/dnn/src/cuda/roi_align/roi_align.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_align/roi_align.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/roi_align/roi_align.cuh" #include diff --git a/dnn/src/cuda/roi_align/roi_align.cuh b/dnn/src/cuda/roi_align/roi_align.cuh index 88eee950..5d27be98 100644 --- a/dnn/src/cuda/roi_align/roi_align.cuh +++ b/dnn/src/cuda/roi_align/roi_align.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_align/roi_align.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/roi_copy/opr_impl.cpp b/dnn/src/cuda/roi_copy/opr_impl.cpp index 2e97e1dd..e426ebf3 100644 --- a/dnn/src/cuda/roi_copy/opr_impl.cpp +++ b/dnn/src/cuda/roi_copy/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/roi_copy/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/cuda/handle.h" diff --git a/dnn/src/cuda/roi_copy/opr_impl.h b/dnn/src/cuda/roi_copy/opr_impl.h index 95ff8522..1bc3046b 100644 --- a/dnn/src/cuda/roi_copy/opr_impl.h +++ b/dnn/src/cuda/roi_copy/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_copy/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/roi_pooling/opr_impl.cpp b/dnn/src/cuda/roi_pooling/opr_impl.cpp index 2bee78ec..9eb89aa6 100644 --- a/dnn/src/cuda/roi_pooling/opr_impl.cpp +++ b/dnn/src/cuda/roi_pooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/roi_pooling/opr_impl.h" #include "src/common/roi_pooling_helper.h" diff --git a/dnn/src/cuda/roi_pooling/opr_impl.h b/dnn/src/cuda/roi_pooling/opr_impl.h index 131b3151..499b379f 100644 --- a/dnn/src/cuda/roi_pooling/opr_impl.h +++ b/dnn/src/cuda/roi_pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/roi_pooling/roi_pooling.cu b/dnn/src/cuda/roi_pooling/roi_pooling.cu index ea40e54f..2002d935 100644 --- a/dnn/src/cuda/roi_pooling/roi_pooling.cu +++ b/dnn/src/cuda/roi_pooling/roi_pooling.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_pooling/roi_pooling.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/roi_pooling/roi_pooling.cuh" #include diff --git a/dnn/src/cuda/roi_pooling/roi_pooling.cuh b/dnn/src/cuda/roi_pooling/roi_pooling.cuh index b7102dfa..aaf21cf9 100644 --- a/dnn/src/cuda/roi_pooling/roi_pooling.cuh +++ b/dnn/src/cuda/roi_pooling/roi_pooling.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/roi_pooling/roi_pooling.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/rotate/opr_impl.cpp b/dnn/src/cuda/rotate/opr_impl.cpp index 8855d45d..906e2653 100644 --- a/dnn/src/cuda/rotate/opr_impl.cpp +++ b/dnn/src/cuda/rotate/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/rotate/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./opr_impl.h" diff --git a/dnn/src/cuda/rotate/opr_impl.h b/dnn/src/cuda/rotate/opr_impl.h index 385b6a6c..f9e6e518 100644 --- a/dnn/src/cuda/rotate/opr_impl.h +++ b/dnn/src/cuda/rotate/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/rotate/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/rotate/rotate.cu b/dnn/src/cuda/rotate/rotate.cu index 7e0bc06d..c3342069 100644 --- a/dnn/src/cuda/rotate/rotate.cu +++ b/dnn/src/cuda/rotate/rotate.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/rotate/rotate.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./rotate.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/rotate/rotate.cuh b/dnn/src/cuda/rotate/rotate.cuh index 24a60533..423d9f95 100644 --- a/dnn/src/cuda/rotate/rotate.cuh +++ b/dnn/src/cuda/rotate/rotate.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/rotate/rotate.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/separable_conv/opr_impl.cpp b/dnn/src/cuda/separable_conv/opr_impl.cpp index 9d65e33c..16fc9a62 100644 --- a/dnn/src/cuda/separable_conv/opr_impl.cpp +++ b/dnn/src/cuda/separable_conv/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/separable_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/separable_conv/opr_impl.h" #include #include "src/common/utils.h" diff --git a/dnn/src/cuda/separable_conv/opr_impl.h b/dnn/src/cuda/separable_conv/opr_impl.h index 5c5befa4..96d6c742 100644 --- a/dnn/src/cuda/separable_conv/opr_impl.h +++ b/dnn/src/cuda/separable_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/separable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/cuda/convolution/opr_impl.h" diff --git a/dnn/src/cuda/separable_filter/opr_impl.cpp b/dnn/src/cuda/separable_filter/opr_impl.cpp index b81aac0e..f6ae8f1a 100644 --- a/dnn/src/cuda/separable_filter/opr_impl.cpp +++ b/dnn/src/cuda/separable_filter/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/separable_filter/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/separable_filter/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/separable_filter/opr_impl.h b/dnn/src/cuda/separable_filter/opr_impl.h index cf3f6e86..3a63e264 100644 --- a/dnn/src/cuda/separable_filter/opr_impl.h +++ b/dnn/src/cuda/separable_filter/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/separable_filter/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" namespace megdnn { diff --git a/dnn/src/cuda/sleep/kern.cu b/dnn/src/cuda/sleep/kern.cu index 5631ea29..f2d113ae 100644 --- a/dnn/src/cuda/sleep/kern.cu +++ b/dnn/src/cuda/sleep/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/sleep/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" namespace { diff --git a/dnn/src/cuda/sleep/kern.cuh b/dnn/src/cuda/sleep/kern.cuh index 4b84bb36..95bb880e 100644 --- a/dnn/src/cuda/sleep/kern.cuh +++ b/dnn/src/cuda/sleep/kern.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sleep/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/sleep/opr_impl.cpp b/dnn/src/cuda/sleep/opr_impl.cpp index a7130d2f..f111ecc7 100644 --- a/dnn/src/cuda/sleep/opr_impl.cpp +++ b/dnn/src/cuda/sleep/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/sleep/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/sleep/opr_impl.h b/dnn/src/cuda/sleep/opr_impl.h index 11a3ad2c..49355614 100644 --- a/dnn/src/cuda/sleep/opr_impl.h +++ b/dnn/src/cuda/sleep/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sleep/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/sliding_window_transpose/opr_impl.cpp b/dnn/src/cuda/sliding_window_transpose/opr_impl.cpp index ccd40230..fa1b45d5 100644 --- a/dnn/src/cuda/sliding_window_transpose/opr_impl.cpp +++ b/dnn/src/cuda/sliding_window_transpose/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sliding_window_transpose/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/sliding_window_transpose/opr_impl.h" #include "src/cuda/sliding_window_transpose/sliding_window_transpose.cuh" diff --git a/dnn/src/cuda/sliding_window_transpose/opr_impl.h b/dnn/src/cuda/sliding_window_transpose/opr_impl.h index d9c1ae5d..416ce1dc 100644 --- a/dnn/src/cuda/sliding_window_transpose/opr_impl.h +++ b/dnn/src/cuda/sliding_window_transpose/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sliding_window_transpose/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cu b/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cu index 7f037b66..433590fd 100644 --- a/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cu +++ b/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sliding_window_transpose/kernel.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/sliding_window_transpose/sliding_window_transpose.cuh" #include diff --git a/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cuh b/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cuh index 95eefe74..f2e3774f 100644 --- a/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cuh +++ b/dnn/src/cuda/sliding_window_transpose/sliding_window_transpose.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/sliding_window_transpose/kernel.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/softmax/opr_impl.cpp b/dnn/src/cuda/softmax/opr_impl.cpp index ceb2a716..bfd57f92 100644 --- a/dnn/src/cuda/softmax/opr_impl.cpp +++ b/dnn/src/cuda/softmax/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/softmax/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/softmax/opr_impl.h" #include "src/cuda/handle.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/softmax/opr_impl.h b/dnn/src/cuda/softmax/opr_impl.h index 803869d2..e81f51f5 100644 --- a/dnn/src/cuda/softmax/opr_impl.h +++ b/dnn/src/cuda/softmax/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/softmax/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/cuda/split/opr_impl.cpp b/dnn/src/cuda/split/opr_impl.cpp index 01d7790b..be0cebea 100644 --- a/dnn/src/cuda/split/opr_impl.cpp +++ b/dnn/src/cuda/split/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/split/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/split/opr_impl.h" #include diff --git a/dnn/src/cuda/split/opr_impl.h b/dnn/src/cuda/split/opr_impl.h index b9763fce..645ac734 100644 --- a/dnn/src/cuda/split/opr_impl.h +++ b/dnn/src/cuda/split/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/split/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/split/split.cu b/dnn/src/cuda/split/split.cu index 68a2e00a..5e13e86b 100644 --- a/dnn/src/cuda/split/split.cu +++ b/dnn/src/cuda/split/split.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/split/split.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/split/split.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/split/split.cuh b/dnn/src/cuda/split/split.cuh index 1f8421ba..82de7107 100644 --- a/dnn/src/cuda/split/split.cuh +++ b/dnn/src/cuda/split/split.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/split/split.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/svd/opr_impl.cpp b/dnn/src/cuda/svd/opr_impl.cpp index 7b485750..27bdfb1f 100644 --- a/dnn/src/cuda/svd/opr_impl.cpp +++ b/dnn/src/cuda/svd/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/svd/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include diff --git a/dnn/src/cuda/svd/opr_impl.h b/dnn/src/cuda/svd/opr_impl.h index 82dda4b4..a51eae14 100644 --- a/dnn/src/cuda/svd/opr_impl.h +++ b/dnn/src/cuda/svd/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/svd/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/tensor_remap/opr_impl.cpp b/dnn/src/cuda/tensor_remap/opr_impl.cpp index 00cdd169..41cd15ce 100644 --- a/dnn/src/cuda/tensor_remap/opr_impl.cpp +++ b/dnn/src/cuda/tensor_remap/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tensor_remap/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/tensor_remap/opr_impl.h" #include "src/cuda/tensor_remap/tensor_remap.cuh" diff --git a/dnn/src/cuda/tensor_remap/opr_impl.h b/dnn/src/cuda/tensor_remap/opr_impl.h index 7d8d7647..073041e3 100644 --- a/dnn/src/cuda/tensor_remap/opr_impl.h +++ b/dnn/src/cuda/tensor_remap/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tensor_remap/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/tensor_remap/tensor_remap.cu b/dnn/src/cuda/tensor_remap/tensor_remap.cu index c2e4c68c..efb8aed6 100644 --- a/dnn/src/cuda/tensor_remap/tensor_remap.cu +++ b/dnn/src/cuda/tensor_remap/tensor_remap.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/tensor_remap/tensor_remap.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/query_blocksize.cuh" #include "src/cuda/tensor_remap/tensor_remap.cuh" diff --git a/dnn/src/cuda/tensor_remap/tensor_remap.cuh b/dnn/src/cuda/tensor_remap/tensor_remap.cuh index 1f1430b8..ea616c7c 100644 --- a/dnn/src/cuda/tensor_remap/tensor_remap.cuh +++ b/dnn/src/cuda/tensor_remap/tensor_remap.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tensor_remap/tensor_remap.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/tile/opr_impl.cpp b/dnn/src/cuda/tile/opr_impl.cpp index 1525fe92..e9fdca9a 100644 --- a/dnn/src/cuda/tile/opr_impl.cpp +++ b/dnn/src/cuda/tile/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tile/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/tile/opr_impl.h" #include "src/common/tile_repeat_helper.h" diff --git a/dnn/src/cuda/tile/opr_impl.h b/dnn/src/cuda/tile/opr_impl.h index 8e5b63b0..c07a3839 100644 --- a/dnn/src/cuda/tile/opr_impl.h +++ b/dnn/src/cuda/tile/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tile/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/tile/tile.cu b/dnn/src/cuda/tile/tile.cu index 8a82371d..af5f34e2 100644 --- a/dnn/src/cuda/tile/tile.cu +++ b/dnn/src/cuda/tile/tile.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tile/tile.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/tile/tile.cuh" #include diff --git a/dnn/src/cuda/tile/tile.cuh b/dnn/src/cuda/tile/tile.cuh index 3fe6f81a..82d23d50 100644 --- a/dnn/src/cuda/tile/tile.cuh +++ b/dnn/src/cuda/tile/tile.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/tile/tile.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/topk/opr_impl.cpp b/dnn/src/cuda/topk/opr_impl.cpp index 9a6dde65..342a21a4 100644 --- a/dnn/src/cuda/topk/opr_impl.cpp +++ b/dnn/src/cuda/topk/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/topk/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./topk_radix.cuh" #include "src/common/utils.h" diff --git a/dnn/src/cuda/topk/opr_impl.h b/dnn/src/cuda/topk/opr_impl.h index f124b171..934deea5 100644 --- a/dnn/src/cuda/topk/opr_impl.h +++ b/dnn/src/cuda/topk/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/topk/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/cuda/topk/topk_radix.cu b/dnn/src/cuda/topk/topk_radix.cu index 678d2eec..f41ce7b7 100644 --- a/dnn/src/cuda/topk/topk_radix.cu +++ b/dnn/src/cuda/topk/topk_radix.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/topk/topk_radix.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./topk_radix.cuh" #include "src/cuda/cub/device/device_scan.cuh" #include "src/cuda/cuda_shfl_compat.cuh" diff --git a/dnn/src/cuda/topk/topk_radix.cuh b/dnn/src/cuda/topk/topk_radix.cuh index d84a024d..51323e6d 100644 --- a/dnn/src/cuda/topk/topk_radix.cuh +++ b/dnn/src/cuda/topk/topk_radix.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/topk/topk_radix.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include diff --git a/dnn/src/cuda/tqt/kern.cu b/dnn/src/cuda/tqt/kern.cu index efd16b90..355c346b 100644 --- a/dnn/src/cuda/tqt/kern.cu +++ b/dnn/src/cuda/tqt/kern.cu @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/tqt/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./kern.cuh" namespace megdnn { diff --git a/dnn/src/cuda/tqt/kern.cuh b/dnn/src/cuda/tqt/kern.cuh index 8fd9b49d..4374dc4f 100644 --- a/dnn/src/cuda/tqt/kern.cuh +++ b/dnn/src/cuda/tqt/kern.cuh @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/tqt/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/tqt/opr_impl.cpp b/dnn/src/cuda/tqt/opr_impl.cpp index 3d68773f..2398edd6 100644 --- a/dnn/src/cuda/tqt/opr_impl.cpp +++ b/dnn/src/cuda/tqt/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/tqt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" #include "src/common/utils.h" diff --git a/dnn/src/cuda/tqt/opr_impl.h b/dnn/src/cuda/tqt/opr_impl.h index 56156d56..50071fe8 100644 --- a/dnn/src/cuda/tqt/opr_impl.h +++ b/dnn/src/cuda/tqt/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/cuda/tqt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/transpose/opr_impl.cpp b/dnn/src/cuda/transpose/opr_impl.cpp index 6b9cc547..8157cf22 100644 --- a/dnn/src/cuda/transpose/opr_impl.cpp +++ b/dnn/src/cuda/transpose/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/transpose/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/transpose/opr_impl.h" #include "src/cuda/transpose/transpose.cuh" diff --git a/dnn/src/cuda/transpose/opr_impl.h b/dnn/src/cuda/transpose/opr_impl.h index 0c163a8a..f4435287 100644 --- a/dnn/src/cuda/transpose/opr_impl.h +++ b/dnn/src/cuda/transpose/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/transpose/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/transpose/transpose.cu b/dnn/src/cuda/transpose/transpose.cu index efa31de2..3284af7e 100644 --- a/dnn/src/cuda/transpose/transpose.cu +++ b/dnn/src/cuda/transpose/transpose.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/transpose/transpose.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/transpose/transpose.cuh" #include "megdnn/dtype.h" diff --git a/dnn/src/cuda/transpose/transpose.cuh b/dnn/src/cuda/transpose/transpose.cuh index 4581427b..1a53451c 100644 --- a/dnn/src/cuda/transpose/transpose.cuh +++ b/dnn/src/cuda/transpose/transpose.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/transpose/transpose.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/cuda/transpose_utils.cuh b/dnn/src/cuda/transpose_utils.cuh index 3a10c5e2..b8f42d61 100644 --- a/dnn/src/cuda/transpose_utils.cuh +++ b/dnn/src/cuda/transpose_utils.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/memory_utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #if MEGDNN_CC_CUDA #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/type_cvt/kern.cu b/dnn/src/cuda/type_cvt/kern.cu index fd591d20..8f21531d 100644 --- a/dnn/src/cuda/type_cvt/kern.cu +++ b/dnn/src/cuda/type_cvt/kern.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/type_cvt/kern.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./kern.cuh" #include "megdnn/dtype.h" #include "src/cuda/elemwise_helper.cuh" diff --git a/dnn/src/cuda/type_cvt/kern.cuh b/dnn/src/cuda/type_cvt/kern.cuh index d3057d73..ba8e3dce 100644 --- a/dnn/src/cuda/type_cvt/kern.cuh +++ b/dnn/src/cuda/type_cvt/kern.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/type_cvt/kern.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/type_cvt/opr_impl.cpp b/dnn/src/cuda/type_cvt/opr_impl.cpp index eddbdf74..7c622ea9 100644 --- a/dnn/src/cuda/type_cvt/opr_impl.cpp +++ b/dnn/src/cuda/type_cvt/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./kern.cuh" diff --git a/dnn/src/cuda/type_cvt/opr_impl.h b/dnn/src/cuda/type_cvt/opr_impl.h index b81180c9..c79c7249 100644 --- a/dnn/src/cuda/type_cvt/opr_impl.h +++ b/dnn/src/cuda/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/utils.cpp b/dnn/src/cuda/utils.cpp index 8ea1bad7..18ff1b5c 100644 --- a/dnn/src/cuda/utils.cpp +++ b/dnn/src/cuda/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/utils.cuh" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/utils.cuh b/dnn/src/cuda/utils.cuh index c59a8f4a..2e72424a 100644 --- a/dnn/src/cuda/utils.cuh +++ b/dnn/src/cuda/utils.cuh @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/utils.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "include/megdnn/dtype.h" diff --git a/dnn/src/cuda/utils.h b/dnn/src/cuda/utils.h index 7f74fcc0..5ea1e18d 100644 --- a/dnn/src/cuda/utils.h +++ b/dnn/src/cuda/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/warp_affine/common.cuh b/dnn/src/cuda/warp_affine/common.cuh index 3e3471ce..2c9d7bee 100644 --- a/dnn/src/cuda/warp_affine/common.cuh +++ b/dnn/src/cuda/warp_affine/common.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/common.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/warp_affine/common.h b/dnn/src/cuda/warp_affine/common.h index ea1d31a1..2b522032 100644 --- a/dnn/src/cuda/warp_affine/common.h +++ b/dnn/src/cuda/warp_affine/common.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/warp_affine/helper.cpp b/dnn/src/cuda/warp_affine/helper.cpp index 8c28ca0a..7e833572 100644 --- a/dnn/src/cuda/warp_affine/helper.cpp +++ b/dnn/src/cuda/warp_affine/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/warp_affine/helper.h" #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/cuda/warp_affine/helper.h b/dnn/src/cuda/warp_affine/helper.h index 96e42da6..7b942c1c 100644 --- a/dnn/src/cuda/warp_affine/helper.h +++ b/dnn/src/cuda/warp_affine/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/warp_affine/opr_impl.cpp b/dnn/src/cuda/warp_affine/opr_impl.cpp index a9d5e378..1101b81f 100644 --- a/dnn/src/cuda/warp_affine/opr_impl.cpp +++ b/dnn/src/cuda/warp_affine/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/cuda/warp_affine/opr_impl.h" #include "src/cuda/handle.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/warp_affine/opr_impl.h b/dnn/src/cuda/warp_affine/opr_impl.h index d9f304df..29c1b418 100644 --- a/dnn/src/cuda/warp_affine/opr_impl.h +++ b/dnn/src/cuda/warp_affine/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/warp_affine/warp_affine.cu b/dnn/src/cuda/warp_affine/warp_affine.cu index d13686ce..6a31648a 100644 --- a/dnn/src/cuda/warp_affine/warp_affine.cu +++ b/dnn/src/cuda/warp_affine/warp_affine.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/warp_affine.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/warp_affine/common.h" #include diff --git a/dnn/src/cuda/warp_affine/warp_affine_cv.cuh b/dnn/src/cuda/warp_affine/warp_affine_cv.cuh index 7d727433..1096352c 100644 --- a/dnn/src/cuda/warp_affine/warp_affine_cv.cuh +++ b/dnn/src/cuda/warp_affine/warp_affine_cv.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_affine/warp_affine_cv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/warp_perspective/backward_data.cpp b/dnn/src/cuda/warp_perspective/backward_data.cpp index f80e4902..e4813d98 100644 --- a/dnn/src/cuda/warp_perspective/backward_data.cpp +++ b/dnn/src/cuda/warp_perspective/backward_data.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/backward_data.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/warp_perspective/backward_data.cu b/dnn/src/cuda/warp_perspective/backward_data.cu index 0b4bc7d8..13110a62 100644 --- a/dnn/src/cuda/warp_perspective/backward_data.cu +++ b/dnn/src/cuda/warp_perspective/backward_data.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/backward_data.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/common.h" #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/warp_perspective/backward_mat.cpp b/dnn/src/cuda/warp_perspective/backward_mat.cpp index 83b7973f..32984bd2 100644 --- a/dnn/src/cuda/warp_perspective/backward_mat.cpp +++ b/dnn/src/cuda/warp_perspective/backward_mat.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/backward_mat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/opr_impl.h" #include "src/cuda/utils.h" diff --git a/dnn/src/cuda/warp_perspective/backward_mat.cu b/dnn/src/cuda/warp_perspective/backward_mat.cu index 1e434278..bc7bfc4e 100644 --- a/dnn/src/cuda/warp_perspective/backward_mat.cu +++ b/dnn/src/cuda/warp_perspective/backward_mat.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/backward_mat.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/common.h" #include diff --git a/dnn/src/cuda/warp_perspective/common.cuh b/dnn/src/cuda/warp_perspective/common.cuh index d381a47e..f8d96905 100644 --- a/dnn/src/cuda/warp_perspective/common.cuh +++ b/dnn/src/cuda/warp_perspective/common.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/common.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/utils.cuh" diff --git a/dnn/src/cuda/warp_perspective/common.h b/dnn/src/cuda/warp_perspective/common.h index 241b857c..d665dace 100644 --- a/dnn/src/cuda/warp_perspective/common.h +++ b/dnn/src/cuda/warp_perspective/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megcore_cdefs.h" diff --git a/dnn/src/cuda/warp_perspective/forward.cpp b/dnn/src/cuda/warp_perspective/forward.cpp index f7697648..02b323b1 100644 --- a/dnn/src/cuda/warp_perspective/forward.cpp +++ b/dnn/src/cuda/warp_perspective/forward.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/forward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/opr_impl.h" #include "src/cuda/warp_perspective/warp_perspective_cv.cuh" diff --git a/dnn/src/cuda/warp_perspective/forward.cu b/dnn/src/cuda/warp_perspective/forward.cu index 2d251f09..959624fe 100644 --- a/dnn/src/cuda/warp_perspective/forward.cu +++ b/dnn/src/cuda/warp_perspective/forward.cu @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/forward.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/cuda/warp_perspective/common.h" #include diff --git a/dnn/src/cuda/warp_perspective/helper.cpp b/dnn/src/cuda/warp_perspective/helper.cpp index d4fd7423..36c763a5 100644 --- a/dnn/src/cuda/warp_perspective/helper.cpp +++ b/dnn/src/cuda/warp_perspective/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/cuda/warp_perspective/common.h" #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/warp_perspective/helper.h b/dnn/src/cuda/warp_perspective/helper.h index 91d2a2e2..e14616ad 100644 --- a/dnn/src/cuda/warp_perspective/helper.h +++ b/dnn/src/cuda/warp_perspective/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/cuda/warp_perspective/common.h" diff --git a/dnn/src/cuda/warp_perspective/opr_impl.h b/dnn/src/cuda/warp_perspective/opr_impl.h index 0afd063d..4394cc13 100644 --- a/dnn/src/cuda/warp_perspective/opr_impl.h +++ b/dnn/src/cuda/warp_perspective/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/cuda/warp_perspective/warp_perspective.cuh b/dnn/src/cuda/warp_perspective/warp_perspective.cuh index 24398f08..001c1651 100644 --- a/dnn/src/cuda/warp_perspective/warp_perspective.cuh +++ b/dnn/src/cuda/warp_perspective/warp_perspective.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/warp_perspective.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/cuda/warp_perspective/warp_perspective_cv.cuh b/dnn/src/cuda/warp_perspective/warp_perspective_cv.cuh index 6a4f1575..0c460e4c 100644 --- a/dnn/src/cuda/warp_perspective/warp_perspective_cv.cuh +++ b/dnn/src/cuda/warp_perspective/warp_perspective_cv.cuh @@ -1,13 +1,3 @@ -/** - * \file dnn/src/cuda/warp_perspective/warp_perspective_cv.cuh - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/fallback/add_update/opr_impl.cpp b/dnn/src/fallback/add_update/opr_impl.cpp index 5f80dc1a..e6983906 100644 --- a/dnn/src/fallback/add_update/opr_impl.cpp +++ b/dnn/src/fallback/add_update/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/add_update/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/naive/add_update/opr_impl.h" diff --git a/dnn/src/fallback/add_update/opr_impl.h b/dnn/src/fallback/add_update/opr_impl.h index dec01726..df4e796f 100644 --- a/dnn/src/fallback/add_update/opr_impl.h +++ b/dnn/src/fallback/add_update/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/add_update/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/add_update/opr_impl.h" diff --git a/dnn/src/fallback/batched_matrix_mul/algos.cpp b/dnn/src/fallback/batched_matrix_mul/algos.cpp index ee48683f..b27e2147 100644 --- a/dnn/src/fallback/batched_matrix_mul/algos.cpp +++ b/dnn/src/fallback/batched_matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/batched_matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/batched_matrix_mul/algos.h" #include "src/common/algo_base.h" #include "src/naive/handle.h" diff --git a/dnn/src/fallback/batched_matrix_mul/algos.h b/dnn/src/fallback/batched_matrix_mul/algos.h index 2f647b67..af237040 100644 --- a/dnn/src/fallback/batched_matrix_mul/algos.h +++ b/dnn/src/fallback/batched_matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/batched_matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/fallback/batched_matrix_mul/opr_impl.cpp b/dnn/src/fallback/batched_matrix_mul/opr_impl.cpp index aee383c1..973f9f93 100644 --- a/dnn/src/fallback/batched_matrix_mul/opr_impl.cpp +++ b/dnn/src/fallback/batched_matrix_mul/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/batched_matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./opr_impl.h" #include "./algos.h" diff --git a/dnn/src/fallback/batched_matrix_mul/opr_impl.h b/dnn/src/fallback/batched_matrix_mul/opr_impl.h index 9f157c0d..c64439b7 100644 --- a/dnn/src/fallback/batched_matrix_mul/opr_impl.h +++ b/dnn/src/fallback/batched_matrix_mul/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/batched_matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/opr_delegate.h" #include "src/naive/batched_matrix_mul/opr_impl.h" diff --git a/dnn/src/fallback/concat/opr_impl.cpp b/dnn/src/fallback/concat/opr_impl.cpp index 6bdddf71..4c337d07 100644 --- a/dnn/src/fallback/concat/opr_impl.cpp +++ b/dnn/src/fallback/concat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/concat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/concat/opr_impl.h" #include diff --git a/dnn/src/fallback/concat/opr_impl.h b/dnn/src/fallback/concat/opr_impl.h index 579df839..3dceed84 100644 --- a/dnn/src/fallback/concat/opr_impl.h +++ b/dnn/src/fallback/concat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/concat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/concat/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/algos.cpp b/dnn/src/fallback/conv_bias/algos.cpp index 12f6fa06..784f1563 100644 --- a/dnn/src/fallback/conv_bias/algos.cpp +++ b/dnn/src/fallback/conv_bias/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/algos.h" #include "megdnn/opr_param_defs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/fallback/conv_bias/algos.h b/dnn/src/fallback/conv_bias/algos.h index 12d44314..c98f2dec 100644 --- a/dnn/src/fallback/conv_bias/algos.h +++ b/dnn/src/fallback/conv_bias/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/small_vector.h" diff --git a/dnn/src/fallback/conv_bias/common.h b/dnn/src/fallback/conv_bias/common.h index 2c90cc5a..ea8199cd 100644 --- a/dnn/src/fallback/conv_bias/common.h +++ b/dnn/src/fallback/conv_bias/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/fallback/conv_bias/conv1x1/algos.cpp b/dnn/src/fallback/conv_bias/conv1x1/algos.cpp index 0e0c3c2c..cd84efa6 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/algos.cpp +++ b/dnn/src/fallback/conv_bias/conv1x1/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/conv1x1/algos.h" #include "src/common/opr_delegate.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/algos.h b/dnn/src/fallback/conv_bias/conv1x1/algos.h index 22af3963..1e5d5447 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/algos.h +++ b/dnn/src/fallback/conv_bias/conv1x1/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/small_vector.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.cpp b/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.cpp index 94cd6ebd..3f05a001 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.cpp +++ b/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h" #include "src/fallback/conv_bias/conv1x1/conv1x1_utils.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h b/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h index 09ef6880..23b206c8 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h +++ b/dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/algos_conv1x1_gemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/small_vector.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_dispatcher.h b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_dispatcher.h index 057c26ef..efb20422 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_dispatcher.h +++ b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_dispatcher.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/conv1x1_dispatcher.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/conv_bias/conv1x1/conv1x1_strategy.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.cpp b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.cpp index 419c7840..adc7fa95 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.cpp +++ b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/Conv1x1_strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/conv1x1/conv1x1_strategy.h" #include "src/fallback/conv_bias/conv1x1/conv1x1_utils.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.h b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.h index b3a6983f..fbfac667 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.h +++ b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/conv1x1_strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/conv_bias/conv1x1/conv1x1_utils.h" diff --git a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.cpp b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.cpp index dc3f0092..2d899a6f 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.cpp +++ b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/conv1x1/conv1x1_utils.h" namespace megdnn { diff --git a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h index 8f1ef612..1c3382a9 100644 --- a/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h +++ b/dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/conv1x1/conv1x1_utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/fallback/conv_bias/direct/multi_thread_common.cpp b/dnn/src/fallback/conv_bias/direct/multi_thread_common.cpp index fc51510e..58551cfa 100644 --- a/dnn/src/fallback/conv_bias/direct/multi_thread_common.cpp +++ b/dnn/src/fallback/conv_bias/direct/multi_thread_common.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/direct/multi_thread_common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "multi_thread_common.h" #include "src/fallback/matrix_mul/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/direct/multi_thread_common.h b/dnn/src/fallback/conv_bias/direct/multi_thread_common.h index d53ab3f8..9756bdb1 100644 --- a/dnn/src/fallback/conv_bias/direct/multi_thread_common.h +++ b/dnn/src/fallback/conv_bias/direct/multi_thread_common.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/direct/multi_thread_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain_build_config.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/algos.cpp b/dnn/src/fallback/conv_bias/gi/fp32/algos.cpp index b9b106e4..1b87e355 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/algos.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/algos.h" #include "src/common/opr_delegate.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/algos.h b/dnn/src/fallback/conv_bias/gi/fp32/algos.h index c142123d..1de3569f 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/algos.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp index 919a8d8c..0d3093ac 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h index e94d0a55..ce9e9c68 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_3x3_s1p1_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp index 5a635179..b8fa4fbb 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h index 9042bce9..db90ce8d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_5x5_s1p2_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp index 6d444d8b..62a7279a 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/algos.h" #include "src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h" #include "src/fallback/elemwise_helper/elemwise_op.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.cpp b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.cpp index da1d5f93..f57a2aeb 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/int8/direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h" #include "src/common/unroll_macro.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h index e9075805..a387f177 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/channel_wise_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/conv_bias/common.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct.cpp index f5bf0862..bf275644 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/direct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/gi/fp32/direct.h" #include #include "include/megdnn/oprs.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct.h b/dnn/src/fallback/conv_bias/gi/fp32/direct.h index fa596390..9d58066c 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/direct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern.cpp index bd2a332c..ef97e1e4 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern.cpp @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_kern.h" #include "src/fallback/conv_bias/common.h" #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_bias.cpp index a9663a73..4c6daa6e 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp index a06afba5..99aa0a17 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BROADCAST_CHANNEL_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_no_bias.cpp index 61a9eb99..1184fe95 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_NO_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_bias.cpp index e6e3107e..b192a0bc 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp index d3f9e5fd..a891c576 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BROADCAST_CHANNEL_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_no_bias.cpp index 079ccf8b..558afb58 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_2x2s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_NO_BIAS(2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_bias.cpp index 685bb919..b81f45a2 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp index fc69ce2f..322919eb 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BROADCAST_CHANNEL_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_no_bias.cpp index 979a479b..ed19e742 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_NO_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_bias.cpp index e904cee0..e7306d69 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp index 254698aa..16723083 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BROADCAST_CHANNEL_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_no_bias.cpp index ccfac7a6..9e7ee84d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_3x3s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_NO_BIAS(3); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_bias.cpp index c58b59d2..c425fb2e 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp index ceafb966..90fb9bd6 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BROADCAST_CHANNEL_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_no_bias.cpp index 8ed94109..8331cb87 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_NO_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_bias.cpp index 482465a8..1a22741d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp index 16f64558..77403dcf 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BROADCAST_CHANNEL_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_no_bias.cpp index 02a5b6db..180af463 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_5x5s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_NO_BIAS(5); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_bias.cpp index 788fca50..cc2c948d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp index cda9bc24..dac33b67 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_BROADCAST_CHANNEL_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_no_bias.cpp index 27a20d0c..43123b3c 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h" INSTANTIATION_CONV_S1_NO_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_bias.cpp index 30112c90..ef3cf5e9 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp index bc2b73cc..e2baf581 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_BROADCAST_CHANNEL_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_no_bias.cpp index 9ae8eb3e..35832192 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_7x7s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h" INSTANTIATION_CONV_S2_NO_BIAS(7); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h index ee367b8c..240cf1b4 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/arch.h" #include "src/common/unroll_macro.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h index f6af99b1..f2d5fae2 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h @@ -1,16 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw44_kern_common_s2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/arch.h" #include "src/common/unroll_macro.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp index 5e0ca627..077d71cb 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(2, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp index f9e46534..80dc1c88 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(2, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp index 1d8e676e..b4937a6b 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(2, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp index 7b899fb7..7855deb3 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(2, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp index 0e031946..38940238 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(2, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp index 6558f35f..ef9e4dd5 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_2x2s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(2, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp index ecb576ea..201cbbf3 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(3, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp index d45ec28e..a257a778 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(3, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_no_bias.cpp index 5719c179..d61f6c6f 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s1_no_bias - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(3, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp index 9f155db7..4c67e7e7 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(3, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp index 8d7eca4d..472de26a 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(3, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp index aaae519c..e51f9ed9 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_3x3s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(3, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp index 43f9fdda..9e49bd06 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(5, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp index 0581c1d4..80eb1e04 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(5, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp index fe8720a5..f1b64deb 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(5, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp index 711be538..cee0bf82 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(5, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp index f0401f2d..80cb953e 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(5, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp index 0d10f489..821d2dc9 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_5x5s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(5, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp index 74e4fe1f..5131f633 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(7, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp index 53bb7085..9eae7720 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(7, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp index f7eacb6c..f6e5ffa1 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s1_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(7, 1); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp index 5d0977a6..a48a5e30 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BIAS(7, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp index bf2b1500..0e386517 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_broadcast_channel_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_BROADCAST_CHANNEL_BIAS(7, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp index ed8c9f82..309f29f4 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_7x7s2_no_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h" INSTANCE_CONV_NO_BIAS(7, 2); // vim: syntax=cpp.doxygen diff --git a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h index ade5e44c..a4c4abac 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/direct_kernels/f32_direct_nchw_nchw44_kern_common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" #include "src/common/unroll_macro.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride1.h b/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride1.h index 5ea20649..a04e007d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride1.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride1.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride2.h b/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride2.h index 1d824ca8..59e33d1b 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride2.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/do_conv_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp index 5037b962..8c4298b1 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. - */ - #include "megdnn/oprs.h" #include "src/fallback/conv_bias/gi/block_helper.h" #include "src/fallback/conv_bias/gi/fp32/algos.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_kern.h b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_kern.h index 6136b5e1..553d8d43 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_kern.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw44_kern.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/f32_direct_stride1_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/conv_bias/common.h" #include "src/fallback/conv_bias/opr_impl.h" namespace megdnn { diff --git a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h index 5c94af31..901cdec1 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/f32_direct_nchw_nchw44_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" #include "src/common/unroll_macro.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/filter_transform.h b/dnn/src/fallback/conv_bias/gi/fp32/filter_transform.h index daf26e10..cae0245d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/filter_transform.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/filter_transform.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/filter_transform.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/opr_param_defs.h" #include "src/common/unroll_macro.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy.h b/dnn/src/fallback/conv_bias/gi/fp32/strategy.h index b754c4c6..dc48c6f4 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy.h +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/conv_bias/gi/postprocess_helper.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_2x3_4x4.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_2x3_4x4.cpp index 7f656129..f63692a9 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_2x3_4x4.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_2x3_4x4.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_2x3_4x4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/gi/fp32/strategy.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_4x5.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_4x5.cpp index 4556218a..ad2b30b5 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_4x5.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_4x5.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_4x5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/gi/fp32/strategy.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_5x4.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_5x4.cpp index c26c9a5e..7def8ecf 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_5x4.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_5x4.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_5x4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/gi/fp32/strategy.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3.cpp index 9481d7bd..2356a6a1 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/gi/fp32/filter_transform.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3_4x4.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3_4x4.cpp index 9352235e..0ddd8c64 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3_4x4.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3_4x4.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_6x3_4x4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp index fb165dce..485a89a0 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_f23_mk4_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/fallback/conv_bias/gi/fp32/strategy.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp index b8a46c35..1bcd096d 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_f63_mk4_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp index b814794a..52ea1f46 100644 --- a/dnn/src/fallback/conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp +++ b/dnn/src/fallback/conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/gi/fp32/strategy_f73_mk4_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/fallback/conv_bias/im2col/algos.cpp b/dnn/src/fallback/conv_bias/im2col/algos.cpp index 7bb81af5..37efbf96 100644 --- a/dnn/src/fallback/conv_bias/im2col/algos.cpp +++ b/dnn/src/fallback/conv_bias/im2col/algos.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/opr_param_defs.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/fallback/conv_bias/im2col/algos.h b/dnn/src/fallback/conv_bias/im2col/algos.h index 79ed0d70..250d9cb3 100644 --- a/dnn/src/fallback/conv_bias/im2col/algos.h +++ b/dnn/src/fallback/conv_bias/im2col/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/small_vector.h" diff --git a/dnn/src/fallback/conv_bias/im2col/factory.h b/dnn/src/fallback/conv_bias/im2col/factory.h index 5b496a70..e4544c20 100644 --- a/dnn/src/fallback/conv_bias/im2col/factory.h +++ b/dnn/src/fallback/conv_bias/im2col/factory.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/factory.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "src/fallback/conv_bias/im2col/strategy_base.h" diff --git a/dnn/src/fallback/conv_bias/im2col/im2col_kerns.h b/dnn/src/fallback/conv_bias/im2col/im2col_kerns.h index c3267138..fb86ff56 100644 --- a/dnn/src/fallback/conv_bias/im2col/im2col_kerns.h +++ b/dnn/src/fallback/conv_bias/im2col/im2col_kerns.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/im2col_kerns.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/factory.h" #include "src/fallback/conv_bias/opr_impl.h" #include "src/naive/convolution/helper.h" diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_base.h b/dnn/src/fallback/conv_bias/im2col/strategy_base.h index f635d29a..47261288 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_base.h +++ b/dnn/src/fallback/conv_bias/im2col/strategy_base.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/conv_bias/opr_impl.h" diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_default.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_default.cpp index 20397f9e..7c9e1d65 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_default.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_default.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_default.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/conv_bias/im2col/strategy_base.h" #include "src/fallback/convolution/img2col_helper.h" diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_default_nchw44.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_default_nchw44.cpp index 957e34b2..382ca06d 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_default_nchw44.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_default_nchw44.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_default.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/conv_bias/im2col/strategy_base.h" #include "src/fallback/convolution/img2col_helper.h" #if MEGDNN_X86 diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44.cpp index 8b37080a..591949af 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #if MEGDNN_AARCH64 diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot.cpp index 9b8a3e07..93c87fc9 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #if MEGDNN_AARCH64 diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot_s2.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot_s2.cpp index 3b8b7226..d5c66d04 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot_s2.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot_s2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_dot_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #if MEGDNN_ARMV7 diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_fp32_s2.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_fp32_s2.cpp index 7715edea..8d22e842 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_fp32_s2.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_fp32_s2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_fuse_nchw44_fp32_s2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #if MEGDNN_AARCH64 || MEGDNN_ARMV7 diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_nopack.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_nopack.cpp index c08084e0..c32b94b8 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_nopack.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_nopack.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/strategy_nopack.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #include "src/fallback/convolution/img2col_helper.h" diff --git a/dnn/src/fallback/conv_bias/im2col/strategy_onlypacka.cpp b/dnn/src/fallback/conv_bias/im2col/strategy_onlypacka.cpp index 187a37ce..25fff68b 100644 --- a/dnn/src/fallback/conv_bias/im2col/strategy_onlypacka.cpp +++ b/dnn/src/fallback/conv_bias/im2col/strategy_onlypacka.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/im2col/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/im2col/strategy_base.h" #include "src/fallback/convolution/img2col_helper.h" diff --git a/dnn/src/fallback/conv_bias/opr_impl.h b/dnn/src/fallback/conv_bias/opr_impl.h index cac32b33..5c8e4058 100644 --- a/dnn/src/fallback/conv_bias/opr_impl.h +++ b/dnn/src/fallback/conv_bias/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "include/megdnn/thin/function.h" diff --git a/dnn/src/fallback/conv_bias/winograd/strategy.cpp b/dnn/src/fallback/conv_bias/winograd/strategy.cpp index 7e9e4524..44535f51 100644 --- a/dnn/src/fallback/conv_bias/winograd/strategy.cpp +++ b/dnn/src/fallback/conv_bias/winograd/strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/winograd/strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/conv_bias/winograd/strategy.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/fallback/conv_bias/winograd/strategy.h b/dnn/src/fallback/conv_bias/winograd/strategy.h index 3fb7bf78..affecbe2 100644 --- a/dnn/src/fallback/conv_bias/winograd/strategy.h +++ b/dnn/src/fallback/conv_bias/winograd/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/winograd/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/conv_bias/winograd/winograd.h" diff --git a/dnn/src/fallback/conv_bias/winograd/winograd.h b/dnn/src/fallback/conv_bias/winograd/winograd.h index 5f27b55f..098b92c6 100644 --- a/dnn/src/fallback/conv_bias/winograd/winograd.h +++ b/dnn/src/fallback/conv_bias/winograd/winograd.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/conv_bias/winograd/winograd.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/fallback/convolution/algos.cpp b/dnn/src/fallback/convolution/algos.cpp index d5c22525..014dfb55 100644 --- a/dnn/src/fallback/convolution/algos.cpp +++ b/dnn/src/fallback/convolution/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/convolution/algos.h" #include "src/common/opr_delegate.h" #include "src/fallback/convolution/col2img_helper.h" diff --git a/dnn/src/fallback/convolution/algos.h b/dnn/src/fallback/convolution/algos.h index 73ea97ff..bcf1e0f5 100644 --- a/dnn/src/fallback/convolution/algos.h +++ b/dnn/src/fallback/convolution/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/common/algo_chooser.h" diff --git a/dnn/src/fallback/convolution/col2img_helper.h b/dnn/src/fallback/convolution/col2img_helper.h index a8bea83a..b99df0d3 100644 --- a/dnn/src/fallback/convolution/col2img_helper.h +++ b/dnn/src/fallback/convolution/col2img_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/col2img_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "src/common/utils.h" diff --git a/dnn/src/fallback/convolution/do_conv_stride2_decl.inl b/dnn/src/fallback/convolution/do_conv_stride2_decl.inl index 725cbde0..cb20ec45 100644 --- a/dnn/src/fallback/convolution/do_conv_stride2_decl.inl +++ b/dnn/src/fallback/convolution/do_conv_stride2_decl.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/do_conv_stride2_decl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // simd_macro/*_helper.h should be included before including this file. #pragma once diff --git a/dnn/src/fallback/convolution/img2col_helper.h b/dnn/src/fallback/convolution/img2col_helper.h index 039ff679..dfce3b2a 100644 --- a/dnn/src/fallback/convolution/img2col_helper.h +++ b/dnn/src/fallback/convolution/img2col_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/img2col_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/utils.h" namespace { diff --git a/dnn/src/fallback/convolution/opr_impl.cpp b/dnn/src/fallback/convolution/opr_impl.cpp index e577a72e..84f2a7cc 100644 --- a/dnn/src/fallback/convolution/opr_impl.cpp +++ b/dnn/src/fallback/convolution/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/convolution/opr_impl.h" #include "src/common/algo_chooser.h" #include "src/common/metahelper.h" diff --git a/dnn/src/fallback/convolution/opr_impl.h b/dnn/src/fallback/convolution/opr_impl.h index ebe5c548..f4568804 100644 --- a/dnn/src/fallback/convolution/opr_impl.h +++ b/dnn/src/fallback/convolution/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/fallback/convolution/run_conv.cpp b/dnn/src/fallback/convolution/run_conv.cpp index f7ddbf51..fc4aa84f 100644 --- a/dnn/src/fallback/convolution/run_conv.cpp +++ b/dnn/src/fallback/convolution/run_conv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/run_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/convolution/run_conv.h" #include "midout.h" diff --git a/dnn/src/fallback/convolution/run_conv.h b/dnn/src/fallback/convolution/run_conv.h index 52227cb6..d696e5bc 100644 --- a/dnn/src/fallback/convolution/run_conv.h +++ b/dnn/src/fallback/convolution/run_conv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/convolution/run_conv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./opr_impl.h" diff --git a/dnn/src/fallback/elemwise/fallback_impl/opr_binary_impl.cpp b/dnn/src/fallback/elemwise/fallback_impl/opr_binary_impl.cpp index e102d400..4197a2da 100644 --- a/dnn/src/fallback/elemwise/fallback_impl/opr_binary_impl.cpp +++ b/dnn/src/fallback/elemwise/fallback_impl/opr_binary_impl.cpp @@ -1,6 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise/fallback_impl/opr_binary_impl.cpp - */ #include "src/fallback/elemwise/opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/fallback/elemwise/fallback_impl/opr_unary_impl.cpp b/dnn/src/fallback/elemwise/fallback_impl/opr_unary_impl.cpp index a7b64f59..b36e7dae 100644 --- a/dnn/src/fallback/elemwise/fallback_impl/opr_unary_impl.cpp +++ b/dnn/src/fallback/elemwise/fallback_impl/opr_unary_impl.cpp @@ -1,6 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise/fallback_impl/opr_unary_impl.cpp - */ #include "src/fallback/elemwise/opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/fallback/elemwise/opr_impl.cpp b/dnn/src/fallback/elemwise/opr_impl.cpp index 68eea732..9af9b40b 100644 --- a/dnn/src/fallback/elemwise/opr_impl.cpp +++ b/dnn/src/fallback/elemwise/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/fallback/elemwise/opr_impl.h b/dnn/src/fallback/elemwise/opr_impl.h index ea073f0e..6693dad1 100644 --- a/dnn/src/fallback/elemwise/opr_impl.h +++ b/dnn/src/fallback/elemwise/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/elemwise_helper/elemwise_op.h" #include "src/naive/elemwise/opr_impl.h" diff --git a/dnn/src/fallback/elemwise_helper/kimpl/pow.h b/dnn/src/fallback/elemwise_helper/kimpl/pow.h index 3402db4f..16092bd1 100644 --- a/dnn/src/fallback/elemwise_helper/kimpl/pow.h +++ b/dnn/src/fallback/elemwise_helper/kimpl/pow.h @@ -1,6 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise_helper/kimpl/pow.h - */ #pragma once #include "src/fallback/elemwise_helper/kimpl/op_base.h" diff --git a/dnn/src/fallback/elemwise_helper/op_common.h b/dnn/src/fallback/elemwise_helper/op_common.h index a0348b47..bda1b385 100644 --- a/dnn/src/fallback/elemwise_helper/op_common.h +++ b/dnn/src/fallback/elemwise_helper/op_common.h @@ -1,6 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise_helper/op_common.h - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/fallback/elemwise_multi_type/opr_impl.cpp b/dnn/src/fallback/elemwise_multi_type/opr_impl.cpp index 80eacbcd..b411512e 100644 --- a/dnn/src/fallback/elemwise_multi_type/opr_impl.cpp +++ b/dnn/src/fallback/elemwise_multi_type/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise_multi_type/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/elemwise_multi_type/kern_defs.cuh" diff --git a/dnn/src/fallback/elemwise_multi_type/opr_impl.h b/dnn/src/fallback/elemwise_multi_type/opr_impl.h index bcbabfa0..69915fff 100644 --- a/dnn/src/fallback/elemwise_multi_type/opr_impl.h +++ b/dnn/src/fallback/elemwise_multi_type/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise_multi_type/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/naive/elemwise_multi_type/opr_impl.h" diff --git a/dnn/src/fallback/elemwise_multi_type/quantized_impl.cpp b/dnn/src/fallback/elemwise_multi_type/quantized_impl.cpp index 77e1542e..d727ece0 100644 --- a/dnn/src/fallback/elemwise_multi_type/quantized_impl.cpp +++ b/dnn/src/fallback/elemwise_multi_type/quantized_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/elemwise_multi_type/quantized_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/tensor_iter.h" #include "src/fallback/elemwise_helper/elemwise_op.h" #include "src/fallback/elemwise_multi_type/opr_impl.h" diff --git a/dnn/src/fallback/flip/opr_impl.cpp b/dnn/src/fallback/flip/opr_impl.cpp index 0114c990..9c2094cc 100644 --- a/dnn/src/fallback/flip/opr_impl.cpp +++ b/dnn/src/fallback/flip/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/flip/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/flip/opr_impl.h" #include "src/fallback/handle.h" diff --git a/dnn/src/fallback/flip/opr_impl.h b/dnn/src/fallback/flip/opr_impl.h index 1cd31e8e..02879c15 100644 --- a/dnn/src/fallback/flip/opr_impl.h +++ b/dnn/src/fallback/flip/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/flip/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/gaussian_blur/opr_impl.h b/dnn/src/fallback/gaussian_blur/opr_impl.h index a416394b..b388232f 100644 --- a/dnn/src/fallback/gaussian_blur/opr_impl.h +++ b/dnn/src/fallback/gaussian_blur/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/gaussian_blur/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/general_intrinsic/gi_common.h b/dnn/src/fallback/general_intrinsic/gi_common.h index 37496e85..944c702e 100644 --- a/dnn/src/fallback/general_intrinsic/gi_common.h +++ b/dnn/src/fallback/general_intrinsic/gi_common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/general_intrinsic/gi_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2022 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "math.h" diff --git a/dnn/src/fallback/general_intrinsic/gi_float.h b/dnn/src/fallback/general_intrinsic/gi_float.h index e8c657f0..be5b2812 100644 --- a/dnn/src/fallback/general_intrinsic/gi_float.h +++ b/dnn/src/fallback/general_intrinsic/gi_float.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/general_intrinsic/gi_float.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2022 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "gi_common.h" diff --git a/dnn/src/fallback/general_intrinsic/gi_int.h b/dnn/src/fallback/general_intrinsic/gi_int.h index 3808640d..7f9d61fd 100644 --- a/dnn/src/fallback/general_intrinsic/gi_int.h +++ b/dnn/src/fallback/general_intrinsic/gi_int.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/general_intrinsic/gi_int.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2022 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "gi_common.h" diff --git a/dnn/src/fallback/group_local/opr_impl.cpp b/dnn/src/fallback/group_local/opr_impl.cpp index 77ed7a97..6079c262 100644 --- a/dnn/src/fallback/group_local/opr_impl.cpp +++ b/dnn/src/fallback/group_local/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/group_local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/group_local/opr_impl.h" #include "src/naive/local/opr_impl.h" diff --git a/dnn/src/fallback/group_local/opr_impl.h b/dnn/src/fallback/group_local/opr_impl.h index eab2b0fb..6af2a956 100644 --- a/dnn/src/fallback/group_local/opr_impl.h +++ b/dnn/src/fallback/group_local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/group_local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/fallback/handle.cpp b/dnn/src/fallback/handle.cpp index 08e69ebf..93f28003 100644 --- a/dnn/src/fallback/handle.cpp +++ b/dnn/src/fallback/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/handle.h" #include "src/common/handle_impl.h" diff --git a/dnn/src/fallback/handle.h b/dnn/src/fallback/handle.h index 84beb1c1..32189958 100644 --- a/dnn/src/fallback/handle.h +++ b/dnn/src/fallback/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/fallback/mask_conv/opr_impl.cpp b/dnn/src/fallback/mask_conv/opr_impl.cpp index 738b433a..af33b380 100644 --- a/dnn/src/fallback/mask_conv/opr_impl.cpp +++ b/dnn/src/fallback/mask_conv/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/mask_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/mask_conv/opr_impl.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/fallback/mask_conv/opr_impl.h b/dnn/src/fallback/mask_conv/opr_impl.h index d63f304e..23bcf2bb 100644 --- a/dnn/src/fallback/mask_conv/opr_impl.h +++ b/dnn/src/fallback/mask_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/mask_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/matrix_mul/algos.cpp b/dnn/src/fallback/matrix_mul/algos.cpp index f1d30d7a..f79b2a5f 100644 --- a/dnn/src/fallback/matrix_mul/algos.cpp +++ b/dnn/src/fallback/matrix_mul/algos.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/matrix_mul/algos.h" #include "megdnn/opr_param_defs.h" #include "src/fallback/matrix_mul/gemm_impl.h" diff --git a/dnn/src/fallback/matrix_mul/algos.h b/dnn/src/fallback/matrix_mul/algos.h index fe62c13f..24635250 100644 --- a/dnn/src/fallback/matrix_mul/algos.h +++ b/dnn/src/fallback/matrix_mul/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/fallback/matrix_mul/gemm_common.h b/dnn/src/fallback/matrix_mul/gemm_common.h index 667d9fbd..b9339f93 100644 --- a/dnn/src/fallback/matrix_mul/gemm_common.h +++ b/dnn/src/fallback/matrix_mul/gemm_common.h @@ -1,21 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/gemm_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * --------------------------------------------------------------- - * Part of the following code in this file refs to ComputeLibrary - * - * MIT License - * - * Copyright (c) 2017-2020 ARM Software - * --------------------------------------------------------------- - */ #pragma once #include diff --git a/dnn/src/fallback/matrix_mul/gemm_impl.h b/dnn/src/fallback/matrix_mul/gemm_impl.h index 58c58a6e..5a5b4e74 100644 --- a/dnn/src/fallback/matrix_mul/gemm_impl.h +++ b/dnn/src/fallback/matrix_mul/gemm_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/gemm_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/fallback/matrix_mul/gemv.h b/dnn/src/fallback/matrix_mul/gemv.h index ca25cdff..373ef5b7 100644 --- a/dnn/src/fallback/matrix_mul/gemv.h +++ b/dnn/src/fallback/matrix_mul/gemv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/gemv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/matrix_mul/opr_impl.h" diff --git a/dnn/src/fallback/matrix_mul/generic_strategy.cpp b/dnn/src/fallback/matrix_mul/generic_strategy.cpp index 9447e61c..54d8d4b2 100644 --- a/dnn/src/fallback/matrix_mul/generic_strategy.cpp +++ b/dnn/src/fallback/matrix_mul/generic_strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/generic_strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/matrix_mul/generic_strategy.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/matrix_mul/generic_strategy.h b/dnn/src/fallback/matrix_mul/generic_strategy.h index 31299818..c6e5760d 100644 --- a/dnn/src/fallback/matrix_mul/generic_strategy.h +++ b/dnn/src/fallback/matrix_mul/generic_strategy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/generic_strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/fallback/matrix_mul/opr_impl.cpp b/dnn/src/fallback/matrix_mul/opr_impl.cpp index 8db8f19e..ebc621b6 100644 --- a/dnn/src/fallback/matrix_mul/opr_impl.cpp +++ b/dnn/src/fallback/matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/matrix_mul/opr_impl.h" #include diff --git a/dnn/src/fallback/matrix_mul/opr_impl.h b/dnn/src/fallback/matrix_mul/opr_impl.h index 99868e0b..8165f57b 100644 --- a/dnn/src/fallback/matrix_mul/opr_impl.h +++ b/dnn/src/fallback/matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/opr_param_defs.h" diff --git a/dnn/src/fallback/matrix_mul_helper.h b/dnn/src/fallback/matrix_mul_helper.h index 4d8cd443..3766355a 100644 --- a/dnn/src/fallback/matrix_mul_helper.h +++ b/dnn/src/fallback/matrix_mul_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/matrix_mul_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/src/fallback/pooling/gi/algo_fp32_pooling_nchw44.cpp b/dnn/src/fallback/pooling/gi/algo_fp32_pooling_nchw44.cpp index a405d60d..4d6a13e0 100644 --- a/dnn/src/fallback/pooling/gi/algo_fp32_pooling_nchw44.cpp +++ b/dnn/src/fallback/pooling/gi/algo_fp32_pooling_nchw44.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/pooling/gi/algo_fp32_pooling_nchw44.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "algo.h" #include "kern_fp32_pooling_nchw44.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/src/fallback/pooling/opr_impl.cpp b/dnn/src/fallback/pooling/opr_impl.cpp index 8a43db46..6dc6fefc 100644 --- a/dnn/src/fallback/pooling/opr_impl.cpp +++ b/dnn/src/fallback/pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/fallback/pooling/opr_impl.h" #include "src/common/algo_chooser.h" #include "src/common/metahelper.h" diff --git a/dnn/src/fallback/pooling/opr_impl.h b/dnn/src/fallback/pooling/opr_impl.h index aa07b6c2..a14d40c9 100644 --- a/dnn/src/fallback/pooling/opr_impl.h +++ b/dnn/src/fallback/pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/oprs/base.h" diff --git a/dnn/src/fallback/powc/opr_impl.cpp b/dnn/src/fallback/powc/opr_impl.cpp index 623316bb..170a466f 100644 --- a/dnn/src/fallback/powc/opr_impl.cpp +++ b/dnn/src/fallback/powc/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/powc/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/fallback/powc/opr_impl.h b/dnn/src/fallback/powc/opr_impl.h index 76ebd055..e5dfa1f0 100644 --- a/dnn/src/fallback/powc/opr_impl.h +++ b/dnn/src/fallback/powc/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/powc/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/naive/powc/opr_impl.h" diff --git a/dnn/src/fallback/quantized_converter.h b/dnn/src/fallback/quantized_converter.h index 73b8dc76..8bbe37a2 100644 --- a/dnn/src/fallback/quantized_converter.h +++ b/dnn/src/fallback/quantized_converter.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/arm_common/quantized_converter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/fallback/reduce/opr_impl.cpp b/dnn/src/fallback/reduce/opr_impl.cpp index 66041510..bd2f7ce7 100644 --- a/dnn/src/fallback/reduce/opr_impl.cpp +++ b/dnn/src/fallback/reduce/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/reduce/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/reduce/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/reduce/opr_impl.h b/dnn/src/fallback/reduce/opr_impl.h index 3db4401a..7271ad48 100644 --- a/dnn/src/fallback/reduce/opr_impl.h +++ b/dnn/src/fallback/reduce/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/reduce/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/reduce/opr_impl.h" diff --git a/dnn/src/fallback/reduce/reducer.h b/dnn/src/fallback/reduce/reducer.h index 38f024ba..e98ddec8 100644 --- a/dnn/src/fallback/reduce/reducer.h +++ b/dnn/src/fallback/reduce/reducer.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/reduce/reducer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/fallback/relayout/opr_impl.cpp b/dnn/src/fallback/relayout/opr_impl.cpp index b2b878e8..1c070009 100644 --- a/dnn/src/fallback/relayout/opr_impl.cpp +++ b/dnn/src/fallback/relayout/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/relayout/opr_impl.h" #include "src/common/relayout_helper.h" #include "src/common/utils.h" diff --git a/dnn/src/fallback/relayout/opr_impl.h b/dnn/src/fallback/relayout/opr_impl.h index 05240d39..7b704399 100644 --- a/dnn/src/fallback/relayout/opr_impl.h +++ b/dnn/src/fallback/relayout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/repeat/opr_impl.cpp b/dnn/src/fallback/repeat/opr_impl.cpp index 51913573..aa6fcee2 100644 --- a/dnn/src/fallback/repeat/opr_impl.cpp +++ b/dnn/src/fallback/repeat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/repeat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/repeat/opr_impl.h" #include diff --git a/dnn/src/fallback/repeat/opr_impl.h b/dnn/src/fallback/repeat/opr_impl.h index f711b699..f3c28255 100644 --- a/dnn/src/fallback/repeat/opr_impl.h +++ b/dnn/src/fallback/repeat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/repeat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/repeat/opr_impl.h" diff --git a/dnn/src/fallback/resize/opr_impl.cpp b/dnn/src/fallback/resize/opr_impl.cpp index 14bc0f3e..5000204a 100644 --- a/dnn/src/fallback/resize/opr_impl.cpp +++ b/dnn/src/fallback/resize/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/fallback/resize/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/fallback/resize/opr_impl.h" #include #include "src/common/rounding_converter.cuh" diff --git a/dnn/src/fallback/resize/opr_impl.h b/dnn/src/fallback/resize/opr_impl.h index 82282012..5f592961 100644 --- a/dnn/src/fallback/resize/opr_impl.h +++ b/dnn/src/fallback/resize/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/resize/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/resize/opr_impl.h" diff --git a/dnn/src/fallback/roi_copy/opr_impl.cpp b/dnn/src/fallback/roi_copy/opr_impl.cpp index 76a1725c..c3c92df2 100644 --- a/dnn/src/fallback/roi_copy/opr_impl.cpp +++ b/dnn/src/fallback/roi_copy/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/roi_copy/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/fallback/roi_copy/opr_impl.h" #include "src/fallback/handle.h" diff --git a/dnn/src/fallback/roi_copy/opr_impl.h b/dnn/src/fallback/roi_copy/opr_impl.h index 7b47229a..4ceff3f1 100644 --- a/dnn/src/fallback/roi_copy/opr_impl.h +++ b/dnn/src/fallback/roi_copy/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/roi_copy/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/rotate/opr_impl.cpp b/dnn/src/fallback/rotate/opr_impl.cpp index 8c56b196..de258f39 100644 --- a/dnn/src/fallback/rotate/opr_impl.cpp +++ b/dnn/src/fallback/rotate/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/fallback/rotate/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/fallback/handle.h" diff --git a/dnn/src/fallback/rotate/opr_impl.h b/dnn/src/fallback/rotate/opr_impl.h index 48137b22..4b9da597 100644 --- a/dnn/src/fallback/rotate/opr_impl.h +++ b/dnn/src/fallback/rotate/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/rotate/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/fallback/split/opr_impl.cpp b/dnn/src/fallback/split/opr_impl.cpp index 8880a7c6..9ae93323 100644 --- a/dnn/src/fallback/split/opr_impl.cpp +++ b/dnn/src/fallback/split/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/split/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/split/opr_impl.h" #include diff --git a/dnn/src/fallback/split/opr_impl.h b/dnn/src/fallback/split/opr_impl.h index 2539fb8b..97434150 100644 --- a/dnn/src/fallback/split/opr_impl.h +++ b/dnn/src/fallback/split/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/split/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/split/opr_impl.h" diff --git a/dnn/src/fallback/tile/opr_impl.cpp b/dnn/src/fallback/tile/opr_impl.cpp index 7db9a177..62d27908 100644 --- a/dnn/src/fallback/tile/opr_impl.cpp +++ b/dnn/src/fallback/tile/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/tile/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/tile/opr_impl.h" #include diff --git a/dnn/src/fallback/tile/opr_impl.h b/dnn/src/fallback/tile/opr_impl.h index ab46ddb2..e91cc156 100644 --- a/dnn/src/fallback/tile/opr_impl.h +++ b/dnn/src/fallback/tile/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/tile/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/tile/opr_impl.h" diff --git a/dnn/src/fallback/type_cvt/opr_impl.cpp b/dnn/src/fallback/type_cvt/opr_impl.cpp index d48e5135..d2fa1452 100644 --- a/dnn/src/fallback/type_cvt/opr_impl.cpp +++ b/dnn/src/fallback/type_cvt/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/type_cvt/opr_impl.h" #include "src/fallback/type_cvt/typecvt_helper.h" diff --git a/dnn/src/fallback/type_cvt/opr_impl.h b/dnn/src/fallback/type_cvt/opr_impl.h index de971906..e8b92e45 100644 --- a/dnn/src/fallback/type_cvt/opr_impl.h +++ b/dnn/src/fallback/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/type_cvt/opr_impl.h" diff --git a/dnn/src/fallback/warp_perspective/opr_impl.cpp b/dnn/src/fallback/warp_perspective/opr_impl.cpp index d0651970..f3a6f783 100644 --- a/dnn/src/fallback/warp_perspective/opr_impl.cpp +++ b/dnn/src/fallback/warp_perspective/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/warp_perspective/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/fallback/warp_perspective/opr_impl.h" #include "src/naive/warp_perspective/warp_perspective_cv.h" diff --git a/dnn/src/fallback/warp_perspective/opr_impl.h b/dnn/src/fallback/warp_perspective/opr_impl.h index a96f79eb..06f4ca39 100644 --- a/dnn/src/fallback/warp_perspective/opr_impl.h +++ b/dnn/src/fallback/warp_perspective/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/fallback/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/warp_perspective/opr_impl.h" diff --git a/dnn/src/naive/adaptive_pooling/opr_impl.cpp b/dnn/src/naive/adaptive_pooling/opr_impl.cpp index e080c7a9..1c1c5493 100644 --- a/dnn/src/naive/adaptive_pooling/opr_impl.cpp +++ b/dnn/src/naive/adaptive_pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/adaptive_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/adaptive_pooling/opr_impl.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/naive/adaptive_pooling/opr_impl.h b/dnn/src/naive/adaptive_pooling/opr_impl.h index 46cf08d6..7d1a2f03 100644 --- a/dnn/src/naive/adaptive_pooling/opr_impl.h +++ b/dnn/src/naive/adaptive_pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/adaptive_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/add_update/opr_impl.cpp b/dnn/src/naive/add_update/opr_impl.cpp index 3153c871..809b3590 100644 --- a/dnn/src/naive/add_update/opr_impl.cpp +++ b/dnn/src/naive/add_update/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/add_update/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/add_update/opr_impl.h b/dnn/src/naive/add_update/opr_impl.h index ecb34505..e9218772 100644 --- a/dnn/src/naive/add_update/opr_impl.h +++ b/dnn/src/naive/add_update/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/add_update/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/add_update_helper.h" diff --git a/dnn/src/naive/argmxx/opr_impl.cpp b/dnn/src/naive/argmxx/opr_impl.cpp index ec2737cd..ffd7f353 100644 --- a/dnn/src/naive/argmxx/opr_impl.cpp +++ b/dnn/src/naive/argmxx/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/argmxx/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/argmxx/opr_impl.h" #include "src/common/reduce_helper.h" diff --git a/dnn/src/naive/argmxx/opr_impl.h b/dnn/src/naive/argmxx/opr_impl.h index b3a24970..bb112a97 100644 --- a/dnn/src/naive/argmxx/opr_impl.h +++ b/dnn/src/naive/argmxx/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/argmxx/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/argsort/opr_impl.cpp b/dnn/src/naive/argsort/opr_impl.cpp index b1e0df0c..e9b364d6 100644 --- a/dnn/src/naive/argsort/opr_impl.cpp +++ b/dnn/src/naive/argsort/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/argsort/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/argsort/opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/argsort/opr_impl.h b/dnn/src/naive/argsort/opr_impl.h index 2a967772..34faae07 100644 --- a/dnn/src/naive/argsort/opr_impl.h +++ b/dnn/src/naive/argsort/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/argsort/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/batch_conv_bias/opr_impl.cpp b/dnn/src/naive/batch_conv_bias/opr_impl.cpp index 43c9c1db..c0c8edeb 100644 --- a/dnn/src/naive/batch_conv_bias/opr_impl.cpp +++ b/dnn/src/naive/batch_conv_bias/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/batch_conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/batch_conv_bias/opr_impl.h" #include "megdnn/oprs/nn.h" #include "src/common/conv_bias.h" diff --git a/dnn/src/naive/batch_conv_bias/opr_impl.h b/dnn/src/naive/batch_conv_bias/opr_impl.h index 463bfb76..e59f85a4 100644 --- a/dnn/src/naive/batch_conv_bias/opr_impl.h +++ b/dnn/src/naive/batch_conv_bias/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/batch_conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/batch_normalization/opr_impl.cpp b/dnn/src/naive/batch_normalization/opr_impl.cpp index f84031b6..3f300a35 100644 --- a/dnn/src/naive/batch_normalization/opr_impl.cpp +++ b/dnn/src/naive/batch_normalization/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/batch_normalization/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/batch_normalization/opr_impl.h" #include diff --git a/dnn/src/naive/batch_normalization/opr_impl.h b/dnn/src/naive/batch_normalization/opr_impl.h index c530983c..a29c00c3 100644 --- a/dnn/src/naive/batch_normalization/opr_impl.h +++ b/dnn/src/naive/batch_normalization/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/batch_normalization/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/batched_matrix_mul/opr_impl.cpp b/dnn/src/naive/batched_matrix_mul/opr_impl.cpp index 597154ab..7550ce36 100644 --- a/dnn/src/naive/batched_matrix_mul/opr_impl.cpp +++ b/dnn/src/naive/batched_matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/batched_matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/batched_matrix_mul/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/batched_matrix_mul/opr_impl.h b/dnn/src/naive/batched_matrix_mul/opr_impl.h index 58fce09f..ca132fa0 100644 --- a/dnn/src/naive/batched_matrix_mul/opr_impl.h +++ b/dnn/src/naive/batched_matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/batched_matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/check_non_finite/opr_impl.cpp b/dnn/src/naive/check_non_finite/opr_impl.cpp index fc7c1cd9..fdf93fbf 100644 --- a/dnn/src/naive/check_non_finite/opr_impl.cpp +++ b/dnn/src/naive/check_non_finite/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/check_non_finite/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/check_non_finite/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/check_non_finite/opr_impl.h b/dnn/src/naive/check_non_finite/opr_impl.h index fef7bfde..0f9c782f 100644 --- a/dnn/src/naive/check_non_finite/opr_impl.h +++ b/dnn/src/naive/check_non_finite/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/check_non_finite/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/checksum/opr_impl.cpp b/dnn/src/naive/checksum/opr_impl.cpp index bba801ed..eae48c25 100644 --- a/dnn/src/naive/checksum/opr_impl.cpp +++ b/dnn/src/naive/checksum/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/checksum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/checksum/opr_impl.h b/dnn/src/naive/checksum/opr_impl.h index 3a09c124..15c3d107 100644 --- a/dnn/src/naive/checksum/opr_impl.h +++ b/dnn/src/naive/checksum/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/checksum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/concat/opr_impl.cpp b/dnn/src/naive/concat/opr_impl.cpp index 468d9ec5..f680127b 100644 --- a/dnn/src/naive/concat/opr_impl.cpp +++ b/dnn/src/naive/concat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/concat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/concat/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/concat/opr_impl.h b/dnn/src/naive/concat/opr_impl.h index c9662239..cc41b613 100644 --- a/dnn/src/naive/concat/opr_impl.h +++ b/dnn/src/naive/concat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/concat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/cond_take/opr_impl.cpp b/dnn/src/naive/cond_take/opr_impl.cpp index db67fd0d..823b46e3 100644 --- a/dnn/src/naive/cond_take/opr_impl.cpp +++ b/dnn/src/naive/cond_take/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/cond_take/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/cond_take/predicate.cuh" #include "src/common/utils.h" diff --git a/dnn/src/naive/cond_take/opr_impl.h b/dnn/src/naive/cond_take/opr_impl.h index 937be1ab..7df8e4c5 100644 --- a/dnn/src/naive/cond_take/opr_impl.h +++ b/dnn/src/naive/cond_take/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/cond_take/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/conv_bias/opr_impl.cpp b/dnn/src/naive/conv_bias/opr_impl.cpp index ffee698d..d940b227 100644 --- a/dnn/src/naive/conv_bias/opr_impl.cpp +++ b/dnn/src/naive/conv_bias/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/conv_bias/opr_impl.h" #include "src/naive/convolution/helper.h" diff --git a/dnn/src/naive/conv_bias/opr_impl.h b/dnn/src/naive/conv_bias/opr_impl.h index 97c5f172..61a505a4 100644 --- a/dnn/src/naive/conv_bias/opr_impl.h +++ b/dnn/src/naive/conv_bias/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/convolution/opr_impl.h" diff --git a/dnn/src/naive/convolution/algorithms.h b/dnn/src/naive/convolution/algorithms.h index 9ab7eb36..7fa09f72 100644 --- a/dnn/src/naive/convolution/algorithms.h +++ b/dnn/src/naive/convolution/algorithms.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/convolution/algorithms.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/naive/convolution/helper.h b/dnn/src/naive/convolution/helper.h index e4c896fa..2ac5a249 100644 --- a/dnn/src/naive/convolution/helper.h +++ b/dnn/src/naive/convolution/helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/convolution/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/naive/convolution/opr_impl.cpp b/dnn/src/naive/convolution/opr_impl.cpp index 820d63e8..15b50c86 100644 --- a/dnn/src/naive/convolution/opr_impl.cpp +++ b/dnn/src/naive/convolution/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convolution/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "./helper.h" diff --git a/dnn/src/naive/convolution/opr_impl.h b/dnn/src/naive/convolution/opr_impl.h index ad372844..d3231110 100644 --- a/dnn/src/naive/convolution/opr_impl.h +++ b/dnn/src/naive/convolution/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convolution/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/convolution3d/algorithms.h b/dnn/src/naive/convolution3d/algorithms.h index fd513667..81eb21a6 100644 --- a/dnn/src/naive/convolution3d/algorithms.h +++ b/dnn/src/naive/convolution3d/algorithms.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convolution3d/algorithms.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/naive/convolution3d/helper.h b/dnn/src/naive/convolution3d/helper.h index 63b43c96..6f20e04c 100644 --- a/dnn/src/naive/convolution3d/helper.h +++ b/dnn/src/naive/convolution3d/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convolution3d/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/naive/convolution3d/opr_impl.cpp b/dnn/src/naive/convolution3d/opr_impl.cpp index 5b4c84db..b27c2193 100644 --- a/dnn/src/naive/convolution3d/opr_impl.cpp +++ b/dnn/src/naive/convolution3d/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/convolution3d/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./opr_impl.h" #include "./helper.h" diff --git a/dnn/src/naive/convolution3d/opr_impl.h b/dnn/src/naive/convolution3d/opr_impl.h index 2393e996..d52bb311 100644 --- a/dnn/src/naive/convolution3d/opr_impl.h +++ b/dnn/src/naive/convolution3d/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/convolution3d/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/convpooling/opr_impl.cpp b/dnn/src/naive/convpooling/opr_impl.cpp index 15bfb6ad..3777ff0c 100644 --- a/dnn/src/naive/convpooling/opr_impl.cpp +++ b/dnn/src/naive/convpooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convpooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/convpooling/opr_impl.h" #include diff --git a/dnn/src/naive/convpooling/opr_impl.h b/dnn/src/naive/convpooling/opr_impl.h index 81f75ef9..b503c76c 100644 --- a/dnn/src/naive/convpooling/opr_impl.h +++ b/dnn/src/naive/convpooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/convpooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/convolution/opr_impl.h" diff --git a/dnn/src/naive/correlation/opr_impl.cpp b/dnn/src/naive/correlation/opr_impl.cpp index b82bf79b..2d8419a5 100644 --- a/dnn/src/naive/correlation/opr_impl.cpp +++ b/dnn/src/naive/correlation/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/correlation/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/correlation/opr_impl.h" #include #include "src/common/utils.h" diff --git a/dnn/src/naive/correlation/opr_impl.h b/dnn/src/naive/correlation/opr_impl.h index 3f7c09a5..b8692a33 100644 --- a/dnn/src/naive/correlation/opr_impl.h +++ b/dnn/src/naive/correlation/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/correlation/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/cumsum/opr_impl.cpp b/dnn/src/naive/cumsum/opr_impl.cpp index bec628f6..984eb92f 100644 --- a/dnn/src/naive/cumsum/opr_impl.cpp +++ b/dnn/src/naive/cumsum/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/cumsum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/cumsum/opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/cumsum/opr_impl.h b/dnn/src/naive/cumsum/opr_impl.h index 53ee9121..6de3771c 100644 --- a/dnn/src/naive/cumsum/opr_impl.h +++ b/dnn/src/naive/cumsum/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/cumsum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/cvt_color/opr_impl.h b/dnn/src/naive/cvt_color/opr_impl.h index e472ea09..7f610db8 100644 --- a/dnn/src/naive/cvt_color/opr_impl.h +++ b/dnn/src/naive/cvt_color/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/cvt_color/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/dct/opr_impl.cpp b/dnn/src/naive/dct/opr_impl.cpp index 962ef5ab..3705ba98 100644 --- a/dnn/src/naive/dct/opr_impl.cpp +++ b/dnn/src/naive/dct/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/dct/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/dct/opr_impl.h" #include #include "megdnn/basic_types.h" diff --git a/dnn/src/naive/dct/opr_impl.h b/dnn/src/naive/dct/opr_impl.h index 22361375..1f7ad0f4 100644 --- a/dnn/src/naive/dct/opr_impl.h +++ b/dnn/src/naive/dct/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/dct/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/deformable_conv/opr_impl.cpp b/dnn/src/naive/deformable_conv/opr_impl.cpp index fa48979a..6d9d7055 100644 --- a/dnn/src/naive/deformable_conv/opr_impl.cpp +++ b/dnn/src/naive/deformable_conv/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/deformable_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/deformable_conv/opr_impl.h" #include "src/common/utils.h" #include "src/naive/convolution/helper.h" diff --git a/dnn/src/naive/deformable_conv/opr_impl.h b/dnn/src/naive/deformable_conv/opr_impl.h index 10c00b5b..e0692ac9 100644 --- a/dnn/src/naive/deformable_conv/opr_impl.h +++ b/dnn/src/naive/deformable_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/deformable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.cpp b/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.cpp index b8ce8432..a480dcac 100644 --- a/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.cpp +++ b/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/deformable_ps_roi_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h b/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h index 997f2d6e..1ffa7403 100644 --- a/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h +++ b/dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/deformable_ps_roi_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/naive/diag/opr_impl.cpp b/dnn/src/naive/diag/opr_impl.cpp index 1811f297..047f0a80 100644 --- a/dnn/src/naive/diag/opr_impl.cpp +++ b/dnn/src/naive/diag/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/diag/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/diag/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/diag/opr_impl.h b/dnn/src/naive/diag/opr_impl.h index cdff2c35..31d80b11 100644 --- a/dnn/src/naive/diag/opr_impl.h +++ b/dnn/src/naive/diag/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/diag/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/dot/opr_impl.cpp b/dnn/src/naive/dot/opr_impl.cpp index 019e446f..10cd1fb2 100644 --- a/dnn/src/naive/dot/opr_impl.cpp +++ b/dnn/src/naive/dot/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/dot/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/dot/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/dot/opr_impl.h b/dnn/src/naive/dot/opr_impl.h index 979d97e6..1dd380b0 100644 --- a/dnn/src/naive/dot/opr_impl.h +++ b/dnn/src/naive/dot/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/dot/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/dropout/opr_impl.cpp b/dnn/src/naive/dropout/opr_impl.cpp index 64b359d4..b8bdff85 100644 --- a/dnn/src/naive/dropout/opr_impl.cpp +++ b/dnn/src/naive/dropout/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/dropout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/dropout/opr_impl.h" #include #include diff --git a/dnn/src/naive/dropout/opr_impl.h b/dnn/src/naive/dropout/opr_impl.h index f40de4e2..ea517876 100644 --- a/dnn/src/naive/dropout/opr_impl.h +++ b/dnn/src/naive/dropout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/dropout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/rng/opr_impl.h" diff --git a/dnn/src/naive/elemwise/kern_caller.h b/dnn/src/naive/elemwise/kern_caller.h index 2d8ead72..213ae2b8 100644 --- a/dnn/src/naive/elemwise/kern_caller.h +++ b/dnn/src/naive/elemwise/kern_caller.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kern_caller.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/naive/elemwise/kern_impl.inl b/dnn/src/naive/elemwise/kern_impl.inl index ce74980a..f17ec495 100644 --- a/dnn/src/naive/elemwise/kern_impl.inl +++ b/dnn/src/naive/elemwise/kern_impl.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/kern_impl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #ifndef KERN_IMPL_MODE diff --git a/dnn/src/naive/elemwise/opr_impl.cpp b/dnn/src/naive/elemwise/opr_impl.cpp index 42b63203..243aa066 100644 --- a/dnn/src/naive/elemwise/opr_impl.cpp +++ b/dnn/src/naive/elemwise/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/elemwise/opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/elemwise_helper.cuh" diff --git a/dnn/src/naive/elemwise/opr_impl.h b/dnn/src/naive/elemwise/opr_impl.h index 907d4b74..671571f6 100644 --- a/dnn/src/naive/elemwise/opr_impl.h +++ b/dnn/src/naive/elemwise/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/opr_impl_helper.h" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl.h b/dnn/src/naive/elemwise_multi_type/opr_impl.h index 49cfeab5..a1c4ec1c 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl.h +++ b/dnn/src/naive/elemwise_multi_type/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp b/dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp index 1c135917..ee6f0252 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp +++ b/dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl_1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp b/dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp index 45861c78..8e445a2b 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp +++ b/dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl_2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/elemwise/kern_defs.cuh" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp b/dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp index 7e70660d..32ef1e86 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp +++ b/dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl_3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" #include "src/common/elemwise_multi_type/kern_defs.cuh" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp b/dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp index f88691c9..c94be917 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp +++ b/dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl_4.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" #include "src/common/elemwise_multi_type/kern_defs.cuh" diff --git a/dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp b/dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp index a859ef9c..eb193ca8 100644 --- a/dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp +++ b/dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/elemwise_multi_type/opr_impl_5.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/elemwise/kern_defs.cuh" #include "src/common/elemwise_multi_type/kern_defs.cuh" diff --git a/dnn/src/naive/eye/opr_impl.cpp b/dnn/src/naive/eye/opr_impl.cpp index 460409b6..3657ace3 100644 --- a/dnn/src/naive/eye/opr_impl.cpp +++ b/dnn/src/naive/eye/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/eye/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/eye/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/eye/opr_impl.h b/dnn/src/naive/eye/opr_impl.h index 7001e8d3..a859b211 100644 --- a/dnn/src/naive/eye/opr_impl.h +++ b/dnn/src/naive/eye/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/eye/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/fake_quant/opr_impl.cpp b/dnn/src/naive/fake_quant/opr_impl.cpp index 1f190203..bc777b29 100644 --- a/dnn/src/naive/fake_quant/opr_impl.cpp +++ b/dnn/src/naive/fake_quant/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/fakequant/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/fake_quant/opr_impl.h" #include #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/fake_quant/opr_impl.h b/dnn/src/naive/fake_quant/opr_impl.h index c38bad72..21143f81 100644 --- a/dnn/src/naive/fake_quant/opr_impl.h +++ b/dnn/src/naive/fake_quant/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/fakequant/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/fill/opr_impl.cpp b/dnn/src/naive/fill/opr_impl.cpp index b04c49de..defe2bf2 100644 --- a/dnn/src/naive/fill/opr_impl.cpp +++ b/dnn/src/naive/fill/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/fill/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/fill/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/fill/opr_impl.h b/dnn/src/naive/fill/opr_impl.h index a1699bad..d4df8a3a 100644 --- a/dnn/src/naive/fill/opr_impl.h +++ b/dnn/src/naive/fill/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/fill/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/flip/opr_impl.cpp b/dnn/src/naive/flip/opr_impl.cpp index 47d521dd..b3b45165 100644 --- a/dnn/src/naive/flip/opr_impl.cpp +++ b/dnn/src/naive/flip/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/flip/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/flip/opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/flip/opr_impl.h b/dnn/src/naive/flip/opr_impl.h index 675fa968..498062dd 100644 --- a/dnn/src/naive/flip/opr_impl.h +++ b/dnn/src/naive/flip/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/flip/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/gaussian_blur/opr_impl.h b/dnn/src/naive/gaussian_blur/opr_impl.h index b645b08e..3011d6ca 100644 --- a/dnn/src/naive/gaussian_blur/opr_impl.h +++ b/dnn/src/naive/gaussian_blur/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/gaussian_blur/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/group_local/opr_impl.cpp b/dnn/src/naive/group_local/opr_impl.cpp index 7810ba38..22051345 100644 --- a/dnn/src/naive/group_local/opr_impl.cpp +++ b/dnn/src/naive/group_local/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/group_local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/group_local/opr_impl.h" #include diff --git a/dnn/src/naive/group_local/opr_impl.h b/dnn/src/naive/group_local/opr_impl.h index dc6c1123..4348d513 100644 --- a/dnn/src/naive/group_local/opr_impl.h +++ b/dnn/src/naive/group_local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/group_local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/naive/handle.cpp b/dnn/src/naive/handle.cpp index d1fca7db..98309f01 100644 --- a/dnn/src/naive/handle.cpp +++ b/dnn/src/naive/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/handle.h" #include "src/common/handle_impl.h" diff --git a/dnn/src/naive/handle.h b/dnn/src/naive/handle.h index 8835f524..9d0cc266 100644 --- a/dnn/src/naive/handle.h +++ b/dnn/src/naive/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/naive/images2neibs/opr_impl.cpp b/dnn/src/naive/images2neibs/opr_impl.cpp index c56a1723..3777b200 100644 --- a/dnn/src/naive/images2neibs/opr_impl.cpp +++ b/dnn/src/naive/images2neibs/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/images2neibs/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/images2neibs/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/images2neibs/opr_impl.h b/dnn/src/naive/images2neibs/opr_impl.h index 48bcd69c..71825704 100644 --- a/dnn/src/naive/images2neibs/opr_impl.h +++ b/dnn/src/naive/images2neibs/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/images2neibs/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp b/dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp index d3059757..cc47abc0 100644 --- a/dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp +++ b/dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/indexing_multi_axis_vec/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/indexing_multi_axis_vec/opr_impl.h b/dnn/src/naive/indexing_multi_axis_vec/opr_impl.h index 2ccb38d3..48b53b8e 100644 --- a/dnn/src/naive/indexing_multi_axis_vec/opr_impl.h +++ b/dnn/src/naive/indexing_multi_axis_vec/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/indexing_multi_axis_vec/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/indexing_one_hot/opr_impl.cpp b/dnn/src/naive/indexing_one_hot/opr_impl.cpp index ae0580ea..13ec21eb 100644 --- a/dnn/src/naive/indexing_one_hot/opr_impl.cpp +++ b/dnn/src/naive/indexing_one_hot/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/indexing_one_hot/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/indexing_one_hot/opr_impl.h b/dnn/src/naive/indexing_one_hot/opr_impl.h index 263b1d57..bca3788d 100644 --- a/dnn/src/naive/indexing_one_hot/opr_impl.h +++ b/dnn/src/naive/indexing_one_hot/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/indexing_one_hot/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/layer_norm/opr_impl.cpp b/dnn/src/naive/layer_norm/opr_impl.cpp index cc967035..a4cd54d5 100644 --- a/dnn/src/naive/layer_norm/opr_impl.cpp +++ b/dnn/src/naive/layer_norm/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/layer_norm/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/layer_norm/opr_impl.h" #include #include "src/common/utils.h" diff --git a/dnn/src/naive/layer_norm/opr_impl.h b/dnn/src/naive/layer_norm/opr_impl.h index 99d93e79..4e83373a 100644 --- a/dnn/src/naive/layer_norm/opr_impl.h +++ b/dnn/src/naive/layer_norm/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/layer_norm/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/linspace/opr_impl.cpp b/dnn/src/naive/linspace/opr_impl.cpp index 1d9ebd69..578dc577 100644 --- a/dnn/src/naive/linspace/opr_impl.cpp +++ b/dnn/src/naive/linspace/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/linspace/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/linspace/opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/linspace/opr_impl.h b/dnn/src/naive/linspace/opr_impl.h index 6853b445..dcefbca8 100644 --- a/dnn/src/naive/linspace/opr_impl.h +++ b/dnn/src/naive/linspace/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/linspace/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/local/opr_impl.cpp b/dnn/src/naive/local/opr_impl.cpp index 21c8da1c..62fe0e8c 100644 --- a/dnn/src/naive/local/opr_impl.cpp +++ b/dnn/src/naive/local/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/local/opr_impl.h" #include diff --git a/dnn/src/naive/local/opr_impl.h b/dnn/src/naive/local/opr_impl.h index bbf22975..7305535d 100644 --- a/dnn/src/naive/local/opr_impl.h +++ b/dnn/src/naive/local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/local_share/algorithms.h b/dnn/src/naive/local_share/algorithms.h index 787a025d..781f4177 100644 --- a/dnn/src/naive/local_share/algorithms.h +++ b/dnn/src/naive/local_share/algorithms.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/local_share/algorithms.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/naive/local_share/opr_impl.cpp b/dnn/src/naive/local_share/opr_impl.cpp index 5404fe94..83b8edf1 100644 --- a/dnn/src/naive/local_share/opr_impl.cpp +++ b/dnn/src/naive/local_share/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/local_share/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/local_share/opr_impl.h" #include "src/naive/convolution/helper.h" diff --git a/dnn/src/naive/local_share/opr_impl.h b/dnn/src/naive/local_share/opr_impl.h index def5db70..2a1e0e83 100644 --- a/dnn/src/naive/local_share/opr_impl.h +++ b/dnn/src/naive/local_share/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/local_share/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/lowbit_utils.cpp b/dnn/src/naive/lowbit_utils.cpp index c5ac166b..2adc7dad 100644 --- a/dnn/src/naive/lowbit_utils.cpp +++ b/dnn/src/naive/lowbit_utils.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/lowbit_utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/lowbit_utils.h" // =================================quint4====================================== diff --git a/dnn/src/naive/lowbit_utils.h b/dnn/src/naive/lowbit_utils.h index 1f607ada..2d5165b8 100644 --- a/dnn/src/naive/lowbit_utils.h +++ b/dnn/src/naive/lowbit_utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/lowbit_utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/lrn/opr_impl.cpp b/dnn/src/naive/lrn/opr_impl.cpp index 85f40109..4e407e30 100644 --- a/dnn/src/naive/lrn/opr_impl.cpp +++ b/dnn/src/naive/lrn/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lrn/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/lrn/opr_impl.h" #include diff --git a/dnn/src/naive/lrn/opr_impl.h b/dnn/src/naive/lrn/opr_impl.h index 281c868d..f4101525 100644 --- a/dnn/src/naive/lrn/opr_impl.h +++ b/dnn/src/naive/lrn/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lrn/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/lsq/opr_impl.cpp b/dnn/src/naive/lsq/opr_impl.cpp index 5cfc3250..c84ec07b 100644 --- a/dnn/src/naive/lsq/opr_impl.cpp +++ b/dnn/src/naive/lsq/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/lsq/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/lsq/opr_impl.h" #include #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/lsq/opr_impl.h b/dnn/src/naive/lsq/opr_impl.h index 68d8ba27..19855f04 100644 --- a/dnn/src/naive/lsq/opr_impl.h +++ b/dnn/src/naive/lsq/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/lsq/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/lstm/opr_impl.cpp b/dnn/src/naive/lstm/opr_impl.cpp index 5e11c56b..70e929b1 100644 --- a/dnn/src/naive/lstm/opr_impl.cpp +++ b/dnn/src/naive/lstm/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lstm/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/lstm/opr_impl.h" #include "src/naive/rnn/funcs.h" #include "src/naive/rnn/rnn.h" diff --git a/dnn/src/naive/lstm/opr_impl.h b/dnn/src/naive/lstm/opr_impl.h index 6622f51d..4fe2e8c0 100644 --- a/dnn/src/naive/lstm/opr_impl.h +++ b/dnn/src/naive/lstm/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lstm/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/lstm/template_impl.cpp b/dnn/src/naive/lstm/template_impl.cpp index 541b828b..fcea48ff 100644 --- a/dnn/src/naive/lstm/template_impl.cpp +++ b/dnn/src/naive/lstm/template_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lstm/template_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/rnn/funcs.h" namespace megdnn { diff --git a/dnn/src/naive/lstm_cell/opr_impl.cpp b/dnn/src/naive/lstm_cell/opr_impl.cpp index 139a7c81..ea99c76a 100644 --- a/dnn/src/naive/lstm_cell/opr_impl.cpp +++ b/dnn/src/naive/lstm_cell/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lstm_cell/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/lstm_cell/opr_impl.h" #include "src/common/lstm_cell.h" diff --git a/dnn/src/naive/lstm_cell/opr_impl.h b/dnn/src/naive/lstm_cell/opr_impl.h index 3aad44b2..3ca9916b 100644 --- a/dnn/src/naive/lstm_cell/opr_impl.h +++ b/dnn/src/naive/lstm_cell/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/lstm_cell/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/rnn_cell/opr_impl.h" diff --git a/dnn/src/naive/mask_conv/opr_impl.cpp b/dnn/src/naive/mask_conv/opr_impl.cpp index c27eb313..e3f0b549 100644 --- a/dnn/src/naive/mask_conv/opr_impl.cpp +++ b/dnn/src/naive/mask_conv/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/mask_conv/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/mask_conv/opr_impl.h" #include "megdnn/dtype.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/mask_conv/opr_impl.h b/dnn/src/naive/mask_conv/opr_impl.h index 4ad379e3..c964bc1f 100644 --- a/dnn/src/naive/mask_conv/opr_impl.h +++ b/dnn/src/naive/mask_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/mask_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/matrix_inverse/opr_impl.cpp b/dnn/src/naive/matrix_inverse/opr_impl.cpp index 1ee5f3be..795d19ad 100644 --- a/dnn/src/naive/matrix_inverse/opr_impl.cpp +++ b/dnn/src/naive/matrix_inverse/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/matrix_inverse/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/matrix_inverse/opr_impl.h" #include #include "src/common/utils.h" diff --git a/dnn/src/naive/matrix_inverse/opr_impl.h b/dnn/src/naive/matrix_inverse/opr_impl.h index 51cf5b17..aeb5bed1 100644 --- a/dnn/src/naive/matrix_inverse/opr_impl.h +++ b/dnn/src/naive/matrix_inverse/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/matrix_inverse/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/linalg.h" diff --git a/dnn/src/naive/matrix_mul/algorithms.h b/dnn/src/naive/matrix_mul/algorithms.h index 482f1518..2eafc901 100644 --- a/dnn/src/naive/matrix_mul/algorithms.h +++ b/dnn/src/naive/matrix_mul/algorithms.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/matrix_mul/algorithms.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/linalg.h" diff --git a/dnn/src/naive/matrix_mul/matrix_mul_helper.h b/dnn/src/naive/matrix_mul/matrix_mul_helper.h index b2588214..d0c8fbe0 100644 --- a/dnn/src/naive/matrix_mul/matrix_mul_helper.h +++ b/dnn/src/naive/matrix_mul/matrix_mul_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/matrix_mul/matrix_mul_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/dtype.h" diff --git a/dnn/src/naive/matrix_mul/opr_impl.cpp b/dnn/src/naive/matrix_mul/opr_impl.cpp index 822ac26e..00c7f1a0 100644 --- a/dnn/src/naive/matrix_mul/opr_impl.cpp +++ b/dnn/src/naive/matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/matrix_mul/opr_impl.h" #include "./matrix_mul_helper.h" diff --git a/dnn/src/naive/matrix_mul/opr_impl.h b/dnn/src/naive/matrix_mul/opr_impl.h index fb40f2fa..8727ad1c 100644 --- a/dnn/src/naive/matrix_mul/opr_impl.h +++ b/dnn/src/naive/matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/max_tensor_diff/opr_impl.cpp b/dnn/src/naive/max_tensor_diff/opr_impl.cpp index 1f5dbde4..d628b2fb 100644 --- a/dnn/src/naive/max_tensor_diff/opr_impl.cpp +++ b/dnn/src/naive/max_tensor_diff/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/max_tensor_diff/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/max_tensor_diff/opr_impl.h b/dnn/src/naive/max_tensor_diff/opr_impl.h index 3d438c01..9089095e 100644 --- a/dnn/src/naive/max_tensor_diff/opr_impl.h +++ b/dnn/src/naive/max_tensor_diff/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/max_tensor_diff/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/mesh_indexing/opr_impl.cpp b/dnn/src/naive/mesh_indexing/opr_impl.cpp index 46127596..ada584ff 100644 --- a/dnn/src/naive/mesh_indexing/opr_impl.cpp +++ b/dnn/src/naive/mesh_indexing/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/mesh_indexing/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/mesh_indexing/opr_impl.h b/dnn/src/naive/mesh_indexing/opr_impl.h index fdc542b2..0b4a8f78 100644 --- a/dnn/src/naive/mesh_indexing/opr_impl.h +++ b/dnn/src/naive/mesh_indexing/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/mesh_indexing/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/padding/opr_impl.cpp b/dnn/src/naive/padding/opr_impl.cpp index 0d45ddc7..053369a5 100644 --- a/dnn/src/naive/padding/opr_impl.cpp +++ b/dnn/src/naive/padding/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/padding/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/padding/opr_impl.h" #include #include diff --git a/dnn/src/naive/padding/opr_impl.h b/dnn/src/naive/padding/opr_impl.h index a944c2f7..dea17218 100644 --- a/dnn/src/naive/padding/opr_impl.h +++ b/dnn/src/naive/padding/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/padding/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/param_pack/opr_impl.cpp b/dnn/src/naive/param_pack/opr_impl.cpp index f2853438..53a31c6f 100644 --- a/dnn/src/naive/param_pack/opr_impl.cpp +++ b/dnn/src/naive/param_pack/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/param_pack/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/param_pack/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/param_pack/opr_impl.h b/dnn/src/naive/param_pack/opr_impl.h index d2c1ba8d..4068b6f8 100644 --- a/dnn/src/naive/param_pack/opr_impl.h +++ b/dnn/src/naive/param_pack/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/param_pack/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" namespace megdnn { diff --git a/dnn/src/naive/pooling/opr_impl.cpp b/dnn/src/naive/pooling/opr_impl.cpp index 541b74fa..96917394 100644 --- a/dnn/src/naive/pooling/opr_impl.cpp +++ b/dnn/src/naive/pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/pooling/opr_impl.h" #include diff --git a/dnn/src/naive/pooling/opr_impl.h b/dnn/src/naive/pooling/opr_impl.h index d884a827..1b64fc5a 100644 --- a/dnn/src/naive/pooling/opr_impl.h +++ b/dnn/src/naive/pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/powc/opr_impl.cpp b/dnn/src/naive/powc/opr_impl.cpp index 600205ab..398cfbb7 100644 --- a/dnn/src/naive/powc/opr_impl.cpp +++ b/dnn/src/naive/powc/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/powc/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/powc/opr_impl.h b/dnn/src/naive/powc/opr_impl.h index b780dc51..d9326630 100644 --- a/dnn/src/naive/powc/opr_impl.h +++ b/dnn/src/naive/powc/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/powc/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/naive/reduce/opr_impl.cpp b/dnn/src/naive/reduce/opr_impl.cpp index da7b1dbb..4209f007 100644 --- a/dnn/src/naive/reduce/opr_impl.cpp +++ b/dnn/src/naive/reduce/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/reduce/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/reduce/opr_impl.h" #include diff --git a/dnn/src/naive/reduce/opr_impl.h b/dnn/src/naive/reduce/opr_impl.h index acc3cd94..98e55da9 100644 --- a/dnn/src/naive/reduce/opr_impl.h +++ b/dnn/src/naive/reduce/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/reduce/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/relayout/opr_impl.cpp b/dnn/src/naive/relayout/opr_impl.cpp index cda3cc21..16ede0dd 100644 --- a/dnn/src/naive/relayout/opr_impl.cpp +++ b/dnn/src/naive/relayout/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/relayout/opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/relayout/opr_impl.h b/dnn/src/naive/relayout/opr_impl.h index 9a201ef2..cc35ee32 100644 --- a/dnn/src/naive/relayout/opr_impl.h +++ b/dnn/src/naive/relayout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/relayout_format/opr_impl.cpp b/dnn/src/naive/relayout_format/opr_impl.cpp index 2116c09e..9cc61412 100644 --- a/dnn/src/naive/relayout_format/opr_impl.cpp +++ b/dnn/src/naive/relayout_format/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/relayout_format/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/relayout_format/opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/relayout_format/opr_impl.h b/dnn/src/naive/relayout_format/opr_impl.h index e7fd8e44..e1d6d2a6 100644 --- a/dnn/src/naive/relayout_format/opr_impl.h +++ b/dnn/src/naive/relayout_format/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/relayout_format/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/remap/opr_impl.cpp b/dnn/src/naive/remap/opr_impl.cpp index 440d73d2..bb3b15dc 100644 --- a/dnn/src/naive/remap/opr_impl.cpp +++ b/dnn/src/naive/remap/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/remap/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/remap/opr_impl.h" #include "src/common/cv/helper.h" #include "src/common/rounding_converter.cuh" diff --git a/dnn/src/naive/remap/opr_impl.h b/dnn/src/naive/remap/opr_impl.h index f5984a12..ae667f0e 100644 --- a/dnn/src/naive/remap/opr_impl.h +++ b/dnn/src/naive/remap/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/remap/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/repeat/opr_impl.cpp b/dnn/src/naive/repeat/opr_impl.cpp index ba928735..78fe783a 100644 --- a/dnn/src/naive/repeat/opr_impl.cpp +++ b/dnn/src/naive/repeat/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/repeat/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/repeat/opr_impl.h" #include diff --git a/dnn/src/naive/repeat/opr_impl.h b/dnn/src/naive/repeat/opr_impl.h index 32ae0b9b..6ad196f5 100644 --- a/dnn/src/naive/repeat/opr_impl.h +++ b/dnn/src/naive/repeat/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/repeat/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/resize/opr_impl.cpp b/dnn/src/naive/resize/opr_impl.cpp index 7530a026..ac5430ee 100644 --- a/dnn/src/naive/resize/opr_impl.cpp +++ b/dnn/src/naive/resize/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/resize/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/resize/opr_impl.h" #include "midout.h" #include "src/common/cv/enums.h" diff --git a/dnn/src/naive/resize/opr_impl.h b/dnn/src/naive/resize/opr_impl.h index 85eaf4b5..734f977b 100644 --- a/dnn/src/naive/resize/opr_impl.h +++ b/dnn/src/naive/resize/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/resize/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/resize/resize_cv.h b/dnn/src/naive/resize/resize_cv.h index 01748445..a5fdf0ad 100644 --- a/dnn/src/naive/resize/resize_cv.h +++ b/dnn/src/naive/resize/resize_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/resize/resize_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/naive/rng/opr_impl.cpp b/dnn/src/naive/rng/opr_impl.cpp index 04df7b50..dbdb2128 100644 --- a/dnn/src/naive/rng/opr_impl.cpp +++ b/dnn/src/naive/rng/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/rng/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/rng/opr_impl.h b/dnn/src/naive/rng/opr_impl.h index 428ce9a6..985e290f 100644 --- a/dnn/src/naive/rng/opr_impl.h +++ b/dnn/src/naive/rng/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rng/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/naive/rnn/funcs.h b/dnn/src/naive/rnn/funcs.h index f157f8a9..49a9e1bc 100644 --- a/dnn/src/naive/rnn/funcs.h +++ b/dnn/src/naive/rnn/funcs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/funcs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // #ifndef _RNN_H // #define _RNN_H #include "megdnn/oprs.h" diff --git a/dnn/src/naive/rnn/opr_impl.cpp b/dnn/src/naive/rnn/opr_impl.cpp index 4379cf1e..e92106b2 100644 --- a/dnn/src/naive/rnn/opr_impl.cpp +++ b/dnn/src/naive/rnn/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/rnn/opr_impl.h" #include "megdnn/dtype.h" #include "megdnn/oprs/base.h" diff --git a/dnn/src/naive/rnn/opr_impl.h b/dnn/src/naive/rnn/opr_impl.h index b52edbd1..ba464c49 100644 --- a/dnn/src/naive/rnn/opr_impl.h +++ b/dnn/src/naive/rnn/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/rnn/rnn.cpp b/dnn/src/naive/rnn/rnn.cpp index d1889f51..45f173f5 100644 --- a/dnn/src/naive/rnn/rnn.cpp +++ b/dnn/src/naive/rnn/rnn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/rnn/rnn.h" #include diff --git a/dnn/src/naive/rnn/rnn.h b/dnn/src/naive/rnn/rnn.h index cbe2d464..0fdcffec 100644 --- a/dnn/src/naive/rnn/rnn.h +++ b/dnn/src/naive/rnn/rnn.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/rnn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "megdnn/oprs/general.h" diff --git a/dnn/src/naive/rnn/template_impl.cpp b/dnn/src/naive/rnn/template_impl.cpp index b82e72a2..82b0c3ff 100644 --- a/dnn/src/naive/rnn/template_impl.cpp +++ b/dnn/src/naive/rnn/template_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn/template_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/rnn/funcs.h" namespace megdnn { diff --git a/dnn/src/naive/rnn_cell/opr_impl.cpp b/dnn/src/naive/rnn_cell/opr_impl.cpp index 85eccf99..bb73581b 100644 --- a/dnn/src/naive/rnn_cell/opr_impl.cpp +++ b/dnn/src/naive/rnn_cell/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn_cell/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/rnn_cell/opr_impl.h" #include "src/common/rnn_cell.h" diff --git a/dnn/src/naive/rnn_cell/opr_impl.h b/dnn/src/naive/rnn_cell/opr_impl.h index f79e8ef3..51d9995e 100644 --- a/dnn/src/naive/rnn_cell/opr_impl.h +++ b/dnn/src/naive/rnn_cell/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rnn_cell/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/roi_align/opr_impl.cpp b/dnn/src/naive/roi_align/opr_impl.cpp index 51d8caff..bdcf38fb 100644 --- a/dnn/src/naive/roi_align/opr_impl.cpp +++ b/dnn/src/naive/roi_align/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/roi_align/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/roi_align/opr_impl.h" #include "src/common/roi_align_helper.h" diff --git a/dnn/src/naive/roi_align/opr_impl.h b/dnn/src/naive/roi_align/opr_impl.h index 16cbb82c..02495dce 100644 --- a/dnn/src/naive/roi_align/opr_impl.h +++ b/dnn/src/naive/roi_align/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/roi_align/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/roi_copy/opr_impl.cpp b/dnn/src/naive/roi_copy/opr_impl.cpp index 7387d405..fd8a653a 100644 --- a/dnn/src/naive/roi_copy/opr_impl.cpp +++ b/dnn/src/naive/roi_copy/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/roi_copy/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/roi_copy/opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/roi_copy/opr_impl.h b/dnn/src/naive/roi_copy/opr_impl.h index 99d228ff..4bd87c8c 100644 --- a/dnn/src/naive/roi_copy/opr_impl.h +++ b/dnn/src/naive/roi_copy/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/roi_copy/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/roi_pooling/opr_impl.cpp b/dnn/src/naive/roi_pooling/opr_impl.cpp index 3657a149..d13f6d2f 100644 --- a/dnn/src/naive/roi_pooling/opr_impl.cpp +++ b/dnn/src/naive/roi_pooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/roi_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/roi_pooling/opr_impl.h" #include "src/common/roi_pooling_helper.h" diff --git a/dnn/src/naive/roi_pooling/opr_impl.h b/dnn/src/naive/roi_pooling/opr_impl.h index 07037ea1..556743b1 100644 --- a/dnn/src/naive/roi_pooling/opr_impl.h +++ b/dnn/src/naive/roi_pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/roi_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/rotate/opr_impl.cpp b/dnn/src/naive/rotate/opr_impl.cpp index ea1967ed..7024e4f7 100644 --- a/dnn/src/naive/rotate/opr_impl.cpp +++ b/dnn/src/naive/rotate/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/rotate/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./opr_impl.h" diff --git a/dnn/src/naive/rotate/opr_impl.h b/dnn/src/naive/rotate/opr_impl.h index 14d07296..d7f6e282 100644 --- a/dnn/src/naive/rotate/opr_impl.h +++ b/dnn/src/naive/rotate/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/rotate/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/separable_conv/opr_impl.h b/dnn/src/naive/separable_conv/opr_impl.h index 5f395241..6b23dd2d 100644 --- a/dnn/src/naive/separable_conv/opr_impl.h +++ b/dnn/src/naive/separable_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/separable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/convolution/opr_impl.h" diff --git a/dnn/src/naive/separable_filter/opr_impl.h b/dnn/src/naive/separable_filter/opr_impl.h index 72132b45..6f222fa8 100644 --- a/dnn/src/naive/separable_filter/opr_impl.h +++ b/dnn/src/naive/separable_filter/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/separable_filter/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" namespace megdnn { diff --git a/dnn/src/naive/sleep/opr_impl.cpp b/dnn/src/naive/sleep/opr_impl.cpp index 5b586348..eed714a0 100644 --- a/dnn/src/naive/sleep/opr_impl.cpp +++ b/dnn/src/naive/sleep/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/sleep/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #if __DEPLOY_ON_XP_SP2__ diff --git a/dnn/src/naive/sleep/opr_impl.h b/dnn/src/naive/sleep/opr_impl.h index c7b79582..591bd6de 100644 --- a/dnn/src/naive/sleep/opr_impl.h +++ b/dnn/src/naive/sleep/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/sleep/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/sliding_window_transpose/opr_impl.cpp b/dnn/src/naive/sliding_window_transpose/opr_impl.cpp index 0a6a0774..a98b4cf7 100644 --- a/dnn/src/naive/sliding_window_transpose/opr_impl.cpp +++ b/dnn/src/naive/sliding_window_transpose/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/sliding_window_transpose/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/sliding_window_transpose/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/sliding_window_transpose/opr_impl.h b/dnn/src/naive/sliding_window_transpose/opr_impl.h index 9a97ff52..eaddb1a9 100644 --- a/dnn/src/naive/sliding_window_transpose/opr_impl.h +++ b/dnn/src/naive/sliding_window_transpose/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/sliding_window_transpose/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/softmax/opr_impl.cpp b/dnn/src/naive/softmax/opr_impl.cpp index c1a2a8fb..0991eba6 100644 --- a/dnn/src/naive/softmax/opr_impl.cpp +++ b/dnn/src/naive/softmax/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/softmax/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/softmax/opr_impl.h" #include diff --git a/dnn/src/naive/softmax/opr_impl.h b/dnn/src/naive/softmax/opr_impl.h index 932f8dcd..39cefbe2 100644 --- a/dnn/src/naive/softmax/opr_impl.h +++ b/dnn/src/naive/softmax/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/softmax/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/split/opr_impl.cpp b/dnn/src/naive/split/opr_impl.cpp index cdb421d5..eb39c5c5 100644 --- a/dnn/src/naive/split/opr_impl.cpp +++ b/dnn/src/naive/split/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/split/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/split/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/split/opr_impl.h b/dnn/src/naive/split/opr_impl.h index 12828bf2..fbc3a84b 100644 --- a/dnn/src/naive/split/opr_impl.h +++ b/dnn/src/naive/split/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/split/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/svd/opr_impl.cpp b/dnn/src/naive/svd/opr_impl.cpp index a0c6c717..bb2127c3 100644 --- a/dnn/src/naive/svd/opr_impl.cpp +++ b/dnn/src/naive/svd/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/svd/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/svd/opr_impl.h b/dnn/src/naive/svd/opr_impl.h index 3ae18757..b2c32e5c 100644 --- a/dnn/src/naive/svd/opr_impl.h +++ b/dnn/src/naive/svd/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/svd/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/tensor_remap/opr_impl.cpp b/dnn/src/naive/tensor_remap/opr_impl.cpp index 919fdb6b..17cc4ad4 100644 --- a/dnn/src/naive/tensor_remap/opr_impl.cpp +++ b/dnn/src/naive/tensor_remap/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/tensor_remap/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/tensor_remap/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/tensor_remap/opr_impl.h b/dnn/src/naive/tensor_remap/opr_impl.h index 975ad4f8..37c58e1f 100644 --- a/dnn/src/naive/tensor_remap/opr_impl.h +++ b/dnn/src/naive/tensor_remap/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/tensor_remap/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/tile/opr_impl.cpp b/dnn/src/naive/tile/opr_impl.cpp index b91817d8..302693d1 100644 --- a/dnn/src/naive/tile/opr_impl.cpp +++ b/dnn/src/naive/tile/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/tile/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/tile/opr_impl.h" #include diff --git a/dnn/src/naive/tile/opr_impl.h b/dnn/src/naive/tile/opr_impl.h index cbfd1b54..f942bb4d 100644 --- a/dnn/src/naive/tile/opr_impl.h +++ b/dnn/src/naive/tile/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/tile/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/topk/opr_impl.cpp b/dnn/src/naive/topk/opr_impl.cpp index 66303df3..bfefe9d6 100644 --- a/dnn/src/naive/topk/opr_impl.cpp +++ b/dnn/src/naive/topk/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/topk/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/utils.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/topk/opr_impl.h b/dnn/src/naive/topk/opr_impl.h index f9d18ad8..6dfd1d78 100644 --- a/dnn/src/naive/topk/opr_impl.h +++ b/dnn/src/naive/topk/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/topk/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/naive/tqt/opr_impl.cpp b/dnn/src/naive/tqt/opr_impl.cpp index a1406d9d..adbc23ac 100644 --- a/dnn/src/naive/tqt/opr_impl.cpp +++ b/dnn/src/naive/tqt/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/tqt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/naive/tqt/opr_impl.h" #include #include "megdnn/tensor_iter.h" diff --git a/dnn/src/naive/tqt/opr_impl.h b/dnn/src/naive/tqt/opr_impl.h index 64081380..1bafaa00 100644 --- a/dnn/src/naive/tqt/opr_impl.h +++ b/dnn/src/naive/tqt/opr_impl.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/naive/tqt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/transpose/opr_impl.cpp b/dnn/src/naive/transpose/opr_impl.cpp index 0b989183..195c5588 100644 --- a/dnn/src/naive/transpose/opr_impl.cpp +++ b/dnn/src/naive/transpose/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/transpose/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/naive/transpose/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/transpose/opr_impl.h b/dnn/src/naive/transpose/opr_impl.h index a0dd0a7f..63722cd2 100644 --- a/dnn/src/naive/transpose/opr_impl.h +++ b/dnn/src/naive/transpose/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/transpose/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/type_cvt/opr_impl.cpp b/dnn/src/naive/type_cvt/opr_impl.cpp index ba2f3e42..3b2eb78d 100644 --- a/dnn/src/naive/type_cvt/opr_impl.cpp +++ b/dnn/src/naive/type_cvt/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "megdnn/tensor_iter.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/type_cvt/opr_impl.h b/dnn/src/naive/type_cvt/opr_impl.h index 01e2ec00..98ecf0b6 100644 --- a/dnn/src/naive/type_cvt/opr_impl.h +++ b/dnn/src/naive/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/naive/warp_affine/opr_impl.cpp b/dnn/src/naive/warp_affine/opr_impl.cpp index 2015b157..329d5c14 100644 --- a/dnn/src/naive/warp_affine/opr_impl.cpp +++ b/dnn/src/naive/warp_affine/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/warp_affine/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/warp_affine/opr_impl.h" #include "src/common/warp_common.h" #include "src/naive/handle.h" diff --git a/dnn/src/naive/warp_affine/opr_impl.h b/dnn/src/naive/warp_affine/opr_impl.h index 025042e6..74b673a3 100644 --- a/dnn/src/naive/warp_affine/opr_impl.h +++ b/dnn/src/naive/warp_affine/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/naive/warp_affine/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/warp_affine/warp_affine_cv.h b/dnn/src/naive/warp_affine/warp_affine_cv.h index 51329b4a..50a5f08b 100644 --- a/dnn/src/naive/warp_affine/warp_affine_cv.h +++ b/dnn/src/naive/warp_affine/warp_affine_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/warp_affine/warp_affine_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/naive/warp_perspective/opr_impl.cpp b/dnn/src/naive/warp_perspective/opr_impl.cpp index 9fbc035d..3e063c7c 100644 --- a/dnn/src/naive/warp_perspective/opr_impl.cpp +++ b/dnn/src/naive/warp_perspective/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/warp_perspective/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/naive/warp_perspective/opr_impl.h" #include "src/naive/warp_perspective/warp_perspective_cv.h" diff --git a/dnn/src/naive/warp_perspective/opr_impl.h b/dnn/src/naive/warp_perspective/opr_impl.h index 44fcb291..907f6d9c 100644 --- a/dnn/src/naive/warp_perspective/opr_impl.h +++ b/dnn/src/naive/warp_perspective/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/common/utils.h" diff --git a/dnn/src/naive/warp_perspective/warp_perspective_cv.h b/dnn/src/naive/warp_perspective/warp_perspective_cv.h index 652ae42d..b85c793d 100644 --- a/dnn/src/naive/warp_perspective/warp_perspective_cv.h +++ b/dnn/src/naive/warp_perspective/warp_perspective_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/naive/warp_perspective/warp_perspective_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/rocm/adaptive_pooling/opr_impl.cpp b/dnn/src/rocm/adaptive_pooling/opr_impl.cpp index bbb2c93f..90c05499 100644 --- a/dnn/src/rocm/adaptive_pooling/opr_impl.cpp +++ b/dnn/src/rocm/adaptive_pooling/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/adaptive_pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/rocm/adaptive_pooling/opr_impl.h" namespace megdnn { diff --git a/dnn/src/rocm/adaptive_pooling/opr_impl.h b/dnn/src/rocm/adaptive_pooling/opr_impl.h index c66440ad..9289dc4d 100644 --- a/dnn/src/rocm/adaptive_pooling/opr_impl.h +++ b/dnn/src/rocm/adaptive_pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/adaptive_pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/add_update/add_update.cpp.hip b/dnn/src/rocm/add_update/add_update.cpp.hip index 5f328ab3..df6e469b 100644 --- a/dnn/src/rocm/add_update/add_update.cpp.hip +++ b/dnn/src/rocm/add_update/add_update.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/add_update/add_update.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./add_update.h.hip" diff --git a/dnn/src/rocm/add_update/add_update.h.hip b/dnn/src/rocm/add_update/add_update.h.hip index 20758b03..cf0c56f1 100644 --- a/dnn/src/rocm/add_update/add_update.h.hip +++ b/dnn/src/rocm/add_update/add_update.h.hip @@ -1,16 +1,3 @@ -/** - * - * \file dnn/src/rocm/add_update/add_update.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/add_update/opr_impl.cpp b/dnn/src/rocm/add_update/opr_impl.cpp index 7e53a5dd..92fc2a2b 100644 --- a/dnn/src/rocm/add_update/opr_impl.cpp +++ b/dnn/src/rocm/add_update/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/add_update/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/add_update/opr_impl.h b/dnn/src/rocm/add_update/opr_impl.h index ec9eeb92..316ee10e 100644 --- a/dnn/src/rocm/add_update/opr_impl.h +++ b/dnn/src/rocm/add_update/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/add_update/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/argmxx/argmxx.cpp.hip b/dnn/src/rocm/argmxx/argmxx.cpp.hip index 1e57de2e..cdd43fbe 100644 --- a/dnn/src/rocm/argmxx/argmxx.cpp.hip +++ b/dnn/src/rocm/argmxx/argmxx.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/argmxx/argmxx.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" #include "src/common/argmxx_helper.h" diff --git a/dnn/src/rocm/argmxx/opr_impl.cpp b/dnn/src/rocm/argmxx/opr_impl.cpp index ae547496..781a0a2f 100644 --- a/dnn/src/rocm/argmxx/opr_impl.cpp +++ b/dnn/src/rocm/argmxx/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argmxx/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/argmxx/opr_impl.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/argmxx/opr_impl.h b/dnn/src/rocm/argmxx/opr_impl.h index 99a343ca..6b41d97a 100644 --- a/dnn/src/rocm/argmxx/opr_impl.h +++ b/dnn/src/rocm/argmxx/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argmxx/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/argsort/argsort.cpp.hip b/dnn/src/rocm/argsort/argsort.cpp.hip index 65e21bb4..b3545e8f 100644 --- a/dnn/src/rocm/argsort/argsort.cpp.hip +++ b/dnn/src/rocm/argsort/argsort.cpp.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/argsort.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/argsort/argsort.h.hip b/dnn/src/rocm/argsort/argsort.h.hip index 9b3e07c1..a02c72f5 100644 --- a/dnn/src/rocm/argsort/argsort.h.hip +++ b/dnn/src/rocm/argsort/argsort.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/argsort.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/argsort/backward.cpp.hip b/dnn/src/rocm/argsort/backward.cpp.hip index 7428a5ff..af350aa0 100644 --- a/dnn/src/rocm/argsort/backward.cpp.hip +++ b/dnn/src/rocm/argsort/backward.cpp.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/backward.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/argsort/backward.h.hip b/dnn/src/rocm/argsort/backward.h.hip index 34403bc9..8057a150 100644 --- a/dnn/src/rocm/argsort/backward.h.hip +++ b/dnn/src/rocm/argsort/backward.h.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/backward.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/argsort/bitonic_sort.cpp.hip b/dnn/src/rocm/argsort/bitonic_sort.cpp.hip index 095f4b71..237f5c92 100644 --- a/dnn/src/rocm/argsort/bitonic_sort.cpp.hip +++ b/dnn/src/rocm/argsort/bitonic_sort.cpp.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/bitonic_sort.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./bitonic_sort.h.hip" diff --git a/dnn/src/rocm/argsort/bitonic_sort.h.hip b/dnn/src/rocm/argsort/bitonic_sort.h.hip index 8f1ab3b4..8a5c6f97 100644 --- a/dnn/src/rocm/argsort/bitonic_sort.h.hip +++ b/dnn/src/rocm/argsort/bitonic_sort.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/bitonic_sort.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/argsort/opr_impl.cpp b/dnn/src/rocm/argsort/opr_impl.cpp index 3c176ea1..132465cc 100644 --- a/dnn/src/rocm/argsort/opr_impl.cpp +++ b/dnn/src/rocm/argsort/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./argsort.h.hip" #include "./backward.h.hip" diff --git a/dnn/src/rocm/argsort/opr_impl.h b/dnn/src/rocm/argsort/opr_impl.h index c04e32ee..c826a772 100644 --- a/dnn/src/rocm/argsort/opr_impl.h +++ b/dnn/src/rocm/argsort/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/argsort/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/batch_normalization/opr_impl.cpp b/dnn/src/rocm/batch_normalization/opr_impl.cpp index 749898d1..9348fc05 100644 --- a/dnn/src/rocm/batch_normalization/opr_impl.cpp +++ b/dnn/src/rocm/batch_normalization/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/batch_normalization/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./opr_impl.h" #include "src/rocm/utils.h" diff --git a/dnn/src/rocm/batch_normalization/opr_impl.h b/dnn/src/rocm/batch_normalization/opr_impl.h index 776b69c4..ef8cf697 100644 --- a/dnn/src/rocm/batch_normalization/opr_impl.h +++ b/dnn/src/rocm/batch_normalization/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/batch_normalization/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/batched_matrix_mul/algos.cpp b/dnn/src/rocm/batched_matrix_mul/algos.cpp index e11d0d03..2e67a2d8 100644 --- a/dnn/src/rocm/batched_matrix_mul/algos.cpp +++ b/dnn/src/rocm/batched_matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/batched_matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/rocm/batched_matrix_mul/algos.h" #include "src/common/algo_base.h" diff --git a/dnn/src/rocm/batched_matrix_mul/algos.h b/dnn/src/rocm/batched_matrix_mul/algos.h index b1ab7117..1da6e09b 100644 --- a/dnn/src/rocm/batched_matrix_mul/algos.h +++ b/dnn/src/rocm/batched_matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/batched_matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/rocm/batched_matrix_mul/blas.cpp b/dnn/src/rocm/batched_matrix_mul/blas.cpp index 35053d70..ec432322 100644 --- a/dnn/src/rocm/batched_matrix_mul/blas.cpp +++ b/dnn/src/rocm/batched_matrix_mul/blas.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/batched_matrix_mul/Blas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/rocm/batched_matrix_mul/algos.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/batched_matrix_mul/opr_impl.cpp b/dnn/src/rocm/batched_matrix_mul/opr_impl.cpp index 687d426d..72485ca1 100644 --- a/dnn/src/rocm/batched_matrix_mul/opr_impl.cpp +++ b/dnn/src/rocm/batched_matrix_mul/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/batched_matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "./opr_impl.h" #include "./algos.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/batched_matrix_mul/opr_impl.h b/dnn/src/rocm/batched_matrix_mul/opr_impl.h index ef4372ae..c51c7411 100644 --- a/dnn/src/rocm/batched_matrix_mul/opr_impl.h +++ b/dnn/src/rocm/batched_matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/batched_matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/checksum/kern.cpp.hip b/dnn/src/rocm/checksum/kern.cpp.hip index 94b2c0ed..c92f6be8 100644 --- a/dnn/src/rocm/checksum/kern.cpp.hip +++ b/dnn/src/rocm/checksum/kern.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/checksum/kern.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" #include "./kern.h.hip" diff --git a/dnn/src/rocm/checksum/kern.h.hip b/dnn/src/rocm/checksum/kern.h.hip index 298f1e96..834975ed 100644 --- a/dnn/src/rocm/checksum/kern.h.hip +++ b/dnn/src/rocm/checksum/kern.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/checksum/kern.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/checksum/opr_impl.cpp b/dnn/src/rocm/checksum/opr_impl.cpp index 6686ed27..949073ec 100644 --- a/dnn/src/rocm/checksum/opr_impl.cpp +++ b/dnn/src/rocm/checksum/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/checksum/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/checksum/opr_impl.h b/dnn/src/rocm/checksum/opr_impl.h index ef34c432..2d348e0d 100644 --- a/dnn/src/rocm/checksum/opr_impl.h +++ b/dnn/src/rocm/checksum/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/checksum/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/convolution/backward_data/algo.cpp b/dnn/src/rocm/convolution/backward_data/algo.cpp index 9687ab20..35cf92aa 100644 --- a/dnn/src/rocm/convolution/backward_data/algo.cpp +++ b/dnn/src/rocm/convolution/backward_data/algo.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_data/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/backward_data/algo.h b/dnn/src/rocm/convolution/backward_data/algo.h index 2c0c982f..57accd8b 100644 --- a/dnn/src/rocm/convolution/backward_data/algo.h +++ b/dnn/src/rocm/convolution/backward_data/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_data/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/algo_base.h" diff --git a/dnn/src/rocm/convolution/backward_data/chanwise.cpp b/dnn/src/rocm/convolution/backward_data/chanwise.cpp index 8b17af20..b7c89187 100644 --- a/dnn/src/rocm/convolution/backward_data/chanwise.cpp +++ b/dnn/src/rocm/convolution/backward_data/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_data/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/chanwise/kern.h.hip" #include "src/rocm/utils.h" diff --git a/dnn/src/rocm/convolution/backward_data/matmul.cpp b/dnn/src/rocm/convolution/backward_data/matmul.cpp index 20e32491..78aa4898 100644 --- a/dnn/src/rocm/convolution/backward_data/matmul.cpp +++ b/dnn/src/rocm/convolution/backward_data/matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_data/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/helper.h" #include "src/rocm/convolution/im2col.h.hip" diff --git a/dnn/src/rocm/convolution/backward_data/miopen.cpp b/dnn/src/rocm/convolution/backward_data/miopen.cpp index ce7ff0a4..63914271 100644 --- a/dnn/src/rocm/convolution/backward_data/miopen.cpp +++ b/dnn/src/rocm/convolution/backward_data/miopen.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_data/miopen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/backward_filter/algo.cpp b/dnn/src/rocm/convolution/backward_filter/algo.cpp index abe052e8..16d70af2 100644 --- a/dnn/src/rocm/convolution/backward_filter/algo.cpp +++ b/dnn/src/rocm/convolution/backward_filter/algo.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_filter/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/backward_filter/algo.h b/dnn/src/rocm/convolution/backward_filter/algo.h index 1291c08d..bbbff19b 100644 --- a/dnn/src/rocm/convolution/backward_filter/algo.h +++ b/dnn/src/rocm/convolution/backward_filter/algo.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_filter/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/src/rocm/convolution/backward_filter/chanwise.cpp b/dnn/src/rocm/convolution/backward_filter/chanwise.cpp index b72c5dcd..e707fd02 100644 --- a/dnn/src/rocm/convolution/backward_filter/chanwise.cpp +++ b/dnn/src/rocm/convolution/backward_filter/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_filter/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/chanwise/kern.h.hip" #include "src/rocm/utils.h" diff --git a/dnn/src/rocm/convolution/backward_filter/matmul.cpp b/dnn/src/rocm/convolution/backward_filter/matmul.cpp index e1b91a61..ad0e10a7 100644 --- a/dnn/src/rocm/convolution/backward_filter/matmul.cpp +++ b/dnn/src/rocm/convolution/backward_filter/matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_filter/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/helper.h" #include "src/rocm/convolution/im2col.h.hip" diff --git a/dnn/src/rocm/convolution/backward_filter/miopen.cpp b/dnn/src/rocm/convolution/backward_filter/miopen.cpp index 60a6b7ca..e1a74645 100644 --- a/dnn/src/rocm/convolution/backward_filter/miopen.cpp +++ b/dnn/src/rocm/convolution/backward_filter/miopen.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/backward_filter/miopen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip b/dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip index 6a11b024..97b8e888 100644 --- a/dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip +++ b/dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/chanwise/bwd_data.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hip_header.h" #include "./kern.h.hip" #include "./kern_helper.h.hip" diff --git a/dnn/src/rocm/convolution/chanwise/bwd_filter.cpp.hip b/dnn/src/rocm/convolution/chanwise/bwd_filter.cpp.hip index 25e09c57..6213722b 100644 --- a/dnn/src/rocm/convolution/chanwise/bwd_filter.cpp.hip +++ b/dnn/src/rocm/convolution/chanwise/bwd_filter.cpp.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/chanwise/bwd_filter.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hip_header.h" #include "./kern.h.hip" #include "./kern_helper.h.hip" diff --git a/dnn/src/rocm/convolution/chanwise/fwd.cpp.hip b/dnn/src/rocm/convolution/chanwise/fwd.cpp.hip index bc36021e..579b6764 100644 --- a/dnn/src/rocm/convolution/chanwise/fwd.cpp.hip +++ b/dnn/src/rocm/convolution/chanwise/fwd.cpp.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/chanwise/fwd.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hip_header.h" #include "./kern.h.hip" #include "./kern_helper.h.hip" diff --git a/dnn/src/rocm/convolution/chanwise/kern.h.hip b/dnn/src/rocm/convolution/chanwise/kern.h.hip index 03cf5b68..0d196c2e 100644 --- a/dnn/src/rocm/convolution/chanwise/kern.h.hip +++ b/dnn/src/rocm/convolution/chanwise/kern.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/chanwise/kern.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/convolution/chanwise/kern_helper.h.hip b/dnn/src/rocm/convolution/chanwise/kern_helper.h.hip index 2f0d91ef..b2e7965e 100644 --- a/dnn/src/rocm/convolution/chanwise/kern_helper.h.hip +++ b/dnn/src/rocm/convolution/chanwise/kern_helper.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/chanwise/kern_helper.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/convolution/forward/1x1.cpp b/dnn/src/rocm/convolution/forward/1x1.cpp index 2349fcaf..af962434 100644 --- a/dnn/src/rocm/convolution/forward/1x1.cpp +++ b/dnn/src/rocm/convolution/forward/1x1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/1x1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/handle.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/convolution/forward/algo.cpp b/dnn/src/rocm/convolution/forward/algo.cpp index 56118d42..6483c326 100644 --- a/dnn/src/rocm/convolution/forward/algo.cpp +++ b/dnn/src/rocm/convolution/forward/algo.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/forward/algo.h b/dnn/src/rocm/convolution/forward/algo.h index b89c3520..e4ece99f 100644 --- a/dnn/src/rocm/convolution/forward/algo.h +++ b/dnn/src/rocm/convolution/forward/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/convolution/forward/chanwise.cpp b/dnn/src/rocm/convolution/forward/chanwise.cpp index c3cabda6..9a6105cc 100644 --- a/dnn/src/rocm/convolution/forward/chanwise.cpp +++ b/dnn/src/rocm/convolution/forward/chanwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/chanwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/chanwise/kern.h.hip" #include "src/rocm/utils.h" diff --git a/dnn/src/rocm/convolution/forward/inplace_matmul.cpp b/dnn/src/rocm/convolution/forward/inplace_matmul.cpp index d7b41376..5516e119 100644 --- a/dnn/src/rocm/convolution/forward/inplace_matmul.cpp +++ b/dnn/src/rocm/convolution/forward/inplace_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/inplace_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "./inplace_matmul_impl.h.hip" diff --git a/dnn/src/rocm/convolution/forward/inplace_matmul_impl.cpp.hip b/dnn/src/rocm/convolution/forward/inplace_matmul_impl.cpp.hip index a33b4253..73a1349f 100644 --- a/dnn/src/rocm/convolution/forward/inplace_matmul_impl.cpp.hip +++ b/dnn/src/rocm/convolution/forward/inplace_matmul_impl.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/inplace_matmul_impl.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./inplace_matmul_impl.h.hip" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/convolution/forward/inplace_matmul_impl.h.hip b/dnn/src/rocm/convolution/forward/inplace_matmul_impl.h.hip index 60079658..c8dd9298 100644 --- a/dnn/src/rocm/convolution/forward/inplace_matmul_impl.h.hip +++ b/dnn/src/rocm/convolution/forward/inplace_matmul_impl.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/inplace_matmul_impl.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/rocm/convolution/forward/matmul.cpp b/dnn/src/rocm/convolution/forward/matmul.cpp index 52d1103c..daf432d9 100644 --- a/dnn/src/rocm/convolution/forward/matmul.cpp +++ b/dnn/src/rocm/convolution/forward/matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./algo.h" #include "src/rocm/convolution/helper.h" #include "src/rocm/convolution/im2col.h.hip" diff --git a/dnn/src/rocm/convolution/forward/miopen.cpp b/dnn/src/rocm/convolution/forward/miopen.cpp index 46a1ed6c..77e51387 100644 --- a/dnn/src/rocm/convolution/forward/miopen.cpp +++ b/dnn/src/rocm/convolution/forward/miopen.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/forward/miopen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./algo.h" diff --git a/dnn/src/rocm/convolution/helper.cpp b/dnn/src/rocm/convolution/helper.cpp index c0df744f..df9e45eb 100644 --- a/dnn/src/rocm/convolution/helper.cpp +++ b/dnn/src/rocm/convolution/helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./backward_data/algo.h" diff --git a/dnn/src/rocm/convolution/helper.h b/dnn/src/rocm/convolution/helper.h index 5961461f..8fb38afa 100644 --- a/dnn/src/rocm/convolution/helper.h +++ b/dnn/src/rocm/convolution/helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./opr_impl.h" diff --git a/dnn/src/rocm/convolution/im2col.cpp.hip b/dnn/src/rocm/convolution/im2col.cpp.hip index 5200607d..fb351391 100644 --- a/dnn/src/rocm/convolution/im2col.cpp.hip +++ b/dnn/src/rocm/convolution/im2col.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/im2col.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./im2col.h.hip" #include "megdnn/dtype.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/convolution/im2col.h.hip b/dnn/src/rocm/convolution/im2col.h.hip index 0870a79f..075a0096 100644 --- a/dnn/src/rocm/convolution/im2col.h.hip +++ b/dnn/src/rocm/convolution/im2col.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/im2col.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/convolution/opr_impl.cpp b/dnn/src/rocm/convolution/opr_impl.cpp index b3dfa2c0..8c88b130 100644 --- a/dnn/src/rocm/convolution/opr_impl.cpp +++ b/dnn/src/rocm/convolution/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./backward_data/algo.h" diff --git a/dnn/src/rocm/convolution/opr_impl.h b/dnn/src/rocm/convolution/opr_impl.h index 6b117f34..f7d76030 100644 --- a/dnn/src/rocm/convolution/opr_impl.h +++ b/dnn/src/rocm/convolution/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/convolution/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/src/rocm/elemwise/kern_impl.inl b/dnn/src/rocm/elemwise/kern_impl.inl index 388e6638..759dde3c 100644 --- a/dnn/src/rocm/elemwise/kern_impl.inl +++ b/dnn/src/rocm/elemwise/kern_impl.inl @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise/kern_impl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #ifndef KERN_IMPL_MODE diff --git a/dnn/src/rocm/elemwise/kern_wrapper.h.hip b/dnn/src/rocm/elemwise/kern_wrapper.h.hip index a0bb9ec6..16812245 100644 --- a/dnn/src/rocm/elemwise/kern_wrapper.h.hip +++ b/dnn/src/rocm/elemwise/kern_wrapper.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise/kern_wrapper.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/rocm/elemwise_helper.h.hip" diff --git a/dnn/src/rocm/elemwise/opr_impl.cpp b/dnn/src/rocm/elemwise/opr_impl.cpp index c6a88e42..3e8b2097 100644 --- a/dnn/src/rocm/elemwise/opr_impl.cpp +++ b/dnn/src/rocm/elemwise/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/elemwise/opr_impl.h b/dnn/src/rocm/elemwise/opr_impl.h index bab891d6..4bbb59df 100644 --- a/dnn/src/rocm/elemwise/opr_impl.h +++ b/dnn/src/rocm/elemwise/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/elemwise/opr_impl_helper.h" diff --git a/dnn/src/rocm/elemwise/special_kerns.inl b/dnn/src/rocm/elemwise/special_kerns.inl index c902a167..c9a83363 100644 --- a/dnn/src/rocm/elemwise/special_kerns.inl +++ b/dnn/src/rocm/elemwise/special_kerns.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise/special_kerns.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./special_kerns.h.hip" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/elemwise_helper.cpp b/dnn/src/rocm/elemwise_helper.cpp index c15bd988..6dd23a3e 100644 --- a/dnn/src/rocm/elemwise_helper.cpp +++ b/dnn/src/rocm/elemwise_helper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megcore_cdefs.h" diff --git a/dnn/src/rocm/elemwise_helper.h.hip b/dnn/src/rocm/elemwise_helper.h.hip index a4e427b1..d788533f 100644 --- a/dnn/src/rocm/elemwise_helper.h.hip +++ b/dnn/src/rocm/elemwise_helper.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/elemwise_helper.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/error_info.h.hip b/dnn/src/rocm/error_info.h.hip index 1a189e4f..b2a05ad2 100644 --- a/dnn/src/rocm/error_info.h.hip +++ b/dnn/src/rocm/error_info.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/error_info.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/eye/eye.cpp.hip b/dnn/src/rocm/eye/eye.cpp.hip index 4aa01992..4b542f47 100644 --- a/dnn/src/rocm/eye/eye.cpp.hip +++ b/dnn/src/rocm/eye/eye.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/eye/eye.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/eye/eye.h.hip b/dnn/src/rocm/eye/eye.h.hip index 5c098cb6..0b55982c 100644 --- a/dnn/src/rocm/eye/eye.h.hip +++ b/dnn/src/rocm/eye/eye.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/eye/eye.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "hip_header.h" diff --git a/dnn/src/rocm/eye/opr_impl.cpp b/dnn/src/rocm/eye/opr_impl.cpp index a6c4dbb1..ab724c04 100644 --- a/dnn/src/rocm/eye/opr_impl.cpp +++ b/dnn/src/rocm/eye/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/eye/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/eye/opr_impl.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/eye/opr_impl.h b/dnn/src/rocm/eye/opr_impl.h index c7caddef..d4fdfec8 100644 --- a/dnn/src/rocm/eye/opr_impl.h +++ b/dnn/src/rocm/eye/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/eye/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/fill/fill.cpp.hip b/dnn/src/rocm/fill/fill.cpp.hip index 6c252827..1a820a4b 100644 --- a/dnn/src/rocm/fill/fill.cpp.hip +++ b/dnn/src/rocm/fill/fill.cpp.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/fill/fill.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/fill/fill.h.hip b/dnn/src/rocm/fill/fill.h.hip index 24b9ee01..8814c66e 100644 --- a/dnn/src/rocm/fill/fill.h.hip +++ b/dnn/src/rocm/fill/fill.h.hip @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/fill/fill.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "hip_header.h" diff --git a/dnn/src/rocm/fill/opr_impl.cpp b/dnn/src/rocm/fill/opr_impl.cpp index 0ce7228e..c97e2555 100644 --- a/dnn/src/rocm/fill/opr_impl.cpp +++ b/dnn/src/rocm/fill/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/fill/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/fill/opr_impl.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/fill/opr_impl.h b/dnn/src/rocm/fill/opr_impl.h index 6844c717..a3ea1ac1 100644 --- a/dnn/src/rocm/fill/opr_impl.h +++ b/dnn/src/rocm/fill/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/fill/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/handle.cpp b/dnn/src/rocm/handle.cpp index 4675350d..cf6b77bc 100644 --- a/dnn/src/rocm/handle.cpp +++ b/dnn/src/rocm/handle.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/common/handle_impl.h" diff --git a/dnn/src/rocm/handle.h b/dnn/src/rocm/handle.h index c5440cb6..505acf88 100644 --- a/dnn/src/rocm/handle.h +++ b/dnn/src/rocm/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/rocm/miopen_wrapper.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip b/dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip index 4da62916..ca47fe89 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip +++ b/dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/kern.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_fwd.cpp.hip b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_fwd.cpp.hip index 9fd821f1..7ba4e5f0 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_fwd.cpp.hip +++ b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_fwd.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_fwd.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_incr.cpp.hip b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_incr.cpp.hip index e728e86c..89bbafe3 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_incr.cpp.hip +++ b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_incr.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_incr.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_set.cpp.hip b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_set.cpp.hip index 8a406ea9..78a1cb1c 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_set.cpp.hip +++ b/dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_set.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/kern_apply_opr_set.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/kern_gen_offset_base.cpp.hip b/dnn/src/rocm/indexing_multi_axis_vec/kern_gen_offset_base.cpp.hip index 3eb03726..27f51927 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/kern_gen_offset_base.cpp.hip +++ b/dnn/src/rocm/indexing_multi_axis_vec/kern_gen_offset_base.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/kern_gen_offset_base.hip.cpp - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp b/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp index a788da76..b1419924 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp +++ b/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./kern.h.hip" diff --git a/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h b/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h index ccf939ed..fe7124d2 100644 --- a/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h +++ b/dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_multi_axis_vec/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/indexing_one_hot/indexing_one_hot.cpp.hip b/dnn/src/rocm/indexing_one_hot/indexing_one_hot.cpp.hip index 7687f4bb..e5376462 100644 --- a/dnn/src/rocm/indexing_one_hot/indexing_one_hot.cpp.hip +++ b/dnn/src/rocm/indexing_one_hot/indexing_one_hot.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_one_hot/indexing_one_hot.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./indexing_one_hot.h.hip" #include "src/rocm/elemwise_helper.h.hip" diff --git a/dnn/src/rocm/indexing_one_hot/indexing_one_hot.h.hip b/dnn/src/rocm/indexing_one_hot/indexing_one_hot.h.hip index 3ec327f1..54423bd3 100644 --- a/dnn/src/rocm/indexing_one_hot/indexing_one_hot.h.hip +++ b/dnn/src/rocm/indexing_one_hot/indexing_one_hot.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_one_hot/indexing_one_hot.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/rocm/error_info.h.hip" diff --git a/dnn/src/rocm/indexing_one_hot/opr_impl.cpp b/dnn/src/rocm/indexing_one_hot/opr_impl.cpp index 11fdfab8..1dc24007 100644 --- a/dnn/src/rocm/indexing_one_hot/opr_impl.cpp +++ b/dnn/src/rocm/indexing_one_hot/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_one_hot/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/indexing_one_hot/opr_impl.h b/dnn/src/rocm/indexing_one_hot/opr_impl.h index cd98862f..72a89102 100644 --- a/dnn/src/rocm/indexing_one_hot/opr_impl.h +++ b/dnn/src/rocm/indexing_one_hot/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/indexing_one_hot/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/int_fastdiv.cpp b/dnn/src/rocm/int_fastdiv.cpp index 6295883b..347dfcba 100644 --- a/dnn/src/rocm/int_fastdiv.cpp +++ b/dnn/src/rocm/int_fastdiv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/int_fastdiv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include diff --git a/dnn/src/rocm/int_fastdiv.h.hip b/dnn/src/rocm/int_fastdiv.h.hip index ed04a850..4b3317fb 100644 --- a/dnn/src/rocm/int_fastdiv.h.hip +++ b/dnn/src/rocm/int_fastdiv.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/int_fastdiv.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/common/utils.cuh" diff --git a/dnn/src/rocm/linspace/linspace.cpp.hip b/dnn/src/rocm/linspace/linspace.cpp.hip index c23c42d3..151dfad9 100644 --- a/dnn/src/rocm/linspace/linspace.cpp.hip +++ b/dnn/src/rocm/linspace/linspace.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/linspace/linspace.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./linspace.h.hip" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/linspace/linspace.h.hip b/dnn/src/rocm/linspace/linspace.h.hip index 266ee6cd..fb0ae80d 100644 --- a/dnn/src/rocm/linspace/linspace.h.hip +++ b/dnn/src/rocm/linspace/linspace.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/linspace/linspace.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hip_header.h" namespace megdnn { diff --git a/dnn/src/rocm/linspace/opr_impl.cpp b/dnn/src/rocm/linspace/opr_impl.cpp index 738a70c6..627000cf 100644 --- a/dnn/src/rocm/linspace/opr_impl.cpp +++ b/dnn/src/rocm/linspace/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/linspace/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/linspace/opr_impl.h b/dnn/src/rocm/linspace/opr_impl.h index e878361b..cc82a236 100644 --- a/dnn/src/rocm/linspace/opr_impl.h +++ b/dnn/src/rocm/linspace/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/linspace/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/matrix_mul/algos.cpp b/dnn/src/rocm/matrix_mul/algos.cpp index 8d5aed73..84f0bfda 100644 --- a/dnn/src/rocm/matrix_mul/algos.cpp +++ b/dnn/src/rocm/matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/rocm/matrix_mul/algos.h" #include "src/common/algo_base.h" diff --git a/dnn/src/rocm/matrix_mul/algos.h b/dnn/src/rocm/matrix_mul/algos.h index 84e72dec..16f4e499 100644 --- a/dnn/src/rocm/matrix_mul/algos.h +++ b/dnn/src/rocm/matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/oprs.h" #include "src/common/algo_base.h" diff --git a/dnn/src/rocm/matrix_mul/blas.cpp b/dnn/src/rocm/matrix_mul/blas.cpp index 238d2715..978debf1 100644 --- a/dnn/src/rocm/matrix_mul/blas.cpp +++ b/dnn/src/rocm/matrix_mul/blas.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/matrix_mul/Blas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/rocm/matrix_mul/algos.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/matrix_mul/opr_impl.cpp b/dnn/src/rocm/matrix_mul/opr_impl.cpp index 2851675c..11b278bb 100644 --- a/dnn/src/rocm/matrix_mul/opr_impl.cpp +++ b/dnn/src/rocm/matrix_mul/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/matrix_mul/opr_impl.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/matrix_mul/opr_impl.h b/dnn/src/rocm/matrix_mul/opr_impl.h index a5995ffa..de8f9484 100644 --- a/dnn/src/rocm/matrix_mul/opr_impl.h +++ b/dnn/src/rocm/matrix_mul/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/megcore/computing_context.hpp b/dnn/src/rocm/megcore/computing_context.hpp index 7d6cbd72..158a5aac 100644 --- a/dnn/src/rocm/megcore/computing_context.hpp +++ b/dnn/src/rocm/megcore/computing_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/computing_context.hpp" diff --git a/dnn/src/rocm/megcore/device_context.hpp b/dnn/src/rocm/megcore/device_context.hpp index b16e044c..dba0a74f 100644 --- a/dnn/src/rocm/megcore/device_context.hpp +++ b/dnn/src/rocm/megcore/device_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/device_context.hpp" diff --git a/dnn/src/rocm/megcore/public_api/computing.cpp b/dnn/src/rocm/megcore/public_api/computing.cpp index 11adb0e3..bc528527 100644 --- a/dnn/src/rocm/megcore/public_api/computing.cpp +++ b/dnn/src/rocm/megcore/public_api/computing.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/public_api/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megcore_rocm.h" diff --git a/dnn/src/rocm/megcore/rocm_computing_context.cpp b/dnn/src/rocm/megcore/rocm_computing_context.cpp index a6161621..34869ff2 100644 --- a/dnn/src/rocm/megcore/rocm_computing_context.cpp +++ b/dnn/src/rocm/megcore/rocm_computing_context.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/rocm_computing_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megcore.h" diff --git a/dnn/src/rocm/megcore/rocm_computing_context.hpp b/dnn/src/rocm/megcore/rocm_computing_context.hpp index 1f1fe14f..9f5888ec 100644 --- a/dnn/src/rocm/megcore/rocm_computing_context.hpp +++ b/dnn/src/rocm/megcore/rocm_computing_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/rocm_computing_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/computing_context.hpp" diff --git a/dnn/src/rocm/megcore/rocm_device_context.cpp b/dnn/src/rocm/megcore/rocm_device_context.cpp index 447ff87b..d5137737 100644 --- a/dnn/src/rocm/megcore/rocm_device_context.cpp +++ b/dnn/src/rocm/megcore/rocm_device_context.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/rocm_device_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./device_context.hpp" diff --git a/dnn/src/rocm/megcore/rocm_device_context.hpp b/dnn/src/rocm/megcore/rocm_device_context.hpp index 9e563bc6..2bdff0f2 100644 --- a/dnn/src/rocm/megcore/rocm_device_context.hpp +++ b/dnn/src/rocm/megcore/rocm_device_context.hpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/megcore/rocm_device_context.hpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/megcore/common/device_context.hpp" diff --git a/dnn/src/rocm/miopen_with_check.h b/dnn/src/rocm/miopen_with_check.h index 67be2336..d49fc2a2 100644 --- a/dnn/src/rocm/miopen_with_check.h +++ b/dnn/src/rocm/miopen_with_check.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/miopen_with_check.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/miopen_wrapper.cpp b/dnn/src/rocm/miopen_wrapper.cpp index 42fc1f36..fa34fc59 100644 --- a/dnn/src/rocm/miopen_wrapper.cpp +++ b/dnn/src/rocm/miopen_wrapper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/miopen_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/miopen_wrapper.h" #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/src/rocm/miopen_wrapper.h b/dnn/src/rocm/miopen_wrapper.h index 482febcb..d89f2a1d 100644 --- a/dnn/src/rocm/miopen_wrapper.h +++ b/dnn/src/rocm/miopen_wrapper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/miopen_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/src/rocm/param_pack/opr_impl.cpp b/dnn/src/rocm/param_pack/opr_impl.cpp index 2f4454ab..37cae7c3 100644 --- a/dnn/src/rocm/param_pack/opr_impl.cpp +++ b/dnn/src/rocm/param_pack/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/param_pack/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/rocm/param_pack/opr_impl.h" #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/param_pack/param_pack.h.hip" diff --git a/dnn/src/rocm/param_pack/opr_impl.h b/dnn/src/rocm/param_pack/opr_impl.h index df9a0ba2..6e72831c 100644 --- a/dnn/src/rocm/param_pack/opr_impl.h +++ b/dnn/src/rocm/param_pack/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/param_pack/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/param_pack/param_pack.cpp.hip b/dnn/src/rocm/param_pack/param_pack.cpp.hip index 7567a14b..afe03b80 100644 --- a/dnn/src/rocm/param_pack/param_pack.cpp.hip +++ b/dnn/src/rocm/param_pack/param_pack.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/param_pack/param_pack.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/param_pack/param_pack.h.hip" #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/param_pack/param_pack.h.hip b/dnn/src/rocm/param_pack/param_pack.h.hip index 511f454e..ff640e2b 100644 --- a/dnn/src/rocm/param_pack/param_pack.h.hip +++ b/dnn/src/rocm/param_pack/param_pack.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/param_pack/param_pack.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/pooling/algo.cpp b/dnn/src/rocm/pooling/algo.cpp index 3aeeee5a..1b74d44b 100644 --- a/dnn/src/rocm/pooling/algo.cpp +++ b/dnn/src/rocm/pooling/algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/pooling/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./algo.h" #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/utils.h" diff --git a/dnn/src/rocm/pooling/algo.h b/dnn/src/rocm/pooling/algo.h index 9e3fc89e..1d2df398 100644 --- a/dnn/src/rocm/pooling/algo.h +++ b/dnn/src/rocm/pooling/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/pooling/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/rocm/pooling/opr_impl.cpp b/dnn/src/rocm/pooling/opr_impl.cpp index 0738e0e3..f713d21d 100644 --- a/dnn/src/rocm/pooling/opr_impl.cpp +++ b/dnn/src/rocm/pooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/pooling/opr_impl.h" #include "./algo.h" #include "hcc_detail/hcc_defs_prologue.h" diff --git a/dnn/src/rocm/pooling/opr_impl.h b/dnn/src/rocm/pooling/opr_impl.h index d29b5ac2..2a0c77b0 100644 --- a/dnn/src/rocm/pooling/opr_impl.h +++ b/dnn/src/rocm/pooling/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/powc/opr_impl.cpp b/dnn/src/rocm/powc/opr_impl.cpp index 57823404..d233b3eb 100644 --- a/dnn/src/rocm/powc/opr_impl.cpp +++ b/dnn/src/rocm/powc/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/powc/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/powc/opr_impl.h b/dnn/src/rocm/powc/opr_impl.h index 1cf02b36..ccdaa46c 100644 --- a/dnn/src/rocm/powc/opr_impl.h +++ b/dnn/src/rocm/powc/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/powc/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/rocm/powc/powc.cpp.hip b/dnn/src/rocm/powc/powc.cpp.hip index f4783b6e..22cc8343 100644 --- a/dnn/src/rocm/powc/powc.cpp.hip +++ b/dnn/src/rocm/powc/powc.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/powc/powc.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/powc/powc.h.hip" #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/powc/powc.h.hip b/dnn/src/rocm/powc/powc.h.hip index fc6c45b8..a29dfadf 100644 --- a/dnn/src/rocm/powc/powc.h.hip +++ b/dnn/src/rocm/powc/powc.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/powc/powc.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hip_header.h" #include "megdnn/basic_types.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/reduce/opr_impl.cpp b/dnn/src/rocm/reduce/opr_impl.cpp index 9530f641..5f549cb7 100644 --- a/dnn/src/rocm/reduce/opr_impl.cpp +++ b/dnn/src/rocm/reduce/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/reduce/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/reduce/opr_impl.h" diff --git a/dnn/src/rocm/reduce/opr_impl.h b/dnn/src/rocm/reduce/opr_impl.h index d600f8fa..c47f2bbc 100644 --- a/dnn/src/rocm/reduce/opr_impl.h +++ b/dnn/src/rocm/reduce/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/reduce/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/reduce/reduce.cpp.hip b/dnn/src/rocm/reduce/reduce.cpp.hip index a6f8d59a..eb26367c 100644 --- a/dnn/src/rocm/reduce/reduce.cpp.hip +++ b/dnn/src/rocm/reduce/reduce.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/reduce/reduce.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" #include "src/common/reduce_helper_device.h" diff --git a/dnn/src/rocm/reduce_helper.h.hip b/dnn/src/rocm/reduce_helper.h.hip index b1bcd471..b1d8e87e 100644 --- a/dnn/src/rocm/reduce_helper.h.hip +++ b/dnn/src/rocm/reduce_helper.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/reduce_helper.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/relayout/opr_impl.cpp b/dnn/src/rocm/relayout/opr_impl.cpp index ffb727bc..3ec5428c 100644 --- a/dnn/src/rocm/relayout/opr_impl.cpp +++ b/dnn/src/rocm/relayout/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/relayout/relayout.h.hip" diff --git a/dnn/src/rocm/relayout/opr_impl.h b/dnn/src/rocm/relayout/opr_impl.h index 8e074f79..8dd29586 100644 --- a/dnn/src/rocm/relayout/opr_impl.h +++ b/dnn/src/rocm/relayout/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/relayout/relayout.cpp.hip b/dnn/src/rocm/relayout/relayout.cpp.hip index 376bfe09..929a91e5 100644 --- a/dnn/src/rocm/relayout/relayout.cpp.hip +++ b/dnn/src/rocm/relayout/relayout.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/relayout.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./relayout.h.hip" #include "megdnn/basic_types.h" diff --git a/dnn/src/rocm/relayout/relayout.h.hip b/dnn/src/rocm/relayout/relayout.h.hip index 6860fea6..ae902a01 100644 --- a/dnn/src/rocm/relayout/relayout.h.hip +++ b/dnn/src/rocm/relayout/relayout.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/relayout.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/relayout/relayout_contiguous.cpp b/dnn/src/rocm/relayout/relayout_contiguous.cpp index c8ac61d7..e2fdbd6a 100644 --- a/dnn/src/rocm/relayout/relayout_contiguous.cpp +++ b/dnn/src/rocm/relayout/relayout_contiguous.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/relayout_contiguous.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "src/common/utils.h" diff --git a/dnn/src/rocm/relayout/relayout_contiguous.cpp.hip b/dnn/src/rocm/relayout/relayout_contiguous.cpp.hip index d3c7781a..4bddcb17 100644 --- a/dnn/src/rocm/relayout/relayout_contiguous.cpp.hip +++ b/dnn/src/rocm/relayout/relayout_contiguous.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/kern_contiguous.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./relayout_contiguous.h.hip" diff --git a/dnn/src/rocm/relayout/relayout_contiguous.h.hip b/dnn/src/rocm/relayout/relayout_contiguous.h.hip index 23f16803..bb2552c8 100644 --- a/dnn/src/rocm/relayout/relayout_contiguous.h.hip +++ b/dnn/src/rocm/relayout/relayout_contiguous.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/relayout/relayout_contiguous.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/rng/opr_impl.cpp b/dnn/src/rocm/rng/opr_impl.cpp index 35ffca06..c48cf227 100644 --- a/dnn/src/rocm/rng/opr_impl.cpp +++ b/dnn/src/rocm/rng/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/rng/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/rng/opr_impl.h b/dnn/src/rocm/rng/opr_impl.h index d8f11212..14693ca5 100644 --- a/dnn/src/rocm/rng/opr_impl.h +++ b/dnn/src/rocm/rng/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/rng/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/rocm/rocblas_header.h b/dnn/src/rocm/rocblas_header.h index b8fb6835..c790048b 100644 --- a/dnn/src/rocm/rocblas_header.h +++ b/dnn/src/rocm/rocblas_header.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/rocblas_header.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #pragma GCC diagnostic push diff --git a/dnn/src/rocm/sleep/kern.cpp.hip b/dnn/src/rocm/sleep/kern.cpp.hip index bf8e757c..ae7b6a30 100644 --- a/dnn/src/rocm/sleep/kern.cpp.hip +++ b/dnn/src/rocm/sleep/kern.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/sleep/kern.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "hip_header.h" diff --git a/dnn/src/rocm/sleep/kern.h.hip b/dnn/src/rocm/sleep/kern.h.hip index 6e413026..0165254f 100644 --- a/dnn/src/rocm/sleep/kern.h.hip +++ b/dnn/src/rocm/sleep/kern.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/sleep/kern.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "hip_header.h" diff --git a/dnn/src/rocm/sleep/opr_impl.cpp b/dnn/src/rocm/sleep/opr_impl.cpp index 4d724797..9b3bb579 100644 --- a/dnn/src/rocm/sleep/opr_impl.cpp +++ b/dnn/src/rocm/sleep/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/sleep/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./kern.h.hip" diff --git a/dnn/src/rocm/sleep/opr_impl.h b/dnn/src/rocm/sleep/opr_impl.h index ef98ae7b..790b9748 100644 --- a/dnn/src/rocm/sleep/opr_impl.h +++ b/dnn/src/rocm/sleep/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/sleep/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/topk/opr_impl.cpp b/dnn/src/rocm/topk/opr_impl.cpp index 4676cc3d..0310fa39 100644 --- a/dnn/src/rocm/topk/opr_impl.cpp +++ b/dnn/src/rocm/topk/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/topk/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "./topk_radix.h.hip" #include "src/common/utils.h" diff --git a/dnn/src/rocm/topk/opr_impl.h b/dnn/src/rocm/topk/opr_impl.h index 78cee3b0..f65b1eed 100644 --- a/dnn/src/rocm/topk/opr_impl.h +++ b/dnn/src/rocm/topk/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/topk/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs/general.h" diff --git a/dnn/src/rocm/topk/topk_radix.cpp.hip b/dnn/src/rocm/topk/topk_radix.cpp.hip index a26b3351..56d6d221 100644 --- a/dnn/src/rocm/topk/topk_radix.cpp.hip +++ b/dnn/src/rocm/topk/topk_radix.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/topk/topk_radix.cpp.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./topk_radix.h.hip" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/topk/topk_radix.h.hip b/dnn/src/rocm/topk/topk_radix.h.hip index 8255bc6c..dcf598d5 100644 --- a/dnn/src/rocm/topk/topk_radix.h.hip +++ b/dnn/src/rocm/topk/topk_radix.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/topk/topk_radix.h.hip - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/rocm/utils.h.hip" #include diff --git a/dnn/src/rocm/type_cvt/opr_impl.cpp b/dnn/src/rocm/type_cvt/opr_impl.cpp index b4443392..df9918df 100644 --- a/dnn/src/rocm/type_cvt/opr_impl.cpp +++ b/dnn/src/rocm/type_cvt/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./opr_impl.h" diff --git a/dnn/src/rocm/type_cvt/opr_impl.h b/dnn/src/rocm/type_cvt/opr_impl.h index 19d274b0..aa300fe4 100644 --- a/dnn/src/rocm/type_cvt/opr_impl.h +++ b/dnn/src/rocm/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/src/rocm/type_cvt/type_cvt.cpp.hip b/dnn/src/rocm/type_cvt/type_cvt.cpp.hip index 8571e576..b248ce59 100644 --- a/dnn/src/rocm/type_cvt/type_cvt.cpp.hip +++ b/dnn/src/rocm/type_cvt/type_cvt.cpp.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/type_cvt/type_cvt.cpp.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./type_cvt.h.hip" #include "megdnn/dtype.h" diff --git a/dnn/src/rocm/type_cvt/type_cvt.h.hip b/dnn/src/rocm/type_cvt/type_cvt.h.hip index 6870cc07..b2073003 100644 --- a/dnn/src/rocm/type_cvt/type_cvt.h.hip +++ b/dnn/src/rocm/type_cvt/type_cvt.h.hip @@ -1,15 +1,3 @@ -/** - * \file dnn/src/rocm/type_cvt/type_cvt.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hip_header.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/rocm/utils.cpp b/dnn/src/rocm/utils.cpp index f49baca4..259ce8d8 100644 --- a/dnn/src/rocm/utils.cpp +++ b/dnn/src/rocm/utils.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/rocm/utils.h" #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/utils.h.hip" diff --git a/dnn/src/rocm/utils.h b/dnn/src/rocm/utils.h index b5475397..5239a1dc 100644 --- a/dnn/src/rocm/utils.h +++ b/dnn/src/rocm/utils.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/rocm/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore_cdefs.h" diff --git a/dnn/src/rocm/utils.h.hip b/dnn/src/rocm/utils.h.hip index 22533b6a..72e3c967 100644 --- a/dnn/src/rocm/utils.h.hip +++ b/dnn/src/rocm/utils.h.hip @@ -1,14 +1,3 @@ -/** - * \file dnn/src/rocm/utils.h.hip - * - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/utils.cuh" diff --git a/dnn/src/x86/add_update/opr_impl.cpp b/dnn/src/x86/add_update/opr_impl.cpp index bfb67e15..5b7829d9 100644 --- a/dnn/src/x86/add_update/opr_impl.cpp +++ b/dnn/src/x86/add_update/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/add_update/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/fallback/add_update/opr_impl.h" diff --git a/dnn/src/x86/add_update/opr_impl.h b/dnn/src/x86/add_update/opr_impl.h index 07e3a05f..4fa0ee15 100644 --- a/dnn/src/x86/add_update/opr_impl.h +++ b/dnn/src/x86/add_update/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/add_update/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/add_update/opr_impl.h" diff --git a/dnn/src/x86/avx_helper.h b/dnn/src/x86/avx_helper.h index 9171733d..2023eebf 100644 --- a/dnn/src/x86/avx_helper.h +++ b/dnn/src/x86/avx_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/avx_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/x86/conv_bias/f32/algos.cpp b/dnn/src/x86/conv_bias/f32/algos.cpp index 33f3d333..6a6ad8c8 100644 --- a/dnn/src/x86/conv_bias/f32/algos.cpp +++ b/dnn/src/x86/conv_bias/f32/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/f32/algos.h" #include #include "src/common/opr_delegate.h" diff --git a/dnn/src/x86/conv_bias/f32/algos.h b/dnn/src/x86/conv_bias/f32/algos.h index 8d2b0967..ce12eab9 100644 --- a/dnn/src/x86/conv_bias/f32/algos.h +++ b/dnn/src/x86/conv_bias/f32/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/common/nchw_nchwxx_valid.h" #include "src/x86/conv_bias/opr_impl.h" diff --git a/dnn/src/x86/conv_bias/f32/do_conv_stride2.h b/dnn/src/x86/conv_bias/f32/do_conv_stride2.h index b3acde43..b79633a1 100644 --- a/dnn/src/x86/conv_bias/f32/do_conv_stride2.h +++ b/dnn/src/x86/conv_bias/f32/do_conv_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/do_conv_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once // clang-format off #include "src/x86/simd_macro/sse_helper.h" diff --git a/dnn/src/x86/conv_bias/f32/strategy.h b/dnn/src/x86/conv_bias/f32/strategy.h index 38e95e0d..743de962 100644 --- a/dnn/src/x86/conv_bias/f32/strategy.h +++ b/dnn/src/x86/conv_bias/f32/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/conv_bias/winograd/winograd.h" diff --git a/dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp b/dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp index a74a57c8..38e177de 100644 --- a/dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp +++ b/dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/strategy_2x3_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp b/dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp index 6eae44e6..283742f7 100644 --- a/dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp +++ b/dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/strategy_6x3_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/unroll_macro.h" #include "src/common/utils.h" #include "src/common/winograd/winograd_helper.h" diff --git a/dnn/src/x86/conv_bias/f32/winograd_algo.cpp b/dnn/src/x86/conv_bias/f32/winograd_algo.cpp index 8987c9ab..fb52a074 100644 --- a/dnn/src/x86/conv_bias/f32/winograd_algo.cpp +++ b/dnn/src/x86/conv_bias/f32/winograd_algo.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/f32/winograd_algo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/utils.h" #include "src/x86/conv_bias/f32/algos.h" #include "src/x86/conv_bias/f32/strategy.h" diff --git a/dnn/src/x86/conv_bias/int8/algo_usable_preferred.cpp b/dnn/src/x86/conv_bias/int8/algo_usable_preferred.cpp index 8612c4b7..ddc3f9aa 100644 --- a/dnn/src/x86/conv_bias/int8/algo_usable_preferred.cpp +++ b/dnn/src/x86/conv_bias/int8/algo_usable_preferred.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/algo_usable_preferred.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/int8/algo_usable_preferred.h" #include "src/x86/utils.h" diff --git a/dnn/src/x86/conv_bias/int8/algo_usable_preferred.h b/dnn/src/x86/conv_bias/int8/algo_usable_preferred.h index a897619b..393c6112 100644 --- a/dnn/src/x86/conv_bias/int8/algo_usable_preferred.h +++ b/dnn/src/x86/conv_bias/int8/algo_usable_preferred.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/algo_usable_preferred.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/x86/conv_bias/int8/algos.cpp b/dnn/src/x86/conv_bias/int8/algos.cpp index 77f55b0b..535cffa0 100644 --- a/dnn/src/x86/conv_bias/int8/algos.cpp +++ b/dnn/src/x86/conv_bias/int8/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/int8/algos.h" #include "src/common/opr_delegate.h" #include "src/common/utils.h" diff --git a/dnn/src/x86/conv_bias/int8/algos.h b/dnn/src/x86/conv_bias/int8/algos.h index 843a95e1..81ee5db4 100644 --- a/dnn/src/x86/conv_bias/int8/algos.h +++ b/dnn/src/x86/conv_bias/int8/algos.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/x86/conv_bias/opr_impl.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.cpp b/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.cpp index 3edb0852..d7428417 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.cpp +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.cpp @@ -1,15 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwise_kern.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/int8/avx2_chanwise_kern.h" #include #include "src/common/unroll_macro.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.h b/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.h index 006c80ea..58c12bca 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.h +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_kern.h @@ -1,14 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwsie_kern.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/x86/conv_bias/opr_impl.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.cpp b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.cpp index b9d968f3..d3f6637a 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.cpp +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.cpp @@ -1,15 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwsie_stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/int8/avx2_chanwise_stride1.h" #include "src/x86/conv_bias/int8/avx2_chanwise_kern.h" #include "src/x86/elemwise_op.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.h b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.h index d01610a8..62172481 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.h +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride1.h @@ -1,14 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwsie_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/x86/conv_bias/int8/common_helper.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.cpp b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.cpp index 1e96ad4e..ed5f7ae2 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.cpp +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.cpp @@ -1,15 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwsie_stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/int8/avx2_chanwise_stride2.h" #include "src/x86/conv_bias/int8/avx2_chanwise_kern.h" #include "src/x86/elemwise_op.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.h b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.h index d59a1fd1..ada802e1 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.h +++ b/dnn/src/x86/conv_bias/int8/avx2_chanwise_stride2.h @@ -1,14 +1,3 @@ -/** - * \file src/x86/conv_bias/int8/avx2_chanwsie_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/x86/conv_bias/int8/common_helper.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.cpp b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.cpp index 0f831710..b6aab4cf 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.cpp +++ b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/x86/conv_bias/int8/avx2_direct_conv_stride1.h" #include "src/x86/conv_bias/int8/common_helper.h" #include "src/x86/conv_bias/postprocess_helper.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.h b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.h index 3c137031..073e93fb 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.h +++ b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/conv_bias/opr_impl.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.cpp b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.cpp index 176ec063..adc3078e 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.cpp +++ b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/x86/conv_bias/int8/avx2_direct_conv_stride2.h" #include "src/x86/conv_bias/int8/common_helper.h" #include "src/x86/conv_bias/postprocess_helper.h" diff --git a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.h b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.h index b705c01a..716ad811 100644 --- a/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.h +++ b/dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/avx2_direct_conv_stride2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/conv_bias/opr_impl.h" diff --git a/dnn/src/x86/conv_bias/int8/chanwise_helper.h b/dnn/src/x86/conv_bias/int8/chanwise_helper.h index 35553e4c..41b3c659 100644 --- a/dnn/src/x86/conv_bias/int8/chanwise_helper.h +++ b/dnn/src/x86/conv_bias/int8/chanwise_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/chainwise_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/arch.h" diff --git a/dnn/src/x86/conv_bias/int8/common_helper.h b/dnn/src/x86/conv_bias/int8/common_helper.h index 1969f8a6..0d3d3d40 100644 --- a/dnn/src/x86/conv_bias/int8/common_helper.h +++ b/dnn/src/x86/conv_bias/int8/common_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/int8/common_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/src/x86/conv_bias/opr_impl.cpp b/dnn/src/x86/conv_bias/opr_impl.cpp index e305e753..e6fc6f00 100644 --- a/dnn/src/x86/conv_bias/opr_impl.cpp +++ b/dnn/src/x86/conv_bias/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/conv_bias/opr_impl.h" #include #include diff --git a/dnn/src/x86/conv_bias/opr_impl.h b/dnn/src/x86/conv_bias/opr_impl.h index d43496dc..d3c71b9d 100644 --- a/dnn/src/x86/conv_bias/opr_impl.h +++ b/dnn/src/x86/conv_bias/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/x86/conv_bias/postprocess_helper.h b/dnn/src/x86/conv_bias/postprocess_helper.h index 516c3673..1b6a82e5 100644 --- a/dnn/src/x86/conv_bias/postprocess_helper.h +++ b/dnn/src/x86/conv_bias/postprocess_helper.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/conv_bias/postprocess_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/opr_param_defs.h" diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh1_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh1_avx.cpp index d161a655..3a7524dd 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh1_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh1_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh1_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh2_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh2_avx.cpp index 16a43b20..8bac5cc5 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh2_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh2_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh2_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh3_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh3_avx.cpp index ec10545a..51c07945 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh3_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh3_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh3_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh4_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh4_avx.cpp index 594e7d53..8fdc1d58 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh4_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh4_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh4_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh5_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh5_avx.cpp index 72fd777d..907c04ed 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh5_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh5_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh5_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh6_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh6_avx.cpp index ed8865a6..e60189f5 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh6_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh6_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh6_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_conv_fh7_avx.cpp b/dnn/src/x86/convolution/avx/convolution_conv_fh7_avx.cpp index 7f4bba1a..673a602d 100644 --- a/dnn/src/x86/convolution/avx/convolution_conv_fh7_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_conv_fh7_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_conv_fh7_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh1_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh1_avx.cpp index 68f7a8b1..34f69d91 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh1_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh1_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh1_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh2_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh2_avx.cpp index d115d65f..ccdbee0a 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh2_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh2_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh2_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp index ba49d249..4d869fa6 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh3_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh4_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh4_avx.cpp index ddc97736..e17712f0 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh4_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh4_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh4_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh5_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh5_avx.cpp index 1924b0a5..4fc2dece 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh5_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh5_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh5_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh6_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh6_avx.cpp index 454e4349..bc6054e0 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh6_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh6_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh6_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/avx/convolution_xcorr_fh7_avx.cpp b/dnn/src/x86/convolution/avx/convolution_xcorr_fh7_avx.cpp index ec7705d4..31353db0 100644 --- a/dnn/src/x86/convolution/avx/convolution_xcorr_fh7_avx.cpp +++ b/dnn/src/x86/convolution/avx/convolution_xcorr_fh7_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/avx/convolution_xcorr_fh7_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/convolution_direct_special_cases.h b/dnn/src/x86/convolution/convolution_direct_special_cases.h index e50da002..baf726f7 100644 --- a/dnn/src/x86/convolution/convolution_direct_special_cases.h +++ b/dnn/src/x86/convolution/convolution_direct_special_cases.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/convolution_direct_special_cases.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh1_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh1_fma.cpp index 045bb416..1536d34f 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh1_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh1_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh1_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp index 1f98b7df..fc966a86 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh2_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh3_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh3_fma.cpp index 80a358c8..5426fa44 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh3_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh3_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh3_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh4_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh4_fma.cpp index e7fb9d1b..47780259 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh4_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh4_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh4_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh5_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh5_fma.cpp index 00be3dc2..059f6e49 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh5_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh5_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh5_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh6_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh6_fma.cpp index 6ae0260b..b1d9858e 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh6_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh6_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh6_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_conv_fh7_fma.cpp b/dnn/src/x86/convolution/fma/convolution_conv_fh7_fma.cpp index 44975dd3..b8a1a46b 100644 --- a/dnn/src/x86/convolution/fma/convolution_conv_fh7_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_conv_fh7_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_conv_fh7_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh1_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh1_fma.cpp index c1fd8b4c..c9b665bb 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh1_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh1_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh1_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh2_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh2_fma.cpp index 0970785c..ccf77766 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh2_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh2_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh2_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh3_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh3_fma.cpp index 24629c8d..7df3874a 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh3_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh3_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh3_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh4_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh4_fma.cpp index 29b0ca5d..866ea7a8 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh4_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh4_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh4_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh5_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh5_fma.cpp index 66d093ca..bccea77c 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh5_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh5_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh5_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh6_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh6_fma.cpp index 6cb6a15c..96724a37 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh6_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh6_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh6_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/fma/convolution_xcorr_fh7_fma.cpp b/dnn/src/x86/convolution/fma/convolution_xcorr_fh7_fma.cpp index 75940f07..a369a4e0 100644 --- a/dnn/src/x86/convolution/fma/convolution_xcorr_fh7_fma.cpp +++ b/dnn/src/x86/convolution/fma/convolution_xcorr_fh7_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/fma/convolution_xcorr_fh7_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh1_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh1_sse.cpp index 2a735971..705512a9 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh1_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh1_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh1_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh2_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh2_sse.cpp index 427f2476..5e4a03a8 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh2_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh2_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh2_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh3_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh3_sse.cpp index 97cf7790..fe41806a 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh3_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh3_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh3_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh4_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh4_sse.cpp index d77d1e5f..d7c57024 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh4_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh4_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh4_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh5_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh5_sse.cpp index 1ecb8b18..be30a6d2 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh5_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh5_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh5_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh6_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh6_sse.cpp index b24aa721..cd12c489 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh6_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh6_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh6_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_conv_fh7_sse.cpp b/dnn/src/x86/convolution/sse/convolution_conv_fh7_sse.cpp index e36c2c27..eba8f4e5 100644 --- a/dnn/src/x86/convolution/sse/convolution_conv_fh7_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_conv_fh7_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_conv_fh7_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh1_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh1_sse.cpp index 58d14c4d..db90660b 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh1_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh1_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh1_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh2_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh2_sse.cpp index a667c2a2..283b0677 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh2_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh2_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh2_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh3_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh3_sse.cpp index 4aee49ed..da4aad7d 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh3_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh3_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh3_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh4_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh4_sse.cpp index b09a24fe..0b030c48 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh4_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh4_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh4_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh5_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh5_sse.cpp index 3ac18530..06fa97c6 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh5_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh5_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh5_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh6_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh6_sse.cpp index 991042e2..799c09ac 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh6_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh6_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh6_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/convolution/sse/convolution_xcorr_fh7_sse.cpp b/dnn/src/x86/convolution/sse/convolution_xcorr_fh7_sse.cpp index 3cef70ec..94dd748f 100644 --- a/dnn/src/x86/convolution/sse/convolution_xcorr_fh7_sse.cpp +++ b/dnn/src/x86/convolution/sse/convolution_xcorr_fh7_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/convolution/sse/convolution_xcorr_fh7_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #define SIMD_H1 \ do { \ const size_t sh = dh; \ diff --git a/dnn/src/x86/cvt_color/opr_impl.h b/dnn/src/x86/cvt_color/opr_impl.h index 1eeb23e3..dfbe4d36 100644 --- a/dnn/src/x86/cvt_color/opr_impl.h +++ b/dnn/src/x86/cvt_color/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/cvt_color/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/naive/cvt_color/opr_impl.h" diff --git a/dnn/src/x86/elemwise/avx_util/avx_mathfun.h b/dnn/src/x86/elemwise/avx_util/avx_mathfun.h index 2c829b1c..42999777 100644 --- a/dnn/src/x86/elemwise/avx_util/avx_mathfun.h +++ b/dnn/src/x86/elemwise/avx_util/avx_mathfun.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/avx_util/avx_mathfun.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/arch.h" diff --git a/dnn/src/x86/elemwise/avx_util/avx_util.cpp b/dnn/src/x86/elemwise/avx_util/avx_util.cpp index 67deada3..99c70649 100644 --- a/dnn/src/x86/elemwise/avx_util/avx_util.cpp +++ b/dnn/src/x86/elemwise/avx_util/avx_util.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/avx_util/avx_util.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include #include diff --git a/dnn/src/x86/elemwise/avx_util/avx_util.h b/dnn/src/x86/elemwise/avx_util/avx_util.h index 6d128fcf..cdda742a 100644 --- a/dnn/src/x86/elemwise/avx_util/avx_util.h +++ b/dnn/src/x86/elemwise/avx_util/avx_util.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/avx_util/avx_util.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/x86/elemwise/fma_util/fma_util.cpp b/dnn/src/x86/elemwise/fma_util/fma_util.cpp index 0ea9e5b1..17f0c920 100644 --- a/dnn/src/x86/elemwise/fma_util/fma_util.cpp +++ b/dnn/src/x86/elemwise/fma_util/fma_util.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/fma_util/fma_util.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #ifdef WIN32 #include diff --git a/dnn/src/x86/elemwise/fma_util/fma_util.h b/dnn/src/x86/elemwise/fma_util/fma_util.h index 39eec97e..220cff2b 100644 --- a/dnn/src/x86/elemwise/fma_util/fma_util.h +++ b/dnn/src/x86/elemwise/fma_util/fma_util.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/fma_util/fma_util.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" #include "megdnn/basic_types.h" diff --git a/dnn/src/x86/elemwise/opr_impl.cpp b/dnn/src/x86/elemwise/opr_impl.cpp index 8a490467..62d073db 100644 --- a/dnn/src/x86/elemwise/opr_impl.cpp +++ b/dnn/src/x86/elemwise/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/x86/elemwise/opr_impl.h" #include "src/x86/elemwise_op.h" #include "src/x86/utils.h" diff --git a/dnn/src/x86/elemwise/opr_impl.h b/dnn/src/x86/elemwise/opr_impl.h index 591bb8cc..ae487d98 100644 --- a/dnn/src/x86/elemwise/opr_impl.h +++ b/dnn/src/x86/elemwise/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/elemwise/opr_impl.h" diff --git a/dnn/src/x86/elemwise/sse_util/sse_mathfun.h b/dnn/src/x86/elemwise/sse_util/sse_mathfun.h index 1afd8070..fae25269 100644 --- a/dnn/src/x86/elemwise/sse_util/sse_mathfun.h +++ b/dnn/src/x86/elemwise/sse_util/sse_mathfun.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/sse_util/sse_mathfun.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/arch.h" diff --git a/dnn/src/x86/elemwise/sse_util/sse_util.cpp b/dnn/src/x86/elemwise/sse_util/sse_util.cpp index e4a332db..fc33e072 100644 --- a/dnn/src/x86/elemwise/sse_util/sse_util.cpp +++ b/dnn/src/x86/elemwise/sse_util/sse_util.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/sse_util/sse_util.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/elemwise/sse_util/sse_util.h" #include "src/x86/elemwise/sse_util/sse_mathfun.h" diff --git a/dnn/src/x86/elemwise/sse_util/sse_util.h b/dnn/src/x86/elemwise/sse_util/sse_util.h index 07c34677..95150cc8 100644 --- a/dnn/src/x86/elemwise/sse_util/sse_util.h +++ b/dnn/src/x86/elemwise/sse_util/sse_util.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/elemwise/sse_util/sse_util.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/basic_types.h" namespace megdnn { diff --git a/dnn/src/x86/elemwise_helper/kimpl/abs.h b/dnn/src/x86/elemwise_helper/kimpl/abs.h index 47e13241..01525987 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/abs.h +++ b/dnn/src/x86/elemwise_helper/kimpl/abs.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/abs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/add.h b/dnn/src/x86/elemwise_helper/kimpl/add.h index 83a5924e..b16ac88b 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/add.h +++ b/dnn/src/x86/elemwise_helper/kimpl/add.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/add.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/exp.h b/dnn/src/x86/elemwise_helper/kimpl/exp.h index a9b8dece..8e60c217 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/exp.h +++ b/dnn/src/x86/elemwise_helper/kimpl/exp.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/exp.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise/avx_util/avx_mathfun.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h b/dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h index cf564bac..d199ae1f 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fast_tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_h_swish.h b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_h_swish.h index 26a95113..519e5cb6 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_h_swish.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_h_swish.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fuse_add_h_swish.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h index fcebd717..14a12713 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fuse_add_relu.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_sigmoid.h b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_sigmoid.h index 3be962ca..c17fb73b 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_sigmoid.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_sigmoid.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fuse_add_sigmoid.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise/avx_util/avx_mathfun.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h index ee8a279a..67e244cf 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fuse_add_tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h b/dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h index 84a1f99d..856c28ed 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h +++ b/dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/fuse_mul_add3.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_ternary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/hswish.h b/dnn/src/x86/elemwise_helper/kimpl/hswish.h index 2b972592..e25d7f3a 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/hswish.h +++ b/dnn/src/x86/elemwise_helper/kimpl/hswish.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/hswish.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/max.h b/dnn/src/x86/elemwise_helper/kimpl/max.h index 37653410..5ff6fa56 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/max.h +++ b/dnn/src/x86/elemwise_helper/kimpl/max.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/max.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/min.h b/dnn/src/x86/elemwise_helper/kimpl/min.h index 5fcdc9bb..3f8c311d 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/min.h +++ b/dnn/src/x86/elemwise_helper/kimpl/min.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/min.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/mul.h b/dnn/src/x86/elemwise_helper/kimpl/mul.h index a56043e5..c1a23c88 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/mul.h +++ b/dnn/src/x86/elemwise_helper/kimpl/mul.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/mul.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/none.h b/dnn/src/x86/elemwise_helper/kimpl/none.h index 0e2ab38c..3542c8ef 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/none.h +++ b/dnn/src/x86/elemwise_helper/kimpl/none.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/none.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h b/dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h index 408bef11..626ec251 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h +++ b/dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/op_binary_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/elemwise_helper/kimpl/op_ternary_base.h b/dnn/src/x86/elemwise_helper/kimpl/op_ternary_base.h index 725829e4..ff4b4ca5 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/op_ternary_base.h +++ b/dnn/src/x86/elemwise_helper/kimpl/op_ternary_base.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/op_ternary_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h b/dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h index 3cccaf40..2d93de56 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h +++ b/dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/op_unary_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/elemwise_helper/kimpl/pow.h b/dnn/src/x86/elemwise_helper/kimpl/pow.h index bffcc29e..efe60789 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/pow.h +++ b/dnn/src/x86/elemwise_helper/kimpl/pow.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/pow.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/relu.h b/dnn/src/x86/elemwise_helper/kimpl/relu.h index a67c9eee..452fdf67 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/relu.h +++ b/dnn/src/x86/elemwise_helper/kimpl/relu.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/relu.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/sigmoid.h b/dnn/src/x86/elemwise_helper/kimpl/sigmoid.h index 6919a8a2..be8280ff 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/sigmoid.h +++ b/dnn/src/x86/elemwise_helper/kimpl/sigmoid.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/sigmoid.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise/avx_util/avx_mathfun.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/sub.h b/dnn/src/x86/elemwise_helper/kimpl/sub.h index ffa2f441..f911a588 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/sub.h +++ b/dnn/src/x86/elemwise_helper/kimpl/sub.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/sub.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_binary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/tanh.h b/dnn/src/x86/elemwise_helper/kimpl/tanh.h index 07eaf27d..b489b030 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/tanh.h +++ b/dnn/src/x86/elemwise_helper/kimpl/tanh.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/tanh.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/op_unary_base.h" diff --git a/dnn/src/x86/elemwise_helper/kimpl/typecvt.h b/dnn/src/x86/elemwise_helper/kimpl/typecvt.h index 35c4959a..4a91de01 100644 --- a/dnn/src/x86/elemwise_helper/kimpl/typecvt.h +++ b/dnn/src/x86/elemwise_helper/kimpl/typecvt.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/kimpl/typecvt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/elemwise_helper/op_binary.h b/dnn/src/x86/elemwise_helper/op_binary.h index 6da75449..23a7c171 100644 --- a/dnn/src/x86/elemwise_helper/op_binary.h +++ b/dnn/src/x86/elemwise_helper/op_binary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/op_binary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/add.h" diff --git a/dnn/src/x86/elemwise_helper/op_ternary.h b/dnn/src/x86/elemwise_helper/op_ternary.h index 300fdb69..d1c7959e 100644 --- a/dnn/src/x86/elemwise_helper/op_ternary.h +++ b/dnn/src/x86/elemwise_helper/op_ternary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/op_ternary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/fuse_mul_add3.h" diff --git a/dnn/src/x86/elemwise_helper/op_unary.h b/dnn/src/x86/elemwise_helper/op_unary.h index 64428d99..7fa00a68 100644 --- a/dnn/src/x86/elemwise_helper/op_unary.h +++ b/dnn/src/x86/elemwise_helper/op_unary.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_helper/op_unary.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/elemwise_helper/kimpl/abs.h" diff --git a/dnn/src/x86/elemwise_multi_type/opr_impl.cpp b/dnn/src/x86/elemwise_multi_type/opr_impl.cpp index a7958f45..fedd770d 100644 --- a/dnn/src/x86/elemwise_multi_type/opr_impl.cpp +++ b/dnn/src/x86/elemwise_multi_type/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_multi_type/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_impl.h" #include "src/common/elemwise_multi_type/kern_defs.cuh" #include "src/naive/handle.h" diff --git a/dnn/src/x86/elemwise_multi_type/opr_impl.h b/dnn/src/x86/elemwise_multi_type/opr_impl.h index 04b20625..4627d9d3 100644 --- a/dnn/src/x86/elemwise_multi_type/opr_impl.h +++ b/dnn/src/x86/elemwise_multi_type/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_multi_type/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/elemwise_multi_type/opr_impl.h" diff --git a/dnn/src/x86/elemwise_op.h b/dnn/src/x86/elemwise_op.h index 1e473e7c..6bad74c0 100644 --- a/dnn/src/x86/elemwise_op.h +++ b/dnn/src/x86/elemwise_op.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/elemwise_op.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/x86/elemwise_helper/op_binary.h" #include "src/x86/elemwise_helper/op_ternary.h" diff --git a/dnn/src/x86/gaussian_blur/opr_impl.h b/dnn/src/x86/gaussian_blur/opr_impl.h index b721c3e4..f47c202d 100644 --- a/dnn/src/x86/gaussian_blur/opr_impl.h +++ b/dnn/src/x86/gaussian_blur/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/gaussian_blur/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/oprs.h" diff --git a/dnn/src/x86/handle.cpp b/dnn/src/x86/handle.cpp index c7137bb7..403ff82f 100644 --- a/dnn/src/x86/handle.cpp +++ b/dnn/src/x86/handle.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/handle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/handle_impl.h" #include "src/common/version_symbol.h" diff --git a/dnn/src/x86/handle.h b/dnn/src/x86/handle.h index d04bbdf5..6e8ee7a5 100644 --- a/dnn/src/x86/handle.h +++ b/dnn/src/x86/handle.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/handle.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/handle.h" diff --git a/dnn/src/x86/local/local_avx.cpp b/dnn/src/x86/local/local_avx.cpp index d6e4d440..9bf63c0d 100644 --- a/dnn/src/x86/local/local_avx.cpp +++ b/dnn/src/x86/local/local_avx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/local_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // clang-format off #include "src/x86/simd_helper.h" #include "src/x86/simd_macro/avx_helper.h" diff --git a/dnn/src/x86/local/local_fma.cpp b/dnn/src/x86/local/local_fma.cpp index 00ddbc4b..53cb200f 100644 --- a/dnn/src/x86/local/local_fma.cpp +++ b/dnn/src/x86/local/local_fma.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/local_fma.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // clang-format off #include "src/x86/simd_helper.h" #include "src/x86/simd_macro/fma_helper.h" diff --git a/dnn/src/x86/local/local_simd.h b/dnn/src/x86/local/local_simd.h index 46017375..c05ce326 100644 --- a/dnn/src/x86/local/local_simd.h +++ b/dnn/src/x86/local/local_simd.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/local_simd.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once // clang-format off diff --git a/dnn/src/x86/local/local_sse.cpp b/dnn/src/x86/local/local_sse.cpp index 2acc0e92..602d36d1 100644 --- a/dnn/src/x86/local/local_sse.cpp +++ b/dnn/src/x86/local/local_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/local_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // clang-format off #include "src/x86/simd_helper.h" #include "src/x86/simd_macro/sse_helper.h" diff --git a/dnn/src/x86/local/opr_impl.cpp b/dnn/src/x86/local/opr_impl.cpp index 7c7691dc..fe66678f 100644 --- a/dnn/src/x86/local/opr_impl.cpp +++ b/dnn/src/x86/local/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./opr_impl.h" #include "./local_simd.h" diff --git a/dnn/src/x86/local/opr_impl.h b/dnn/src/x86/local/opr_impl.h index db80c7a8..28e9b34e 100644 --- a/dnn/src/x86/local/opr_impl.h +++ b/dnn/src/x86/local/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/local/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/local/opr_impl.h" diff --git a/dnn/src/x86/lrn/opr_impl.cpp b/dnn/src/x86/lrn/opr_impl.cpp index 340f7a02..c269e68c 100644 --- a/dnn/src/x86/lrn/opr_impl.cpp +++ b/dnn/src/x86/lrn/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/lrn/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/lrn/opr_impl.h" #include "src/common/utils.h" diff --git a/dnn/src/x86/lrn/opr_impl.h b/dnn/src/x86/lrn/opr_impl.h index 423ee46d..54babeb9 100644 --- a/dnn/src/x86/lrn/opr_impl.h +++ b/dnn/src/x86/lrn/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/lrn/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/lrn/opr_impl.h" diff --git a/dnn/src/x86/matrix_mul/algos.cpp b/dnn/src/x86/matrix_mul/algos.cpp index 1e6aa298..6d0746d7 100644 --- a/dnn/src/x86/matrix_mul/algos.cpp +++ b/dnn/src/x86/matrix_mul/algos.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/matrix_mul/algos.h" #include "src/common/utils.h" #include "src/fallback/matrix_mul/gemm_impl.h" diff --git a/dnn/src/x86/matrix_mul/algos.h b/dnn/src/x86/matrix_mul/algos.h index 537d2db6..a081d59b 100644 --- a/dnn/src/x86/matrix_mul/algos.h +++ b/dnn/src/x86/matrix_mul/algos.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/algos.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/x86/matrix_mul/common/common.h b/dnn/src/x86/matrix_mul/common/common.h index f3a4706b..3f7afa39 100644 --- a/dnn/src/x86/matrix_mul/common/common.h +++ b/dnn/src/x86/matrix_mul/common/common.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/common/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #ifdef WIN32 diff --git a/dnn/src/x86/matrix_mul/f32/strategy.h b/dnn/src/x86/matrix_mul/f32/strategy.h index 108e3a0d..326c0b28 100644 --- a/dnn/src/x86/matrix_mul/f32/strategy.h +++ b/dnn/src/x86/matrix_mul/f32/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/f32/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp b/dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp index 78b906ec..41a51b4b 100644 --- a/dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp +++ b/dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp @@ -1,17 +1,5 @@ /** * \file dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - -/** - * \file dnn/src/x86/matrix_mul/f32/strategy_6x16.cpp * * This file is part of MegDNN, a deep neural network run-time library * developed by Megvii. diff --git a/dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp b/dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp index 8b2d9ec2..f4a404bc 100644 --- a/dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp +++ b/dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp @@ -1,16 +1,5 @@ /** * \file dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - -/** - * \file dnn/src/x86/matrix_mul/f32/strategy_mk8_8x8.cpp * * This file is part of MegDNN, a deep neural network run-time library * developed by Megvii. diff --git a/dnn/src/x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp b/dnn/src/x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp index 13bfe205..552b45da 100644 --- a/dnn/src/x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp +++ b/dnn/src/x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/avx2_strategy_2x4x16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/common/utils.h" #include "src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h" #include "src/x86/matrix_mul/int8/strategy.h" diff --git a/dnn/src/x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp b/dnn/src/x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp index c8a50de4..d7b632f0 100644 --- a/dnn/src/x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp +++ b/dnn/src/x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/avx2_strategy_4x16x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/utils.h" #include "src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h" #include "src/x86/matrix_mul/int8/strategy.h" diff --git a/dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h b/dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h index 87d8075d..0c9c6d17 100644 --- a/dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h +++ b/dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/kernel_avx2_2x4x16.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h b/dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h index bf359dc9..b55fc688 100644 --- a/dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h +++ b/dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/kernel_avx2_4x16x2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include #include diff --git a/dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h b/dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h index deb44f03..4541975d 100644 --- a/dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h +++ b/dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/kernel_sse_4x8x2.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #ifdef WIN32 #include diff --git a/dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h b/dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h index 7b85c171..ad29cd89 100644 --- a/dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h +++ b/dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MEGDNN_X86_WITH_VNNI #include #include diff --git a/dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp b/dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp index dd2529a7..646aafdf 100644 --- a/dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp +++ b/dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/sse_strategy_4x8x2.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/common/utils.h" #include "src/x86/matrix_mul/int8/kernel_sse_4x8x2.h" #include "src/x86/matrix_mul/int8/strategy.h" diff --git a/dnn/src/x86/matrix_mul/int8/strategy.h b/dnn/src/x86/matrix_mul/int8/strategy.h index 858c3aed..32038695 100644 --- a/dnn/src/x86/matrix_mul/int8/strategy.h +++ b/dnn/src/x86/matrix_mul/int8/strategy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/strategy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/matrix_mul/gemm_common.h" diff --git a/dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp b/dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp index 48f1a060..17e2f0fc 100644 --- a/dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp +++ b/dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/int8/vnni_strategy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MEGDNN_X86_WITH_VNNI #include "src/common/utils.h" #include "src/x86/matrix_mul/int8/kernel_vnni_12x32x4.h" diff --git a/dnn/src/x86/matrix_mul/opr_impl.cpp b/dnn/src/x86/matrix_mul/opr_impl.cpp index 605142a0..c6925d74 100644 --- a/dnn/src/x86/matrix_mul/opr_impl.cpp +++ b/dnn/src/x86/matrix_mul/opr_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "src/x86/matrix_mul/opr_impl.h" #include "src/common/metahelper.h" #include "src/x86/matrix_mul/algos.h" diff --git a/dnn/src/x86/matrix_mul/opr_impl.h b/dnn/src/x86/matrix_mul/opr_impl.h index 12aee6b3..7fcd98be 100644 --- a/dnn/src/x86/matrix_mul/opr_impl.h +++ b/dnn/src/x86/matrix_mul/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/matrix_mul/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/x86/midout_error.cpp b/dnn/src/x86/midout_error.cpp index f0fd34b0..9d4d447d 100644 --- a/dnn/src/x86/midout_error.cpp +++ b/dnn/src/x86/midout_error.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/midout_error.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #if defined(MIDOUT_GENERATED) || defined(MIDOUT_PROFILING) #error "midout should not be enabled on x86, because current x86 implemention requires all possible inputs to be passed in midout, which is essentially impossible in production as the input spatial size is unfixed." #endif diff --git a/dnn/src/x86/pooling/algo.cpp b/dnn/src/x86/pooling/algo.cpp index f0e3d6fb..27c13119 100644 --- a/dnn/src/x86/pooling/algo.cpp +++ b/dnn/src/x86/pooling/algo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/pooling/algos.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/x86/pooling/algo.h" #include "megdnn/opr_param_defs.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/x86/pooling/algo.h b/dnn/src/x86/pooling/algo.h index a893c65e..953ca1a6 100644 --- a/dnn/src/x86/pooling/algo.h +++ b/dnn/src/x86/pooling/algo.h @@ -1,15 +1,3 @@ -/** - * \file dnn/src/x86/pooling/algo.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.cpp b/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.cpp index b1d8fd5d..218f13c5 100644 --- a/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.cpp +++ b/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/simd_macro/sse_helper.h" #include "src/common/pooling/do_max_pooling_3x3_s2x2_float_def.inl" diff --git a/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.h b/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.h index ac3aa4e6..b1cfaa85 100644 --- a/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.h +++ b/dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/pooling/do_max_pooling_3x3_s2x2_float_sse.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/x86/simd_macro/sse_helper.h" diff --git a/dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp b/dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp index cb2f817a..de17c24c 100644 --- a/dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp +++ b/dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/pooling/max_pooling_w2x2_s2x2_sse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./pooling_special_cases.h" #include diff --git a/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp b/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp index 01a9a0ff..3243b7e7 100644 --- a/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp +++ b/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_avx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./pooling_special_cases.h" #include diff --git a/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp b/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp index 3fe6bc35..fe2b12da 100644 --- a/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp +++ b/dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/pooling/mean_pooling_w2x2_s2x2_sse3.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./pooling_special_cases.h" #include diff --git a/dnn/src/x86/pooling/opr_impl.cpp b/dnn/src/x86/pooling/opr_impl.cpp index a6e0cfc3..57d1df75 100644 --- a/dnn/src/x86/pooling/opr_impl.cpp +++ b/dnn/src/x86/pooling/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/pooling/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/pooling/opr_impl.h" #include "src/common/algo_chooser.h" #include "src/common/opr_delegate.h" diff --git a/dnn/src/x86/pooling/opr_impl.h b/dnn/src/x86/pooling/opr_impl.h index d96ee0b2..3df392c7 100644 --- a/dnn/src/x86/pooling/opr_impl.h +++ b/dnn/src/x86/pooling/opr_impl.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/pooling/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/fallback/pooling/opr_impl.h" diff --git a/dnn/src/x86/pooling/pooling_special_cases.h b/dnn/src/x86/pooling/pooling_special_cases.h index 1743e46e..7c66f114 100644 --- a/dnn/src/x86/pooling/pooling_special_cases.h +++ b/dnn/src/x86/pooling/pooling_special_cases.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/pooling/pooling_special_cases.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/common/utils.h" diff --git a/dnn/src/x86/quantized_converter.h b/dnn/src/x86/quantized_converter.h index 566430d1..067a2655 100644 --- a/dnn/src/x86/quantized_converter.h +++ b/dnn/src/x86/quantized_converter.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/quantized_converter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/resize/opr_impl.cpp b/dnn/src/x86/resize/opr_impl.cpp index 5906180c..1c52c61b 100644 --- a/dnn/src/x86/resize/opr_impl.cpp +++ b/dnn/src/x86/resize/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/resize/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/resize/opr_impl.h" #include "src/common/cv/common.h" #include "src/common/cv/helper.h" diff --git a/dnn/src/x86/resize/opr_impl.h b/dnn/src/x86/resize/opr_impl.h index 84aee086..82a80d97 100644 --- a/dnn/src/x86/resize/opr_impl.h +++ b/dnn/src/x86/resize/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/resize/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/resize/opr_impl.h" diff --git a/dnn/src/x86/resize/resize_cv.h b/dnn/src/x86/resize/resize_cv.h index 2508a84d..d3ea27e4 100644 --- a/dnn/src/x86/resize/resize_cv.h +++ b/dnn/src/x86/resize/resize_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/resize/resize_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/x86/script/extract_profile_result.py b/dnn/src/x86/script/extract_profile_result.py index 781fbc62..a84c8d43 100755 --- a/dnn/src/x86/script/extract_profile_result.py +++ b/dnn/src/x86/script/extract_profile_result.py @@ -1,12 +1,5 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import re diff --git a/dnn/src/x86/script/gen_convolution2.py b/dnn/src/x86/script/gen_convolution2.py index 67a57a4e..3e189c42 100755 --- a/dnn/src/x86/script/gen_convolution2.py +++ b/dnn/src/x86/script/gen_convolution2.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools def gen(mode, simd, fsize): diff --git a/dnn/src/x86/separable_conv/opr_impl.h b/dnn/src/x86/separable_conv/opr_impl.h index 4c6790a6..1a6e3ebe 100644 --- a/dnn/src/x86/separable_conv/opr_impl.h +++ b/dnn/src/x86/separable_conv/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/separable_conv/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./sep_conv_filter.h" #include "megdnn/oprs.h" diff --git a/dnn/src/x86/separable_filter/opr_impl.cpp b/dnn/src/x86/separable_filter/opr_impl.cpp index 49f10999..a1d3c44b 100644 --- a/dnn/src/x86/separable_filter/opr_impl.cpp +++ b/dnn/src/x86/separable_filter/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/separable_filter/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/separable_filter/opr_impl.h" #include #include "src/common/cv/common.h" diff --git a/dnn/src/x86/separable_filter/opr_impl.h b/dnn/src/x86/separable_filter/opr_impl.h index 07b44ebf..df6eb863 100644 --- a/dnn/src/x86/separable_filter/opr_impl.h +++ b/dnn/src/x86/separable_filter/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/separable_filter/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" namespace megdnn { diff --git a/dnn/src/x86/simd_helper.h b/dnn/src/x86/simd_helper.h index c3b4d475..3094f11c 100644 --- a/dnn/src/x86/simd_helper.h +++ b/dnn/src/x86/simd_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/arch.h" #include "src/x86/utils.h" diff --git a/dnn/src/x86/simd_macro/avx2_helper.h b/dnn/src/x86/simd_macro/avx2_helper.h index 391b367e..64058374 100644 --- a/dnn/src/x86/simd_macro/avx2_helper.h +++ b/dnn/src/x86/simd_macro/avx2_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/avx2_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include diff --git a/dnn/src/x86/simd_macro/avx2_helper_epilogue.h b/dnn/src/x86/simd_macro/avx2_helper_epilogue.h index a64335ce..8f62bef0 100644 --- a/dnn/src/x86/simd_macro/avx2_helper_epilogue.h +++ b/dnn/src/x86/simd_macro/avx2_helper_epilogue.h @@ -1,11 +1 @@ -/** - * \file dnn/src/x86/simd_macro/avx2_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/simd_macro/epilogue.h" diff --git a/dnn/src/x86/simd_macro/avx_helper.h b/dnn/src/x86/simd_macro/avx_helper.h index df30efbc..6f62b18a 100644 --- a/dnn/src/x86/simd_macro/avx_helper.h +++ b/dnn/src/x86/simd_macro/avx_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/avx_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include diff --git a/dnn/src/x86/simd_macro/avx_helper_epilogue.h b/dnn/src/x86/simd_macro/avx_helper_epilogue.h index 13107948..8f62bef0 100644 --- a/dnn/src/x86/simd_macro/avx_helper_epilogue.h +++ b/dnn/src/x86/simd_macro/avx_helper_epilogue.h @@ -1,11 +1 @@ -/** - * \file dnn/src/x86/simd_macro/avx_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/simd_macro/epilogue.h" diff --git a/dnn/src/x86/simd_macro/fma_helper.h b/dnn/src/x86/simd_macro/fma_helper.h index 22dcdc48..05a511bc 100644 --- a/dnn/src/x86/simd_macro/fma_helper.h +++ b/dnn/src/x86/simd_macro/fma_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/fma_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include diff --git a/dnn/src/x86/simd_macro/fma_helper_epilogue.h b/dnn/src/x86/simd_macro/fma_helper_epilogue.h index 35a3d3a2..4a781d0b 100644 --- a/dnn/src/x86/simd_macro/fma_helper_epilogue.h +++ b/dnn/src/x86/simd_macro/fma_helper_epilogue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/fma_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/simd_macro/epilogue.h" #undef MEGDNN_SIMD_ADD diff --git a/dnn/src/x86/simd_macro/immintrin.h b/dnn/src/x86/simd_macro/immintrin.h index c9e856a6..4f9a7137 100644 --- a/dnn/src/x86/simd_macro/immintrin.h +++ b/dnn/src/x86/simd_macro/immintrin.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/immintrin.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/simd_macro/sse_helper.h b/dnn/src/x86/simd_macro/sse_helper.h index f9fc90f2..7d90e103 100644 --- a/dnn/src/x86/simd_macro/sse_helper.h +++ b/dnn/src/x86/simd_macro/sse_helper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/sse_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include // SSE #include "src/x86/simd_macro/sse_helper_typedef.h" diff --git a/dnn/src/x86/simd_macro/sse_helper_epilogue.h b/dnn/src/x86/simd_macro/sse_helper_epilogue.h index a2a99964..9e1cc068 100644 --- a/dnn/src/x86/simd_macro/sse_helper_epilogue.h +++ b/dnn/src/x86/simd_macro/sse_helper_epilogue.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/simd_macro/sse_helper_epilogue.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/common/simd_macro/epilogue.h" #undef MEGDNN_SIMD_ADD diff --git a/dnn/src/x86/type_cvt/opr_impl.cpp b/dnn/src/x86/type_cvt/opr_impl.cpp index f0cce2f7..1ee2d500 100644 --- a/dnn/src/x86/type_cvt/opr_impl.cpp +++ b/dnn/src/x86/type_cvt/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/type_cvt/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/x86/type_cvt/opr_impl.h" #include #include "src/x86/elemwise_helper/kimpl/typecvt.h" diff --git a/dnn/src/x86/type_cvt/opr_impl.h b/dnn/src/x86/type_cvt/opr_impl.h index f9530b1b..8b825410 100644 --- a/dnn/src/x86/type_cvt/opr_impl.h +++ b/dnn/src/x86/type_cvt/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/type_cvt/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/fallback/type_cvt/opr_impl.h" #include "src/x86/handle.h" diff --git a/dnn/src/x86/utils.cpp b/dnn/src/x86/utils.cpp index 7d0b4c97..d4cf2bde 100644 --- a/dnn/src/x86/utils.cpp +++ b/dnn/src/x86/utils.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/utils.h" #include diff --git a/dnn/src/x86/utils.h b/dnn/src/x86/utils.h index 0d0f7f2c..7dd4f2e8 100644 --- a/dnn/src/x86/utils.h +++ b/dnn/src/x86/utils.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/src/x86/warp_affine/opr_impl.cpp b/dnn/src/x86/warp_affine/opr_impl.cpp index 2fd4d368..f4ee0f82 100644 --- a/dnn/src/x86/warp_affine/opr_impl.cpp +++ b/dnn/src/x86/warp_affine/opr_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/warp_affine/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/x86/warp_affine/opr_impl.h" #include "src/common/warp_common.h" #include "src/x86/handle.h" diff --git a/dnn/src/x86/warp_affine/opr_impl.h b/dnn/src/x86/warp_affine/opr_impl.h index 038e4361..9326b371 100644 --- a/dnn/src/x86/warp_affine/opr_impl.h +++ b/dnn/src/x86/warp_affine/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/warp_affine/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "src/naive/warp_affine/opr_impl.h" diff --git a/dnn/src/x86/warp_affine/warp_affine_cv.h b/dnn/src/x86/warp_affine/warp_affine_cv.h index e3d0a82b..a312155c 100644 --- a/dnn/src/x86/warp_affine/warp_affine_cv.h +++ b/dnn/src/x86/warp_affine/warp_affine_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/warp_affine/warp_affine_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/src/x86/warp_perspective/opr_impl.cpp b/dnn/src/x86/warp_perspective/opr_impl.cpp index 17ed665d..c3f4d705 100644 --- a/dnn/src/x86/warp_perspective/opr_impl.cpp +++ b/dnn/src/x86/warp_perspective/opr_impl.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/warp_perspective/opr_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "src/x86/warp_perspective/opr_impl.h" #include "src/x86/utils.h" diff --git a/dnn/src/x86/warp_perspective/opr_impl.h b/dnn/src/x86/warp_perspective/opr_impl.h index 744a72ba..256371be 100644 --- a/dnn/src/x86/warp_perspective/opr_impl.h +++ b/dnn/src/x86/warp_perspective/opr_impl.h @@ -1,13 +1,3 @@ -/** - * \file dnn/src/x86/warp_perspective/opr_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" #include "src/fallback/warp_perspective/opr_impl.h" diff --git a/dnn/src/x86/warp_perspective/warp_perspective_cv.h b/dnn/src/x86/warp_perspective/warp_perspective_cv.h index f4a7e737..5e6d8b76 100644 --- a/dnn/src/x86/warp_perspective/warp_perspective_cv.h +++ b/dnn/src/x86/warp_perspective/warp_perspective_cv.h @@ -1,14 +1,3 @@ -/** - * \file dnn/src/x86/warp_perspective/warp_perspective_cv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "src/common/cv/helper.h" diff --git a/dnn/test/aarch64/batched_matrix_mul.cpp b/dnn/test/aarch64/batched_matrix_mul.cpp index 02159091..7cd0b0ce 100644 --- a/dnn/test/aarch64/batched_matrix_mul.cpp +++ b/dnn/test/aarch64/batched_matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/aarch64/batched_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/benchmarker.h" #include "test/common/checker.h" #include "test/common/matrix_mul.h" diff --git a/dnn/test/aarch64/conv_bias.cpp b/dnn/test/aarch64/conv_bias.cpp index 42941cd5..791fc91d 100644 --- a/dnn/test/aarch64/conv_bias.cpp +++ b/dnn/test/aarch64/conv_bias.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/aarch64/fixture.h" #include "src/fallback/conv_bias/common.h" diff --git a/dnn/test/aarch64/convolution.cpp b/dnn/test/aarch64/convolution.cpp index 2049be35..618503a2 100644 --- a/dnn/test/aarch64/convolution.cpp +++ b/dnn/test/aarch64/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/aarch64/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/aarch64/fixture.cpp b/dnn/test/aarch64/fixture.cpp index 2357b9f9..6fa36e87 100644 --- a/dnn/test/aarch64/fixture.cpp +++ b/dnn/test/aarch64/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/aarch64/fixture.h" #include "test/common/memory_manager.h" diff --git a/dnn/test/aarch64/fixture.h b/dnn/test/aarch64/fixture.h index 5dc7677a..d57529e3 100644 --- a/dnn/test/aarch64/fixture.h +++ b/dnn/test/aarch64/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/aarch64/matrix_mul.cpp b/dnn/test/aarch64/matrix_mul.cpp index 48ea022e..f4c0f6c6 100644 --- a/dnn/test/aarch64/matrix_mul.cpp +++ b/dnn/test/aarch64/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/aarch64/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/aarch64/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/aarch64/pooling.cpp b/dnn/test/aarch64/pooling.cpp index c618521e..35e506f2 100644 --- a/dnn/test/aarch64/pooling.cpp +++ b/dnn/test/aarch64/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/aarch64/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/aarch64/relayout.cpp b/dnn/test/aarch64/relayout.cpp index 3e5a37b1..53066817 100644 --- a/dnn/test/aarch64/relayout.cpp +++ b/dnn/test/aarch64/relayout.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/aarch64/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/aarch64/rotate.cpp b/dnn/test/aarch64/rotate.cpp index 070859db..9d0a15cd 100644 --- a/dnn/test/aarch64/rotate.cpp +++ b/dnn/test/aarch64/rotate.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/aarch64/rotate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/rotate.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/aarch64/warp_perspective.cpp b/dnn/test/aarch64/warp_perspective.cpp index f9e46f1f..6f0a7295 100644 --- a/dnn/test/aarch64/warp_perspective.cpp +++ b/dnn/test/aarch64/warp_perspective.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/aarch64/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include "test/aarch64/fixture.h" diff --git a/dnn/test/arm_common/conv_bias.cpp b/dnn/test/arm_common/conv_bias.cpp index 80bcac22..d77643a8 100644 --- a/dnn/test/arm_common/conv_bias.cpp +++ b/dnn/test/arm_common/conv_bias.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "test/arm_common/fixture.h" diff --git a/dnn/test/arm_common/conv_bias_multi_thread.cpp b/dnn/test/arm_common/conv_bias_multi_thread.cpp index 96cd0814..0c78be63 100644 --- a/dnn/test/arm_common/conv_bias_multi_thread.cpp +++ b/dnn/test/arm_common/conv_bias_multi_thread.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias_multi_thread.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/conv_bias_multi_thread_benchmark.cpp b/dnn/test/arm_common/conv_bias_multi_thread_benchmark.cpp index c49473ba..c3409918 100644 --- a/dnn/test/arm_common/conv_bias_multi_thread_benchmark.cpp +++ b/dnn/test/arm_common/conv_bias_multi_thread_benchmark.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias_multi_thread_benchmark.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" #include "test/common/conv_bias.h" diff --git a/dnn/test/arm_common/conv_bias_multi_thread_conv1x1.cpp b/dnn/test/arm_common/conv_bias_multi_thread_conv1x1.cpp index 8a6c4584..aeecfee9 100644 --- a/dnn/test/arm_common/conv_bias_multi_thread_conv1x1.cpp +++ b/dnn/test/arm_common/conv_bias_multi_thread_conv1x1.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias_multi_thread_conv1x1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/conv_bias_multi_thread_im2col.cpp b/dnn/test/arm_common/conv_bias_multi_thread_im2col.cpp index 6a9067f5..57562db2 100644 --- a/dnn/test/arm_common/conv_bias_multi_thread_im2col.cpp +++ b/dnn/test/arm_common/conv_bias_multi_thread_im2col.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias_multi_thread_im2col.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/dtype.h" #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/conv_bias_multi_thread_weight_preprocess.cpp b/dnn/test/arm_common/conv_bias_multi_thread_weight_preprocess.cpp index c8091d20..871435e8 100644 --- a/dnn/test/arm_common/conv_bias_multi_thread_weight_preprocess.cpp +++ b/dnn/test/arm_common/conv_bias_multi_thread_weight_preprocess.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/arm_common/conv_bias_multi_thread_weight_preprocess.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/dtype.h" #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/convolution.cpp b/dnn/test/arm_common/convolution.cpp index 7d512381..694aeff6 100644 --- a/dnn/test/arm_common/convolution.cpp +++ b/dnn/test/arm_common/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/cpuinfo.cpp b/dnn/test/arm_common/cpuinfo.cpp index 76f57658..41547419 100644 --- a/dnn/test/arm_common/cpuinfo.cpp +++ b/dnn/test/arm_common/cpuinfo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/cpuinfo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/common/utils.h" #if defined(MGB_ENABLE_CPUINFO_CHECK) && MGB_ENABLE_CPUINFO #include diff --git a/dnn/test/arm_common/cpuinfo_help.cpp b/dnn/test/arm_common/cpuinfo_help.cpp index b49c4d13..6b0a187d 100644 --- a/dnn/test/arm_common/cpuinfo_help.cpp +++ b/dnn/test/arm_common/cpuinfo_help.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/cpuinfo_help.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/arm_common/cpuinfo_help.h" #include "src/common/utils.h" #if MGB_ENABLE_CPUINFO diff --git a/dnn/test/arm_common/cpuinfo_help.h b/dnn/test/arm_common/cpuinfo_help.h index be15162c..88cd5c36 100644 --- a/dnn/test/arm_common/cpuinfo_help.h +++ b/dnn/test/arm_common/cpuinfo_help.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/cpuinfo_help.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include diff --git a/dnn/test/arm_common/cvt_color.cpp b/dnn/test/arm_common/cvt_color.cpp index 23fd4e90..f5c2b658 100644 --- a/dnn/test/arm_common/cvt_color.cpp +++ b/dnn/test/arm_common/cvt_color.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/cvt_color.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/cvt_color.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/arm_common/elemwise.cpp b/dnn/test/arm_common/elemwise.cpp index fa222aec..f192f178 100644 --- a/dnn/test/arm_common/elemwise.cpp +++ b/dnn/test/arm_common/elemwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/elemwise.h" #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/elemwise_benchmark.cpp b/dnn/test/arm_common/elemwise_benchmark.cpp index ca2623fd..a8f06b70 100644 --- a/dnn/test/arm_common/elemwise_benchmark.cpp +++ b/dnn/test/arm_common/elemwise_benchmark.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/elemwise_benchmark.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #if MEGDNN_WITH_BENCHMARK #include "test/arm_common/fixture.h" diff --git a/dnn/test/arm_common/elemwise_multi_type.cpp b/dnn/test/arm_common/elemwise_multi_type.cpp index ae792b2a..9e46d4f6 100644 --- a/dnn/test/arm_common/elemwise_multi_type.cpp +++ b/dnn/test/arm_common/elemwise_multi_type.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/arm_common/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/elemwise_multi_type.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/test/arm_common/fixture.h b/dnn/test/arm_common/fixture.h index b52e9200..04eb09c2 100644 --- a/dnn/test/arm_common/fixture.h +++ b/dnn/test/arm_common/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "test/cpu/fixture.h" diff --git a/dnn/test/arm_common/group_local.cpp b/dnn/test/arm_common/group_local.cpp index 503e75b9..7de96bb9 100644 --- a/dnn/test/arm_common/group_local.cpp +++ b/dnn/test/arm_common/group_local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/group_local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/local.cpp b/dnn/test/arm_common/local.cpp index dfcb7576..15d0e0ae 100644 --- a/dnn/test/arm_common/local.cpp +++ b/dnn/test/arm_common/local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/lstm.cpp b/dnn/test/arm_common/lstm.cpp index ebcc6f89..0a0080be 100644 --- a/dnn/test/arm_common/lstm.cpp +++ b/dnn/test/arm_common/lstm.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/lstm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/arm_common/matrix_mul.cpp b/dnn/test/arm_common/matrix_mul.cpp index eab8e0cf..e16831e3 100644 --- a/dnn/test/arm_common/matrix_mul.cpp +++ b/dnn/test/arm_common/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/pooling.cpp b/dnn/test/arm_common/pooling.cpp index a199c18f..ae6b824d 100644 --- a/dnn/test/arm_common/pooling.cpp +++ b/dnn/test/arm_common/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/arm_common/pooling_multi_thread.cpp b/dnn/test/arm_common/pooling_multi_thread.cpp index 89ba9e69..1c45f0b7 100644 --- a/dnn/test/arm_common/pooling_multi_thread.cpp +++ b/dnn/test/arm_common/pooling_multi_thread.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/pooling_multi_thread.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "megdnn/dtype.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/arm_common/reduce.cpp b/dnn/test/arm_common/reduce.cpp index f74abe24..14f09d3e 100644 --- a/dnn/test/arm_common/reduce.cpp +++ b/dnn/test/arm_common/reduce.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/arm_common/resize.cpp b/dnn/test/arm_common/resize.cpp index ca7ccfba..1a6eb9d5 100644 --- a/dnn/test/arm_common/resize.cpp +++ b/dnn/test/arm_common/resize.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/resize.h" #include "test/arm_common/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/arm_common/rnn.cpp b/dnn/test/arm_common/rnn.cpp index ee935ca9..9dbb73e1 100644 --- a/dnn/test/arm_common/rnn.cpp +++ b/dnn/test/arm_common/rnn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/arm_common/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/arm_common/separable_filter.cpp b/dnn/test/arm_common/separable_filter.cpp index 5c6e416f..26e1887f 100644 --- a/dnn/test/arm_common/separable_filter.cpp +++ b/dnn/test/arm_common/separable_filter.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/separable_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/separable_filter.h" #include "test/arm_common/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/arm_common/type_cvt.cpp b/dnn/test/arm_common/type_cvt.cpp index 427ef303..5f4955e4 100644 --- a/dnn/test/arm_common/type_cvt.cpp +++ b/dnn/test/arm_common/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/arm_common/warp_affine.cpp b/dnn/test/arm_common/warp_affine.cpp index 785a4879..f88f7abe 100644 --- a/dnn/test/arm_common/warp_affine.cpp +++ b/dnn/test/arm_common/warp_affine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/arm_common/warp_affine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/warp_affine.h" #include "test/arm_common/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/arm_common/warp_perspective.cpp b/dnn/test/arm_common/warp_perspective.cpp index 01160a42..d1f89fb0 100644 --- a/dnn/test/arm_common/warp_perspective.cpp +++ b/dnn/test/arm_common/warp_perspective.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/arm_common/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include "test/arm_common/fixture.h" diff --git a/dnn/test/armv7/conv_bias.cpp b/dnn/test/armv7/conv_bias.cpp index 122a5e13..0257cbd3 100644 --- a/dnn/test/armv7/conv_bias.cpp +++ b/dnn/test/armv7/conv_bias.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/armv7/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/armv7/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/armv7/convolution.cpp b/dnn/test/armv7/convolution.cpp index 953af907..77010b59 100644 --- a/dnn/test/armv7/convolution.cpp +++ b/dnn/test/armv7/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/armv7/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/armv7/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/armv7/fixture.h b/dnn/test/armv7/fixture.h index 9b4ed519..a869fd9d 100644 --- a/dnn/test/armv7/fixture.h +++ b/dnn/test/armv7/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/armv7/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/armv7/matrix_mul.cpp b/dnn/test/armv7/matrix_mul.cpp index 25691c4f..c80b6abf 100644 --- a/dnn/test/armv7/matrix_mul.cpp +++ b/dnn/test/armv7/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/armv7/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/matrix_mul.h" #include "test/armv7/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/armv7/pooling.cpp b/dnn/test/armv7/pooling.cpp index 4e54fa2d..bf33a8eb 100644 --- a/dnn/test/armv7/pooling.cpp +++ b/dnn/test/armv7/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/armv7/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/armv7/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/armv7/rotate.cpp b/dnn/test/armv7/rotate.cpp index 8cc76119..9c7c64be 100644 --- a/dnn/test/armv7/rotate.cpp +++ b/dnn/test/armv7/rotate.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/armv7/rotate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/rotate.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/atlas/checksum.cpp b/dnn/test/atlas/checksum.cpp index 7980cca3..00f99894 100644 --- a/dnn/test/atlas/checksum.cpp +++ b/dnn/test/atlas/checksum.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/atlas/checksum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs.h" #include "test/atlas/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/atlas/fixture.cpp b/dnn/test/atlas/fixture.cpp index a06b4716..f3ab8962 100644 --- a/dnn/test/atlas/fixture.cpp +++ b/dnn/test/atlas/fixture.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/atlas/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/atlas/fixture.h" #include "src/atlas/handle.h" #include "src/atlas/megcore/device_context.hpp" diff --git a/dnn/test/atlas/fixture.h b/dnn/test/atlas/fixture.h index 2cc6fea7..09f06414 100644 --- a/dnn/test/atlas/fixture.h +++ b/dnn/test/atlas/fixture.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/atlas/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/test/common/accuracy_shake_checker.cpp b/dnn/test/common/accuracy_shake_checker.cpp index cb6b1fcc..fb68015e 100644 --- a/dnn/test/common/accuracy_shake_checker.cpp +++ b/dnn/test/common/accuracy_shake_checker.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/accuracy_shake_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/accuracy_shake_checker.h" using namespace megdnn; diff --git a/dnn/test/common/accuracy_shake_checker.h b/dnn/test/common/accuracy_shake_checker.h index fc330b8f..3bcc8658 100644 --- a/dnn/test/common/accuracy_shake_checker.h +++ b/dnn/test/common/accuracy_shake_checker.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/accuracy_shake_checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/test/common/adaptive_pooling.h b/dnn/test/common/adaptive_pooling.h index 79b0ef34..632f346d 100644 --- a/dnn/test/common/adaptive_pooling.h +++ b/dnn/test/common/adaptive_pooling.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/adaptive_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/benchmark_basic_types.cpp b/dnn/test/common/benchmark_basic_types.cpp index 097204c1..d16c61b3 100644 --- a/dnn/test/common/benchmark_basic_types.cpp +++ b/dnn/test/common/benchmark_basic_types.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/benchmark_basic_types.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/basic_types.h" #include "test/common/timer.h" #include "test/common/utils.h" diff --git a/dnn/test/common/benchmarker.h b/dnn/test/common/benchmarker.h index 957ffc24..6449d9e3 100644 --- a/dnn/test/common/benchmarker.h +++ b/dnn/test/common/benchmarker.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/benchmarker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/test/common/bn.h b/dnn/test/common/bn.h index d6d6acde..3a373cba 100644 --- a/dnn/test/common/bn.h +++ b/dnn/test/common/bn.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/bn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/checker.cpp b/dnn/test/common/checker.cpp index 66965e9f..c73ff9e3 100644 --- a/dnn/test/common/checker.cpp +++ b/dnn/test/common/checker.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./checker.h" #include "megdnn/tensor_format.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/test/common/checker.h b/dnn/test/common/checker.h index 13a8be27..674cdd64 100644 --- a/dnn/test/common/checker.h +++ b/dnn/test/common/checker.h @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/comparator.h b/dnn/test/common/comparator.h index f53a449d..a0c12fb1 100644 --- a/dnn/test/common/comparator.h +++ b/dnn/test/common/comparator.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/comparator.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/test/common/comparator.inl b/dnn/test/common/comparator.inl index 87d75387..cde78283 100644 --- a/dnn/test/common/comparator.inl +++ b/dnn/test/common/comparator.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/comparator.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "test/common/comparator.h" #include "test/common/utils.h" diff --git a/dnn/test/common/cond_take.cpp b/dnn/test/common/cond_take.cpp index 5f3f7bfa..03890c82 100644 --- a/dnn/test/common/cond_take.cpp +++ b/dnn/test/common/cond_take.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/cond_take.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cond_take.h" #include "./rng.h" #include "./tensor.h" diff --git a/dnn/test/common/cond_take.h b/dnn/test/common/cond_take.h index e7d9a094..daaafe25 100644 --- a/dnn/test/common/cond_take.h +++ b/dnn/test/common/cond_take.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/cond_take.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./checker.h" diff --git a/dnn/test/common/conv_bias.cpp b/dnn/test/common/conv_bias.cpp index 68bf4262..e7438e03 100644 --- a/dnn/test/common/conv_bias.cpp +++ b/dnn/test/common/conv_bias.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/conv_bias.h" #include "megdnn/opr_param_defs.h" #include "src/common/utils.h" diff --git a/dnn/test/common/conv_bias.h b/dnn/test/common/conv_bias.h index 9a1e6b2b..98ccadf3 100644 --- a/dnn/test/common/conv_bias.h +++ b/dnn/test/common/conv_bias.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/conv_bias.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/conv_pooling.cpp b/dnn/test/common/conv_pooling.cpp index 8a40018c..9f3a1573 100644 --- a/dnn/test/common/conv_pooling.cpp +++ b/dnn/test/common/conv_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/conv_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/conv_pooling.h" namespace megdnn { diff --git a/dnn/test/common/conv_pooling.h b/dnn/test/common/conv_pooling.h index 5ca9e346..04c9a168 100644 --- a/dnn/test/common/conv_pooling.h +++ b/dnn/test/common/conv_pooling.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/conv_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/convolution.cpp b/dnn/test/common/convolution.cpp index 41c05c1c..59ad7250 100644 --- a/dnn/test/common/convolution.cpp +++ b/dnn/test/common/convolution.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/convolution.h" #include "src/common/algo_base.h" #include "test/common/checker.h" diff --git a/dnn/test/common/convolution.h b/dnn/test/common/convolution.h index d7caa331..6669f421 100644 --- a/dnn/test/common/convolution.h +++ b/dnn/test/common/convolution.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/convolution.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include diff --git a/dnn/test/common/convolution3d.cpp b/dnn/test/common/convolution3d.cpp index 4b985c82..f37c8017 100644 --- a/dnn/test/common/convolution3d.cpp +++ b/dnn/test/common/convolution3d.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/convolution3d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/convolution3d.h" #include #include diff --git a/dnn/test/common/convolution3d.h b/dnn/test/common/convolution3d.h index 6358bbe2..b82884aa 100644 --- a/dnn/test/common/convolution3d.h +++ b/dnn/test/common/convolution3d.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/convolution3d.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/common/correlation.h b/dnn/test/common/correlation.h index 25a7a102..41371ad3 100644 --- a/dnn/test/common/correlation.h +++ b/dnn/test/common/correlation.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/correlation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/cvt_color.h b/dnn/test/common/cvt_color.h index 348a88ec..e7567aa4 100644 --- a/dnn/test/common/cvt_color.h +++ b/dnn/test/common/cvt_color.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/cvt_color.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/dct_ref.cpp b/dnn/test/common/dct_ref.cpp index bbe2fe44..1e52edab 100644 --- a/dnn/test/common/dct_ref.cpp +++ b/dnn/test/common/dct_ref.cpp @@ -1,15 +1,3 @@ -/** - * \file - * dnn/test/common/dct_ref.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/dct_ref.h" namespace megdnn { namespace test { diff --git a/dnn/test/common/dct_ref.h b/dnn/test/common/dct_ref.h index 23f895c6..9fbacb0a 100644 --- a/dnn/test/common/dct_ref.h +++ b/dnn/test/common/dct_ref.h @@ -1,15 +1,3 @@ -/** - * \file - * dnn/test/common/dct_ref.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include diff --git a/dnn/test/common/deduce_layout_proxy.h b/dnn/test/common/deduce_layout_proxy.h index 5992e779..cbc13ef5 100644 --- a/dnn/test/common/deduce_layout_proxy.h +++ b/dnn/test/common/deduce_layout_proxy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/deduce_layout_proxy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/dtype.cpp b/dnn/test/common/dtype.cpp index df763ccb..027c87f1 100644 --- a/dnn/test/common/dtype.cpp +++ b/dnn/test/common/dtype.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/dtype.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/dtype.h" #include #include "megdnn/dtype/bfloat16.hpp" diff --git a/dnn/test/common/elemwise.cpp b/dnn/test/common/elemwise.cpp index 51922571..f705f17c 100644 --- a/dnn/test/common/elemwise.cpp +++ b/dnn/test/common/elemwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/elemwise.h" #include "src/common/utils.cuh" #include "test/common/checker.h" diff --git a/dnn/test/common/elemwise.h b/dnn/test/common/elemwise.h index e41c854d..e1649d7a 100644 --- a/dnn/test/common/elemwise.h +++ b/dnn/test/common/elemwise.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/elemwise.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/elemwise_multi_type.cpp b/dnn/test/common/elemwise_multi_type.cpp index 7c4844bd..b50d853c 100644 --- a/dnn/test/common/elemwise_multi_type.cpp +++ b/dnn/test/common/elemwise_multi_type.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/elemwise_multi_type.h" #include "test/common/checker.h" #include "test/common/utils.h" diff --git a/dnn/test/common/elemwise_multi_type.h b/dnn/test/common/elemwise_multi_type.h index 632ce5fd..1a9797d5 100644 --- a/dnn/test/common/elemwise_multi_type.h +++ b/dnn/test/common/elemwise_multi_type.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/elemwise_multi_type.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/exec_proxy.h b/dnn/test/common/exec_proxy.h index da8c9c46..dd4bb532 100644 --- a/dnn/test/common/exec_proxy.h +++ b/dnn/test/common/exec_proxy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/exec_proxy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/extra_impl_helper.cpp b/dnn/test/common/extra_impl_helper.cpp index 38a13859..08df7823 100644 --- a/dnn/test/common/extra_impl_helper.cpp +++ b/dnn/test/common/extra_impl_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file test/common/extra_impl_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/extra_impl_helper.h" namespace megdnn { diff --git a/dnn/test/common/extra_impl_helper.h b/dnn/test/common/extra_impl_helper.h index 7ea7513b..e5bfdd8a 100644 --- a/dnn/test/common/extra_impl_helper.h +++ b/dnn/test/common/extra_impl_helper.h @@ -1,13 +1,3 @@ -/** - * \file test/common/extra_impl_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/fake_quant.h b/dnn/test/common/fake_quant.h index a30b29de..14c004e9 100644 --- a/dnn/test/common/fake_quant.h +++ b/dnn/test/common/fake_quant.h @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/fake_quant.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/fast_run_cache.cpp b/dnn/test/common/fast_run_cache.cpp index 35ef3886..07f16a50 100644 --- a/dnn/test/common/fast_run_cache.cpp +++ b/dnn/test/common/fast_run_cache.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/fast_run_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/fast_run_cache.h" #include "src/common/utils.h" diff --git a/dnn/test/common/fast_run_cache.h b/dnn/test/common/fast_run_cache.h index 9960d6a9..cf665eaf 100644 --- a/dnn/test/common/fast_run_cache.h +++ b/dnn/test/common/fast_run_cache.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/fast_run_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/test/common/fill.h b/dnn/test/common/fill.h index 921db9c4..dc741443 100644 --- a/dnn/test/common/fill.h +++ b/dnn/test/common/fill.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/fill.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/fix_gtest_on_platforms_without_exception.inl b/dnn/test/common/fix_gtest_on_platforms_without_exception.inl index b18cceb4..a90ec148 100644 --- a/dnn/test/common/fix_gtest_on_platforms_without_exception.inl +++ b/dnn/test/common/fix_gtest_on_platforms_without_exception.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/fix_gtest_on_platforms_without_exception.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/arch.h" #if !MEGDNN_ENABLE_EXCEPTIONS diff --git a/dnn/test/common/flip.h b/dnn/test/common/flip.h index 5b68e125..deb8bff9 100644 --- a/dnn/test/common/flip.h +++ b/dnn/test/common/flip.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/flip.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/gaussian_blur.h b/dnn/test/common/gaussian_blur.h index a124f569..52422770 100644 --- a/dnn/test/common/gaussian_blur.h +++ b/dnn/test/common/gaussian_blur.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/gaussian_blur.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/get_dtype_from_static_type.h b/dnn/test/common/get_dtype_from_static_type.h index 52a64ad8..853b92ee 100644 --- a/dnn/test/common/get_dtype_from_static_type.h +++ b/dnn/test/common/get_dtype_from_static_type.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/get_dtype_from_static_type.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/test/common/group_local.h b/dnn/test/common/group_local.h index afbe4a28..661d2380 100644 --- a/dnn/test/common/group_local.h +++ b/dnn/test/common/group_local.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/group_local.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/images2neibs.h b/dnn/test/common/images2neibs.h index 1963d7c5..411e24b6 100644 --- a/dnn/test/common/images2neibs.h +++ b/dnn/test/common/images2neibs.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/images2neibs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/index.cpp b/dnn/test/common/index.cpp index ecb6afe4..fb459c7b 100644 --- a/dnn/test/common/index.cpp +++ b/dnn/test/common/index.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/index.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/index.h" #include "test/common/utils.h" diff --git a/dnn/test/common/index.h b/dnn/test/common/index.h index 88e77792..98170a4b 100644 --- a/dnn/test/common/index.h +++ b/dnn/test/common/index.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/index.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "test/common/rng.h" diff --git a/dnn/test/common/indexing_multi_axis_vec.h b/dnn/test/common/indexing_multi_axis_vec.h index 4f1db7e8..ebb9e314 100644 --- a/dnn/test/common/indexing_multi_axis_vec.h +++ b/dnn/test/common/indexing_multi_axis_vec.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/indexing_multi_axis_vec.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "test/common/opr_proxy.h" diff --git a/dnn/test/common/indexing_one_hot.cpp b/dnn/test/common/indexing_one_hot.cpp index 808d99b3..47cddfbb 100644 --- a/dnn/test/common/indexing_one_hot.cpp +++ b/dnn/test/common/indexing_one_hot.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/indexing_one_hot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/indexing_one_hot.h" #include "test/common/checker.h" diff --git a/dnn/test/common/indexing_one_hot.h b/dnn/test/common/indexing_one_hot.h index 564454d4..5d37297f 100644 --- a/dnn/test/common/indexing_one_hot.h +++ b/dnn/test/common/indexing_one_hot.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/indexing_one_hot.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/inspect_type.h b/dnn/test/common/inspect_type.h index 91f981b3..a8f759d0 100644 --- a/dnn/test/common/inspect_type.h +++ b/dnn/test/common/inspect_type.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/inspect_type.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once namespace megdnn { diff --git a/dnn/test/common/local.h b/dnn/test/common/local.h index 73597ad0..d346299e 100644 --- a/dnn/test/common/local.h +++ b/dnn/test/common/local.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/local.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/lsq.h b/dnn/test/common/lsq.h index edf18b8b..828f2658 100644 --- a/dnn/test/common/lsq.h +++ b/dnn/test/common/lsq.h @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/lsq.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/mask_conv.h b/dnn/test/common/mask_conv.h index 39ff29d0..35c39123 100644 --- a/dnn/test/common/mask_conv.h +++ b/dnn/test/common/mask_conv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/mask_conv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/common/matrix_mul.cpp b/dnn/test/common/matrix_mul.cpp index fc009633..31c5b7e1 100644 --- a/dnn/test/common/matrix_mul.cpp +++ b/dnn/test/common/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/matrix_mul.h" #include "src/common/utils.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/common/matrix_mul.h b/dnn/test/common/matrix_mul.h index 91ababf1..1b3f2fe0 100644 --- a/dnn/test/common/matrix_mul.h +++ b/dnn/test/common/matrix_mul.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/matrix_mul.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/test/common/megcore/computing.cpp b/dnn/test/common/megcore/computing.cpp index 43c8d059..99ce2017 100644 --- a/dnn/test/common/megcore/computing.cpp +++ b/dnn/test/common/megcore/computing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/megcore/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megcore.h" #include diff --git a/dnn/test/common/megcore/device.cpp b/dnn/test/common/megcore/device.cpp index 13e629ee..c58edffe 100644 --- a/dnn/test/common/megcore/device.cpp +++ b/dnn/test/common/megcore/device.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/megcore/device.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include diff --git a/dnn/test/common/memory_manager.cpp b/dnn/test/common/memory_manager.cpp index b43d8fd3..31b95e51 100644 --- a/dnn/test/common/memory_manager.cpp +++ b/dnn/test/common/memory_manager.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/memory_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./memory_manager.h" #include "src/common/utils.h" diff --git a/dnn/test/common/memory_manager.h b/dnn/test/common/memory_manager.h index 8478a059..1f60a321 100644 --- a/dnn/test/common/memory_manager.h +++ b/dnn/test/common/memory_manager.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/memory_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/common/mesh_indexing.h b/dnn/test/common/mesh_indexing.h index e58e3227..9be48b07 100644 --- a/dnn/test/common/mesh_indexing.h +++ b/dnn/test/common/mesh_indexing.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/mesh_indexing.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/named_tensor.cpp b/dnn/test/common/named_tensor.cpp index 85b22856..af4c13d7 100644 --- a/dnn/test/common/named_tensor.cpp +++ b/dnn/test/common/named_tensor.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/named_tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/named_tensor.h" // clang-format off diff --git a/dnn/test/common/null_dispatcher.h b/dnn/test/common/null_dispatcher.h index f5c0fbf5..d37bd76a 100644 --- a/dnn/test/common/null_dispatcher.h +++ b/dnn/test/common/null_dispatcher.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/null_dispatcher.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore.h" diff --git a/dnn/test/common/opr_algo_proxy.h b/dnn/test/common/opr_algo_proxy.h index 05c095a2..3b0cd772 100644 --- a/dnn/test/common/opr_algo_proxy.h +++ b/dnn/test/common/opr_algo_proxy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/opr_algo_proxy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/opr_proxy.h b/dnn/test/common/opr_proxy.h index 9744b4eb..873859c6 100644 --- a/dnn/test/common/opr_proxy.h +++ b/dnn/test/common/opr_proxy.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/opr_proxy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "src/common/opr_trait.h" diff --git a/dnn/test/common/padding.h b/dnn/test/common/padding.h index 8902472c..937d84f0 100644 --- a/dnn/test/common/padding.h +++ b/dnn/test/common/padding.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/padding.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include diff --git a/dnn/test/common/pooling.h b/dnn/test/common/pooling.h index 9f965692..2399f2d8 100644 --- a/dnn/test/common/pooling.h +++ b/dnn/test/common/pooling.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/powc.cpp b/dnn/test/common/powc.cpp index cc38c75f..657d109b 100644 --- a/dnn/test/common/powc.cpp +++ b/dnn/test/common/powc.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/powc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/powc.h" #include "test/common/checker.h" diff --git a/dnn/test/common/powc.h b/dnn/test/common/powc.h index 44cf091b..61d31bbd 100644 --- a/dnn/test/common/powc.h +++ b/dnn/test/common/powc.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/powc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/random_state.cpp b/dnn/test/common/random_state.cpp index 5ff594a9..beee4653 100644 --- a/dnn/test/common/random_state.cpp +++ b/dnn/test/common/random_state.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/random_state.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/random_state.h" namespace megdnn { diff --git a/dnn/test/common/random_state.h b/dnn/test/common/random_state.h index 2dbf26e4..ad49b52b 100644 --- a/dnn/test/common/random_state.h +++ b/dnn/test/common/random_state.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/random_state.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/common/relayout.cpp b/dnn/test/common/relayout.cpp index 2b4f33af..df61ca98 100644 --- a/dnn/test/common/relayout.cpp +++ b/dnn/test/common/relayout.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "src/common/relayout_helper.h" diff --git a/dnn/test/common/relayout.h b/dnn/test/common/relayout.h index b41296c9..66d797e0 100644 --- a/dnn/test/common/relayout.h +++ b/dnn/test/common/relayout.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/relayout.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/remap.h b/dnn/test/common/remap.h index 9ae64d20..9ca41e29 100644 --- a/dnn/test/common/remap.h +++ b/dnn/test/common/remap.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/remap.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/resize.h b/dnn/test/common/resize.h index 1de67615..4c457908 100644 --- a/dnn/test/common/resize.h +++ b/dnn/test/common/resize.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/resize.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/rng.cpp b/dnn/test/common/rng.cpp index 1c921940..364baa69 100644 --- a/dnn/test/common/rng.cpp +++ b/dnn/test/common/rng.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/rng.h" #include diff --git a/dnn/test/common/rng.h b/dnn/test/common/rng.h index 9c6646b7..911f80c1 100644 --- a/dnn/test/common/rng.h +++ b/dnn/test/common/rng.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/rng.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/dtype.h" diff --git a/dnn/test/common/roi_copy.h b/dnn/test/common/roi_copy.h index 1f4b3e65..46cd617b 100644 --- a/dnn/test/common/roi_copy.h +++ b/dnn/test/common/roi_copy.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/roi_copy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/roi_pooling.h b/dnn/test/common/roi_pooling.h index 0853c50e..a14dfb51 100644 --- a/dnn/test/common/roi_pooling.h +++ b/dnn/test/common/roi_pooling.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/roi_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "test/common/random_state.h" diff --git a/dnn/test/common/rotate.h b/dnn/test/common/rotate.h index 507db5d5..d0cb7cf4 100644 --- a/dnn/test/common/rotate.h +++ b/dnn/test/common/rotate.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/rotate.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/separable.cpp b/dnn/test/common/separable.cpp index 3131455a..7b6f2b14 100644 --- a/dnn/test/common/separable.cpp +++ b/dnn/test/common/separable.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/separable.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/separable_conv.h" namespace megdnn { diff --git a/dnn/test/common/separable_conv.h b/dnn/test/common/separable_conv.h index 52758345..514eca9d 100644 --- a/dnn/test/common/separable_conv.h +++ b/dnn/test/common/separable_conv.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/separable_conv.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/separable_filter.h b/dnn/test/common/separable_filter.h index c448bb35..45705c3b 100644 --- a/dnn/test/common/separable_filter.h +++ b/dnn/test/common/separable_filter.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/separable_filter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/sliding_window_transpose.h b/dnn/test/common/sliding_window_transpose.h index 9e0ce135..faa0965f 100644 --- a/dnn/test/common/sliding_window_transpose.h +++ b/dnn/test/common/sliding_window_transpose.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/sliding_window_transpose.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/small_vector.cpp b/dnn/test/common/small_vector.cpp index ef69dc31..be045d7f 100644 --- a/dnn/test/common/small_vector.cpp +++ b/dnn/test/common/small_vector.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/small_vector.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ //===- llvm/unittest/ADT/SmallVectorTest.cpp ------------------------------===// // // The LLVM Compiler Infrastructure diff --git a/dnn/test/common/softmax.h b/dnn/test/common/softmax.h index aff5b3af..863c6644 100644 --- a/dnn/test/common/softmax.h +++ b/dnn/test/common/softmax.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/softmax.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/svd.cpp b/dnn/test/common/svd.cpp index 7364d8fb..748a2fed 100644 --- a/dnn/test/common/svd.cpp +++ b/dnn/test/common/svd.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/svd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/svd.h" #include "test/common/checker.h" #include "test/common/rng.h" diff --git a/dnn/test/common/svd.h b/dnn/test/common/svd.h index 585c50e6..dcf612a1 100644 --- a/dnn/test/common/svd.h +++ b/dnn/test/common/svd.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/svd.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "./checker.h" diff --git a/dnn/test/common/task_executor.cpp b/dnn/test/common/task_executor.cpp index d352722e..fcf54b4c 100644 --- a/dnn/test/common/task_executor.cpp +++ b/dnn/test/common/task_executor.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/task_executor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/utils.h" #if MEGDNN_ENABLE_MULTI_THREADS diff --git a/dnn/test/common/task_record_check.h b/dnn/test/common/task_record_check.h index 5373f1f3..d5dd1d1e 100644 --- a/dnn/test/common/task_record_check.h +++ b/dnn/test/common/task_record_check.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/task_record_check.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/test/common/tensor.cpp b/dnn/test/common/tensor.cpp index 462cc8b5..2d659a5b 100644 --- a/dnn/test/common/tensor.cpp +++ b/dnn/test/common/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/tensor.h" #include "test/common/random_state.h" diff --git a/dnn/test/common/tensor.h b/dnn/test/common/tensor.h index a5ff608d..19ac3379 100644 --- a/dnn/test/common/tensor.h +++ b/dnn/test/common/tensor.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/test/common/tensor.inl b/dnn/test/common/tensor.inl index 8023acb8..8e6dfa66 100644 --- a/dnn/test/common/tensor.inl +++ b/dnn/test/common/tensor.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/tensor.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./tensor.h" #include diff --git a/dnn/test/common/tensor_remap.cpp b/dnn/test/common/tensor_remap.cpp index 5f13ae5c..fc27cec6 100644 --- a/dnn/test/common/tensor_remap.cpp +++ b/dnn/test/common/tensor_remap.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/tensor_remap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/tensor_remap.h" #include diff --git a/dnn/test/common/tensor_remap.h b/dnn/test/common/tensor_remap.h index c94257dc..d2f09af9 100644 --- a/dnn/test/common/tensor_remap.h +++ b/dnn/test/common/tensor_remap.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/tensor_remap.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/test/common/test_basic_types.cpp b/dnn/test/common/test_basic_types.cpp index c9856c64..64bfcfe3 100644 --- a/dnn/test/common/test_basic_types.cpp +++ b/dnn/test/common/test_basic_types.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/test_basic_types.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/basic_types.h" #include "megdnn/tensor_format.h" diff --git a/dnn/test/common/tile_repeat.h b/dnn/test/common/tile_repeat.h index b7fffafc..c3359a8c 100644 --- a/dnn/test/common/tile_repeat.h +++ b/dnn/test/common/tile_repeat.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/tile_repeat.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/oprs.h" diff --git a/dnn/test/common/timer.h b/dnn/test/common/timer.h index dcbbaa02..26114106 100644 --- a/dnn/test/common/timer.h +++ b/dnn/test/common/timer.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/timer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "test/common/utils.h" diff --git a/dnn/test/common/topk.cpp b/dnn/test/common/topk.cpp index bce05e67..854db993 100644 --- a/dnn/test/common/topk.cpp +++ b/dnn/test/common/topk.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/common/topk.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/topk.h" #include "megdnn/dtype.h" #include "megdnn/oprs/general.h" diff --git a/dnn/test/common/topk.h b/dnn/test/common/topk.h index 8defbfab..1163433c 100644 --- a/dnn/test/common/topk.h +++ b/dnn/test/common/topk.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/topk.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/handle.h" diff --git a/dnn/test/common/tqt.h b/dnn/test/common/tqt.h index f6ab9e62..3d447089 100644 --- a/dnn/test/common/tqt.h +++ b/dnn/test/common/tqt.h @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/tqt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/utils.cpp b/dnn/test/common/utils.cpp index a7f0dd73..2db27ede 100644 --- a/dnn/test/common/utils.cpp +++ b/dnn/test/common/utils.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/utils.h" #include "megcore.h" #include "megdnn/basic_types.h" diff --git a/dnn/test/common/utils.h b/dnn/test/common/utils.h index 33764d48..c91a1813 100644 --- a/dnn/test/common/utils.h +++ b/dnn/test/common/utils.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/common/warp_affine.h b/dnn/test/common/warp_affine.h index ad67ea1d..d360af7d 100644 --- a/dnn/test/common/warp_affine.h +++ b/dnn/test/common/warp_affine.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/warp_affine.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/common/warp_perspective.cpp b/dnn/test/common/warp_perspective.cpp index 124e85ea..0ffab87d 100644 --- a/dnn/test/common/warp_perspective.cpp +++ b/dnn/test/common/warp_perspective.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/common/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/warp_perspective.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/common/warp_perspective.h b/dnn/test/common/warp_perspective.h index c4a9792f..aa9ae1c9 100644 --- a/dnn/test/common/warp_perspective.h +++ b/dnn/test/common/warp_perspective.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/warp_perspective.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "test/common/random_state.h" #include "test/common/rng.h" diff --git a/dnn/test/common/winograd_filter_preprocess.h b/dnn/test/common/winograd_filter_preprocess.h index 29199eae..7eb51ca1 100644 --- a/dnn/test/common/winograd_filter_preprocess.h +++ b/dnn/test/common/winograd_filter_preprocess.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/winograd_filter_preprocess.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "megdnn/basic_types.h" diff --git a/dnn/test/common/workspace_wrapper.cpp b/dnn/test/common/workspace_wrapper.cpp index c2581ba4..727d237f 100644 --- a/dnn/test/common/workspace_wrapper.cpp +++ b/dnn/test/common/workspace_wrapper.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/workspace_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/workspace_wrapper.h" #include "test/common/utils.h" diff --git a/dnn/test/common/workspace_wrapper.h b/dnn/test/common/workspace_wrapper.h index 89412477..bfcba246 100644 --- a/dnn/test/common/workspace_wrapper.h +++ b/dnn/test/common/workspace_wrapper.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/common/workspace_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" #include "megdnn/handle.h" diff --git a/dnn/test/cpu/batched_matrix_mul.cpp b/dnn/test/cpu/batched_matrix_mul.cpp index fccfb810..2df468e1 100644 --- a/dnn/test/cpu/batched_matrix_mul.cpp +++ b/dnn/test/cpu/batched_matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/batched_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include diff --git a/dnn/test/cpu/convolution.cpp b/dnn/test/cpu/convolution.cpp index d2688c52..f5fb3d91 100644 --- a/dnn/test/cpu/convolution.cpp +++ b/dnn/test/cpu/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cpu/fixture.cpp b/dnn/test/cpu/fixture.cpp index 098c51c3..4129fbbb 100644 --- a/dnn/test/cpu/fixture.cpp +++ b/dnn/test/cpu/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/memory_manager.h" diff --git a/dnn/test/cpu/fixture.h b/dnn/test/cpu/fixture.h index a1c62cc5..fc45fcab 100644 --- a/dnn/test/cpu/fixture.h +++ b/dnn/test/cpu/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/cpu/group_local.cpp b/dnn/test/cpu/group_local.cpp index a9cfe68e..f0b449a6 100644 --- a/dnn/test/cpu/group_local.cpp +++ b/dnn/test/cpu/group_local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/group_local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/checker.h" diff --git a/dnn/test/cpu/local.cpp b/dnn/test/cpu/local.cpp index 73746cb3..38a278a9 100644 --- a/dnn/test/cpu/local.cpp +++ b/dnn/test/cpu/local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cpu/mask_conv.cpp b/dnn/test/cpu/mask_conv.cpp index 4e0d79b8..4ac5cf02 100644 --- a/dnn/test/cpu/mask_conv.cpp +++ b/dnn/test/cpu/mask_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cpu/mask_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/cpu/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cpu/matrix_mul.cpp b/dnn/test/cpu/matrix_mul.cpp index 2dfb9337..6b7a6090 100644 --- a/dnn/test/cpu/matrix_mul.cpp +++ b/dnn/test/cpu/matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include diff --git a/dnn/test/cpu/matrix_mul_int_8x8x16.cpp b/dnn/test/cpu/matrix_mul_int_8x8x16.cpp index 10330acf..07392ff7 100644 --- a/dnn/test/cpu/matrix_mul_int_8x8x16.cpp +++ b/dnn/test/cpu/matrix_mul_int_8x8x16.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/matrix_mul_int_8x8x16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cpu/matrix_mul_int_8x8x32.cpp b/dnn/test/cpu/matrix_mul_int_8x8x32.cpp index 41ccedc3..9a22d0f9 100644 --- a/dnn/test/cpu/matrix_mul_int_8x8x32.cpp +++ b/dnn/test/cpu/matrix_mul_int_8x8x32.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/matrix_mul_int_8x8x32.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cpu/pooling.cpp b/dnn/test/cpu/pooling.cpp index 0c50ba43..15670e76 100644 --- a/dnn/test/cpu/pooling.cpp +++ b/dnn/test/cpu/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cpu/relayout.cpp b/dnn/test/cpu/relayout.cpp index a2fdba61..680d8a54 100644 --- a/dnn/test/cpu/relayout.cpp +++ b/dnn/test/cpu/relayout.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cpu/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/relayout.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/cpu/resize.cpp b/dnn/test/cpu/resize.cpp index bc336873..bf7153ca 100644 --- a/dnn/test/cpu/resize.cpp +++ b/dnn/test/cpu/resize.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/resize.h" #include "test/common/checker.h" #include "test/cpu/fixture.h" diff --git a/dnn/test/cpu/task_executor.cpp b/dnn/test/cpu/task_executor.cpp index 818e3dc3..96fd8a76 100644 --- a/dnn/test/cpu/task_executor.cpp +++ b/dnn/test/cpu/task_executor.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cpu/task_executor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "src/naive/handle.h" #include "test/common/utils.h" #include "test/cpu/fixture.h" diff --git a/dnn/test/cpu/type_cvt.cpp b/dnn/test/cpu/type_cvt.cpp index 553e5535..9948874a 100644 --- a/dnn/test/cpu/type_cvt.cpp +++ b/dnn/test/cpu/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cpu/warp_affine.cpp b/dnn/test/cpu/warp_affine.cpp index 70e8a6c0..19704037 100644 --- a/dnn/test/cpu/warp_affine.cpp +++ b/dnn/test/cpu/warp_affine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/warp_affine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/warp_affine.h" #include "test/common/checker.h" #include "test/cpu/fixture.h" diff --git a/dnn/test/cpu/warp_perspective.cpp b/dnn/test/cpu/warp_perspective.cpp index d1caf598..838f387a 100644 --- a/dnn/test/cpu/warp_perspective.cpp +++ b/dnn/test/cpu/warp_perspective.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cpu/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/accuracy_shake.cpp b/dnn/test/cuda/accuracy_shake.cpp index 2e37b3ce..2ccc6225 100644 --- a/dnn/test/cuda/accuracy_shake.cpp +++ b/dnn/test/cuda/accuracy_shake.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/accuracy_shake.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/adaptive_pooling.cpp b/dnn/test/cuda/adaptive_pooling.cpp index fe2d0b1b..6cc9c280 100644 --- a/dnn/test/cuda/adaptive_pooling.cpp +++ b/dnn/test/cuda/adaptive_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/adaptive_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/test/cuda/add_update.cpp b/dnn/test/cuda/add_update.cpp index f605949b..1bc6d656 100644 --- a/dnn/test/cuda/add_update.cpp +++ b/dnn/test/cuda/add_update.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/argmxx.cpp b/dnn/test/cuda/argmxx.cpp index 02bc90e6..98980f57 100644 --- a/dnn/test/cuda/argmxx.cpp +++ b/dnn/test/cuda/argmxx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/argmxx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/argsort.cpp b/dnn/test/cuda/argsort.cpp index cfb633e2..c8fcb1e2 100644 --- a/dnn/test/cuda/argsort.cpp +++ b/dnn/test/cuda/argsort.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/argsort.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/batch_conv_bias.cpp b/dnn/test/cuda/batch_conv_bias.cpp index 4bca8069..84633903 100644 --- a/dnn/test/cuda/batch_conv_bias.cpp +++ b/dnn/test/cuda/batch_conv_bias.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/batch_conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/basic_types.h" #include "megdnn/dtype.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/cuda/batched_matrix_mul.cpp b/dnn/test/cuda/batched_matrix_mul.cpp index 73b120ce..907ad085 100644 --- a/dnn/test/cuda/batched_matrix_mul.cpp +++ b/dnn/test/cuda/batched_matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/batched_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/benchmark.cpp b/dnn/test/cuda/benchmark.cpp index 29b0cace..cc4a0db7 100644 --- a/dnn/test/cuda/benchmark.cpp +++ b/dnn/test/cuda/benchmark.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/benchmark.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/benchmark.h b/dnn/test/cuda/benchmark.h index 85dce557..bbdc4fa9 100644 --- a/dnn/test/cuda/benchmark.h +++ b/dnn/test/cuda/benchmark.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/benchmark.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megcore_cuda.h" diff --git a/dnn/test/cuda/bn.cpp b/dnn/test/cuda/bn.cpp index 92540aba..ad4cdd31 100644 --- a/dnn/test/cuda/bn.cpp +++ b/dnn/test/cuda/bn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/bn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/cuda/chanwise_convolution.cpp b/dnn/test/cuda/chanwise_convolution.cpp index edbc582d..18a84693 100644 --- a/dnn/test/cuda/chanwise_convolution.cpp +++ b/dnn/test/cuda/chanwise_convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/chanwise_convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "cuda.h" diff --git a/dnn/test/cuda/chanwise_convolution3d.cpp b/dnn/test/cuda/chanwise_convolution3d.cpp index 00ce1dd1..8c1490fe 100644 --- a/dnn/test/cuda/chanwise_convolution3d.cpp +++ b/dnn/test/cuda/chanwise_convolution3d.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/chanwise_convolution3d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "megcore_cuda.h" diff --git a/dnn/test/cuda/check_non_finite.cpp b/dnn/test/cuda/check_non_finite.cpp index ed147a81..cd5c1e1d 100644 --- a/dnn/test/cuda/check_non_finite.cpp +++ b/dnn/test/cuda/check_non_finite.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/check_non_finite.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "test/common/checker.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/checksum.cpp b/dnn/test/cuda/checksum.cpp index e3f5821b..2ace7a37 100644 --- a/dnn/test/cuda/checksum.cpp +++ b/dnn/test/cuda/checksum.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/checksum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "test/common/checker.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/concat.cpp b/dnn/test/cuda/concat.cpp index 5d32d5c8..c21dbfc3 100644 --- a/dnn/test/cuda/concat.cpp +++ b/dnn/test/cuda/concat.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/concat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/cond_take.cpp b/dnn/test/cuda/cond_take.cpp index bc83fe71..dfdf7619 100644 --- a/dnn/test/cuda/cond_take.cpp +++ b/dnn/test/cuda/cond_take.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/cond_take.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/cond_take.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/conv_bias.cpp b/dnn/test/cuda/conv_bias.cpp index 19dec239..74ce4f43 100644 --- a/dnn/test/cuda/conv_bias.cpp +++ b/dnn/test/cuda/conv_bias.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/conv_bias_int8.cpp b/dnn/test/cuda/conv_bias_int8.cpp index 2b3cde64..2210deb5 100644 --- a/dnn/test/cuda/conv_bias_int8.cpp +++ b/dnn/test/cuda/conv_bias_int8.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/conv_bias_int8.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/test/cuda/conv_pooling.cpp b/dnn/test/cuda/conv_pooling.cpp index 2b0a4419..512b6006 100644 --- a/dnn/test/cuda/conv_pooling.cpp +++ b/dnn/test/cuda/conv_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/conv_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/cuda/conv_test_utils.cpp b/dnn/test/cuda/conv_test_utils.cpp index b58a529b..a61a162b 100644 --- a/dnn/test/cuda/conv_test_utils.cpp +++ b/dnn/test/cuda/conv_test_utils.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/conv_test_utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/test/cuda/conv_test_utils.h b/dnn/test/cuda/conv_test_utils.h index 40edc8fa..632f71ec 100644 --- a/dnn/test/cuda/conv_test_utils.h +++ b/dnn/test/cuda/conv_test_utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/conv_test_utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #pragma once #include "megdnn/oprs/nn.h" diff --git a/dnn/test/cuda/convolution.cpp b/dnn/test/cuda/convolution.cpp index 48a40986..25a7e666 100644 --- a/dnn/test/cuda/convolution.cpp +++ b/dnn/test/cuda/convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/convolution.h" #include "megdnn/dtype.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/cuda/convolution3d.cpp b/dnn/test/cuda/convolution3d.cpp index db16f7e1..9449a3ca 100644 --- a/dnn/test/cuda/convolution3d.cpp +++ b/dnn/test/cuda/convolution3d.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/convolution3d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/convolution3d.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/correlation.cpp b/dnn/test/cuda/correlation.cpp index 3d7a4f65..1251661e 100644 --- a/dnn/test/cuda/correlation.cpp +++ b/dnn/test/cuda/correlation.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/correlation.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/cumsum.cpp b/dnn/test/cuda/cumsum.cpp index 2d6c5a58..ea872372 100644 --- a/dnn/test/cuda/cumsum.cpp +++ b/dnn/test/cuda/cumsum.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/cumsum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/cutlass_matmul.cpp b/dnn/test/cuda/cutlass_matmul.cpp index 72b5b9f4..cd07d245 100644 --- a/dnn/test/cuda/cutlass_matmul.cpp +++ b/dnn/test/cuda/cutlass_matmul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/cutlass_matmul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include #include "megdnn/oprs/linalg.h" diff --git a/dnn/test/cuda/cvt_color.cpp b/dnn/test/cuda/cvt_color.cpp index a187fd28..06137089 100644 --- a/dnn/test/cuda/cvt_color.cpp +++ b/dnn/test/cuda/cvt_color.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/cvt_color.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/cvt_color.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/dct.cpp b/dnn/test/cuda/dct.cpp index c0e320d2..0ef93dff 100644 --- a/dnn/test/cuda/dct.cpp +++ b/dnn/test/cuda/dct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/dct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/deformable_conv.cpp b/dnn/test/cuda/deformable_conv.cpp index adac9783..11d96d70 100644 --- a/dnn/test/cuda/deformable_conv.cpp +++ b/dnn/test/cuda/deformable_conv.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/deformable_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/cuda/utils.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/deformable_ps_roi_pooling.cpp b/dnn/test/cuda/deformable_ps_roi_pooling.cpp index d88af2c5..38f1ff46 100644 --- a/dnn/test/cuda/deformable_ps_roi_pooling.cpp +++ b/dnn/test/cuda/deformable_ps_roi_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/deformable_ps_roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/cuda/utils.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/diag.cpp b/dnn/test/cuda/diag.cpp index 91d485ca..85739b69 100644 --- a/dnn/test/cuda/diag.cpp +++ b/dnn/test/cuda/diag.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/diag.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/dilated_convolution.cpp b/dnn/test/cuda/dilated_convolution.cpp index ef246730..530afe9a 100644 --- a/dnn/test/cuda/dilated_convolution.cpp +++ b/dnn/test/cuda/dilated_convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/dilated_convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "src/cuda/cudnn_with_check.h" diff --git a/dnn/test/cuda/dot.cpp b/dnn/test/cuda/dot.cpp index ba37a557..d11b6ad5 100644 --- a/dnn/test/cuda/dot.cpp +++ b/dnn/test/cuda/dot.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/dot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "test/common/checker.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/elemwise.cpp b/dnn/test/cuda/elemwise.cpp index ae4b5fe5..92bfa491 100644 --- a/dnn/test/cuda/elemwise.cpp +++ b/dnn/test/cuda/elemwise.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/elemwise.h" #include "./utils.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/elemwise_multi_type.cpp b/dnn/test/cuda/elemwise_multi_type.cpp index 7edc060b..23182bc7 100644 --- a/dnn/test/cuda/elemwise_multi_type.cpp +++ b/dnn/test/cuda/elemwise_multi_type.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/elemwise_multi_type.h" #include "megdnn/oprs/nn_int.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/eye.cpp b/dnn/test/cuda/eye.cpp index b9a0fa83..f1e924b1 100644 --- a/dnn/test/cuda/eye.cpp +++ b/dnn/test/cuda/eye.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/eye.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/fake_quant.cpp b/dnn/test/cuda/fake_quant.cpp index e55557a0..4106f89d 100644 --- a/dnn/test/cuda/fake_quant.cpp +++ b/dnn/test/cuda/fake_quant.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/fake_quant.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/fake_quant.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/fill.cpp b/dnn/test/cuda/fill.cpp index 19eaf35c..e652503a 100644 --- a/dnn/test/cuda/fill.cpp +++ b/dnn/test/cuda/fill.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/fill.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/fill.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/fixture.cpp b/dnn/test/cuda/fixture.cpp index 21b8c13c..1496a8e7 100644 --- a/dnn/test/cuda/fixture.cpp +++ b/dnn/test/cuda/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "src/cuda/handle.h" #include "src/cuda/utils.h" diff --git a/dnn/test/cuda/fixture.h b/dnn/test/cuda/fixture.h index beb9ee92..be906110 100644 --- a/dnn/test/cuda/fixture.h +++ b/dnn/test/cuda/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "test/common/fix_gtest_on_platforms_without_exception.inl" diff --git a/dnn/test/cuda/flip.cpp b/dnn/test/cuda/flip.cpp index fffb947e..a960248e 100644 --- a/dnn/test/cuda/flip.cpp +++ b/dnn/test/cuda/flip.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/flip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/cuda/gaussian_blur.cpp b/dnn/test/cuda/gaussian_blur.cpp index 4bf2a59f..950ca2bc 100644 --- a/dnn/test/cuda/gaussian_blur.cpp +++ b/dnn/test/cuda/gaussian_blur.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/gaussian_blur.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/gaussian_blur.h" #include "test/common/checker.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/group_conv.cpp b/dnn/test/cuda/group_conv.cpp index 7770711f..f43da65c 100644 --- a/dnn/test/cuda/group_conv.cpp +++ b/dnn/test/cuda/group_conv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/group_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cuda/group_conv3d.cpp b/dnn/test/cuda/group_conv3d.cpp index 1db645bc..2bdb18fe 100644 --- a/dnn/test/cuda/group_conv3d.cpp +++ b/dnn/test/cuda/group_conv3d.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/group_conv3d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cuda/group_local.cpp b/dnn/test/cuda/group_local.cpp index 790c5e61..c3577a7e 100644 --- a/dnn/test/cuda/group_local.cpp +++ b/dnn/test/cuda/group_local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/group_local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/images2neibs.cpp b/dnn/test/cuda/images2neibs.cpp index b67b0f8a..b97002f1 100644 --- a/dnn/test/cuda/images2neibs.cpp +++ b/dnn/test/cuda/images2neibs.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/images2neibs.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/indexing_multi_axis_vec.cpp b/dnn/test/cuda/indexing_multi_axis_vec.cpp index 09aeb3ad..5c88bd80 100644 --- a/dnn/test/cuda/indexing_multi_axis_vec.cpp +++ b/dnn/test/cuda/indexing_multi_axis_vec.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/indexing_multi_axis_vec.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/indexing_one_hot.cpp b/dnn/test/cuda/indexing_one_hot.cpp index 779819b4..170d8c78 100644 --- a/dnn/test/cuda/indexing_one_hot.cpp +++ b/dnn/test/cuda/indexing_one_hot.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/indexing_one_hot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/indexing_one_hot.h" #include "test/common/benchmarker.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/layer_norm.cpp b/dnn/test/cuda/layer_norm.cpp index b4d04204..6744df70 100644 --- a/dnn/test/cuda/layer_norm.cpp +++ b/dnn/test/cuda/layer_norm.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/layer_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/linspace.cpp b/dnn/test/cuda/linspace.cpp index d41020d8..8ba907e2 100644 --- a/dnn/test/cuda/linspace.cpp +++ b/dnn/test/cuda/linspace.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/linspace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/local.cpp b/dnn/test/cuda/local.cpp index 3625658b..756c9c0a 100644 --- a/dnn/test/cuda/local.cpp +++ b/dnn/test/cuda/local.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include diff --git a/dnn/test/cuda/local/local.cu b/dnn/test/cuda/local/local.cu index d2c56d80..d02a42d6 100644 --- a/dnn/test/cuda/local/local.cu +++ b/dnn/test/cuda/local/local.cu @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/local/local.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "./local.h" #include diff --git a/dnn/test/cuda/local/local.h b/dnn/test/cuda/local/local.h index 75177572..f54c2abd 100644 --- a/dnn/test/cuda/local/local.h +++ b/dnn/test/cuda/local/local.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/local/local.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/cuda/local_share.cpp b/dnn/test/cuda/local_share.cpp index eac69949..7d6c13cc 100644 --- a/dnn/test/cuda/local_share.cpp +++ b/dnn/test/cuda/local_share.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/local_share.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/nn.h" #include "src/common/utils.h" diff --git a/dnn/test/cuda/lrn.cpp b/dnn/test/cuda/lrn.cpp index 9a12debf..1c8ff17a 100644 --- a/dnn/test/cuda/lrn.cpp +++ b/dnn/test/cuda/lrn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/lrn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/lsq.cpp b/dnn/test/cuda/lsq.cpp index fc07e82f..3edad505 100644 --- a/dnn/test/cuda/lsq.cpp +++ b/dnn/test/cuda/lsq.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/lsq.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/lsq.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/mask_conv.cpp b/dnn/test/cuda/mask_conv.cpp index 27ec7967..85fe95cd 100644 --- a/dnn/test/cuda/mask_conv.cpp +++ b/dnn/test/cuda/mask_conv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/mask_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/cuda/matrix_inverse.cpp b/dnn/test/cuda/matrix_inverse.cpp index 4823cfaa..07cd50d6 100644 --- a/dnn/test/cuda/matrix_inverse.cpp +++ b/dnn/test/cuda/matrix_inverse.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/matrix_inverse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs/linalg.h" diff --git a/dnn/test/cuda/matrix_mul.cpp b/dnn/test/cuda/matrix_mul.cpp index 0a1c44c7..9e802166 100644 --- a/dnn/test/cuda/matrix_mul.cpp +++ b/dnn/test/cuda/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cuda/megcore/computing.cpp b/dnn/test/cuda/megcore/computing.cpp index 8703f940..c8facdc8 100644 --- a/dnn/test/cuda/megcore/computing.cpp +++ b/dnn/test/cuda/megcore/computing.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/megcore/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include "megcore_cuda.h" diff --git a/dnn/test/cuda/megcore/device.cpp b/dnn/test/cuda/megcore/device.cpp index d7ed1c7a..18ee63e1 100644 --- a/dnn/test/cuda/megcore/device.cpp +++ b/dnn/test/cuda/megcore/device.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/megcore/device.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megcore.h" #include diff --git a/dnn/test/cuda/megcore/fixture.cpp b/dnn/test/cuda/megcore/fixture.cpp index b92ba9b7..d345f05e 100644 --- a/dnn/test/cuda/megcore/fixture.cpp +++ b/dnn/test/cuda/megcore/fixture.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/megcore/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./fixture.h" #include "test/cuda/utils.h" diff --git a/dnn/test/cuda/megcore/fixture.h b/dnn/test/cuda/megcore/fixture.h index 93063493..6a14f89e 100644 --- a/dnn/test/cuda/megcore/fixture.h +++ b/dnn/test/cuda/megcore/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/megcore/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/cuda/mesh_indexing.cpp b/dnn/test/cuda/mesh_indexing.cpp index 9957a597..c3d007a3 100644 --- a/dnn/test/cuda/mesh_indexing.cpp +++ b/dnn/test/cuda/mesh_indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/mesh_indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/mesh_indexing.h" #include "megdnn/basic_types.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/padding.cpp b/dnn/test/cuda/padding.cpp index 7969706d..75f9f3d7 100644 --- a/dnn/test/cuda/padding.cpp +++ b/dnn/test/cuda/padding.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/padding.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/padding.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/param_pack.cpp b/dnn/test/cuda/param_pack.cpp index 70e201e6..a67f2957 100644 --- a/dnn/test/cuda/param_pack.cpp +++ b/dnn/test/cuda/param_pack.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/param_pack.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/checker.h" #include "test/common/utils.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/pooling.cpp b/dnn/test/cuda/pooling.cpp index 4fb03048..150bd95b 100644 --- a/dnn/test/cuda/pooling.cpp +++ b/dnn/test/cuda/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/test/cuda/powc.cpp b/dnn/test/cuda/powc.cpp index b29df4f2..d51fff8c 100644 --- a/dnn/test/cuda/powc.cpp +++ b/dnn/test/cuda/powc.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/powc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/powc.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/reduce.cpp b/dnn/test/cuda/reduce.cpp index ba46a613..9fb45a66 100644 --- a/dnn/test/cuda/reduce.cpp +++ b/dnn/test/cuda/reduce.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs.h" #include "test/common/checker.h" #include "test/common/rng.h" diff --git a/dnn/test/cuda/relayout.cpp b/dnn/test/cuda/relayout.cpp index 33a2ebbe..030b227e 100644 --- a/dnn/test/cuda/relayout.cpp +++ b/dnn/test/cuda/relayout.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/relayout.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/relayout_format.cpp b/dnn/test/cuda/relayout_format.cpp index 72e5c527..aed5c25c 100644 --- a/dnn/test/cuda/relayout_format.cpp +++ b/dnn/test/cuda/relayout_format.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/relayout_format.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/remap.cpp b/dnn/test/cuda/remap.cpp index d737d55e..d7ab2da9 100644 --- a/dnn/test/cuda/remap.cpp +++ b/dnn/test/cuda/remap.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/remap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/common/remap.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/repeat.cpp b/dnn/test/cuda/repeat.cpp index b2bb2af3..bada2e57 100644 --- a/dnn/test/cuda/repeat.cpp +++ b/dnn/test/cuda/repeat.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/repeat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/resize.cpp b/dnn/test/cuda/resize.cpp index b2d25521..3a2b09d5 100644 --- a/dnn/test/cuda/resize.cpp +++ b/dnn/test/cuda/resize.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/resize.h" #include "src/common/cv/enums.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cuda/rng.cpp b/dnn/test/cuda/rng.cpp index 3b0b705d..0c60ecf1 100644 --- a/dnn/test/cuda/rng.cpp +++ b/dnn/test/cuda/rng.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/rng.h" #include "megdnn/oprs.h" #include "test/common/tensor.h" diff --git a/dnn/test/cuda/roi_align.cpp b/dnn/test/cuda/roi_align.cpp index a36c7373..76f9181b 100644 --- a/dnn/test/cuda/roi_align.cpp +++ b/dnn/test/cuda/roi_align.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/roi_align.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/roi_copy.cpp b/dnn/test/cuda/roi_copy.cpp index 5bf1208d..046c0755 100644 --- a/dnn/test/cuda/roi_copy.cpp +++ b/dnn/test/cuda/roi_copy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/roi_copy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/cuda/roi_pooling.cpp b/dnn/test/cuda/roi_pooling.cpp index adc7fe59..13100382 100644 --- a/dnn/test/cuda/roi_pooling.cpp +++ b/dnn/test/cuda/roi_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/rotate.cpp b/dnn/test/cuda/rotate.cpp index 142caa15..dbbe115f 100644 --- a/dnn/test/cuda/rotate.cpp +++ b/dnn/test/cuda/rotate.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/rotate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/cuda/sleep.cpp b/dnn/test/cuda/sleep.cpp index 47d7d2bc..546b40a9 100644 --- a/dnn/test/cuda/sleep.cpp +++ b/dnn/test/cuda/sleep.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/sleep.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../src/common/utils.h" #include "megdnn/oprs.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/sliding_window_transpose.cpp b/dnn/test/cuda/sliding_window_transpose.cpp index 74f78bd2..9720d72a 100644 --- a/dnn/test/cuda/sliding_window_transpose.cpp +++ b/dnn/test/cuda/sliding_window_transpose.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/softmax.cpp b/dnn/test/cuda/softmax.cpp index 75d19821..8300276d 100644 --- a/dnn/test/cuda/softmax.cpp +++ b/dnn/test/cuda/softmax.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/tensor_iter.h" diff --git a/dnn/test/cuda/split.cpp b/dnn/test/cuda/split.cpp index bdcfad19..99468c59 100644 --- a/dnn/test/cuda/split.cpp +++ b/dnn/test/cuda/split.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/split.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/svd.cpp b/dnn/test/cuda/svd.cpp index 9c071d6c..9822e69d 100644 --- a/dnn/test/cuda/svd.cpp +++ b/dnn/test/cuda/svd.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/svd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "megdnn/oprs/linalg.h" diff --git a/dnn/test/cuda/tensor_remap.cpp b/dnn/test/cuda/tensor_remap.cpp index 6b7e4277..6efc021c 100644 --- a/dnn/test/cuda/tensor_remap.cpp +++ b/dnn/test/cuda/tensor_remap.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/tensor_remap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/tile.cpp b/dnn/test/cuda/tile.cpp index 6c78f45e..931bc910 100644 --- a/dnn/test/cuda/tile.cpp +++ b/dnn/test/cuda/tile.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/tile.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/timer.h b/dnn/test/cuda/timer.h index 309d891c..acf3edd2 100644 --- a/dnn/test/cuda/timer.h +++ b/dnn/test/cuda/timer.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/timer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include diff --git a/dnn/test/cuda/topk.cpp b/dnn/test/cuda/topk.cpp index b72ad98b..680ec8b7 100644 --- a/dnn/test/cuda/topk.cpp +++ b/dnn/test/cuda/topk.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/topk.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/topk.h" #include "test/cuda/fixture.h" diff --git a/dnn/test/cuda/tqt.cpp b/dnn/test/cuda/tqt.cpp index 293142d8..c2d7ee08 100644 --- a/dnn/test/cuda/tqt.cpp +++ b/dnn/test/cuda/tqt.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/cuda/tqt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/common/tqt.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/transpose.cpp b/dnn/test/cuda/transpose.cpp index 32d0156d..2df85e55 100644 --- a/dnn/test/cuda/transpose.cpp +++ b/dnn/test/cuda/transpose.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cuda/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/type_cvt.cpp b/dnn/test/cuda/type_cvt.cpp index 9f6adc5a..f637623f 100644 --- a/dnn/test/cuda/type_cvt.cpp +++ b/dnn/test/cuda/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/oprs.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/cuda/utils.cpp b/dnn/test/cuda/utils.cpp index 778e18eb..46fd6c6c 100644 --- a/dnn/test/cuda/utils.cpp +++ b/dnn/test/cuda/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./utils.h" namespace megdnn { diff --git a/dnn/test/cuda/utils.h b/dnn/test/cuda/utils.h index 2d2396e1..71762c1c 100644 --- a/dnn/test/cuda/utils.h +++ b/dnn/test/cuda/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include diff --git a/dnn/test/cuda/warp_affine.cpp b/dnn/test/cuda/warp_affine.cpp index f6e46167..56b7ab0f 100644 --- a/dnn/test/cuda/warp_affine.cpp +++ b/dnn/test/cuda/warp_affine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/cuda/warp_affine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/warp_affine.h" #include "include/megdnn/thin/small_vector.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/cuda/warp_perspective.cpp b/dnn/test/cuda/warp_perspective.cpp index e2cabfa7..e6f35e5d 100644 --- a/dnn/test/cuda/warp_perspective.cpp +++ b/dnn/test/cuda/warp_perspective.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/cuda/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/cuda/fixture.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/dispatcher/null.cpp b/dnn/test/dispatcher/null.cpp index adf987bb..9407240e 100644 --- a/dnn/test/dispatcher/null.cpp +++ b/dnn/test/dispatcher/null.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/dispatcher/null.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include #include "megdnn/oprs.h" diff --git a/dnn/test/dispatcher/warp_perspective.cpp b/dnn/test/dispatcher/warp_perspective.cpp index a635e452..85d8dfeb 100644 --- a/dnn/test/dispatcher/warp_perspective.cpp +++ b/dnn/test/dispatcher/warp_perspective.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/dispatcher/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/cpu/fixture.h" #include "megdnn/oprs/imgproc.h" diff --git a/dnn/test/fallback/concat.cpp b/dnn/test/fallback/concat.cpp index 69eede6e..7180a810 100644 --- a/dnn/test/fallback/concat.cpp +++ b/dnn/test/fallback/concat.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/concat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/conv_bias.cpp b/dnn/test/fallback/conv_bias.cpp index b28f287b..194d0c56 100644 --- a/dnn/test/fallback/conv_bias.cpp +++ b/dnn/test/fallback/conv_bias.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/conv_bias.h" #include "megdnn/opr_param_defs.h" #include "megdnn/oprs.h" diff --git a/dnn/test/fallback/convolution.cpp b/dnn/test/fallback/convolution.cpp index 84515f10..5a6a29c8 100644 --- a/dnn/test/fallback/convolution.cpp +++ b/dnn/test/fallback/convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/dtype.h" #include "test/fallback/fixture.h" diff --git a/dnn/test/fallback/elemwise.cpp b/dnn/test/fallback/elemwise.cpp index 8d58a692..84122b7f 100644 --- a/dnn/test/fallback/elemwise.cpp +++ b/dnn/test/fallback/elemwise.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/fallback/fixture.h" #include diff --git a/dnn/test/fallback/elemwise_multi_type.cpp b/dnn/test/fallback/elemwise_multi_type.cpp index 9069ac8d..0ec57b2b 100644 --- a/dnn/test/fallback/elemwise_multi_type.cpp +++ b/dnn/test/fallback/elemwise_multi_type.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/elemwise_multi_type.h" #include "test/common/benchmarker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/fallback/fixture.cpp b/dnn/test/fallback/fixture.cpp index abbbe0ea..8c93f945 100644 --- a/dnn/test/fallback/fixture.cpp +++ b/dnn/test/fallback/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/memory_manager.h" diff --git a/dnn/test/fallback/fixture.h b/dnn/test/fallback/fixture.h index d1bc64ab..23605749 100644 --- a/dnn/test/fallback/fixture.h +++ b/dnn/test/fallback/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/fallback/flip.cpp b/dnn/test/fallback/flip.cpp index 78b26070..c07db0ab 100644 --- a/dnn/test/fallback/flip.cpp +++ b/dnn/test/fallback/flip.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/flip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/fallback/gaussian_blur.cpp b/dnn/test/fallback/gaussian_blur.cpp index f31d6bbc..aa7c5777 100644 --- a/dnn/test/fallback/gaussian_blur.cpp +++ b/dnn/test/fallback/gaussian_blur.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/gaussian_blur.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/gaussian_blur.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/fallback/matrix_mul.cpp b/dnn/test/fallback/matrix_mul.cpp index 33b153d4..c1a121bc 100644 --- a/dnn/test/fallback/matrix_mul.cpp +++ b/dnn/test/fallback/matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/matrix_mul.h" #include "test/common/checker.h" #include "test/common/rng.h" diff --git a/dnn/test/fallback/powc.cpp b/dnn/test/fallback/powc.cpp index 4894871e..1855c12a 100644 --- a/dnn/test/fallback/powc.cpp +++ b/dnn/test/fallback/powc.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/powc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/powc.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/fallback/reduce.cpp b/dnn/test/fallback/reduce.cpp index c508649b..5007cc2a 100644 --- a/dnn/test/fallback/reduce.cpp +++ b/dnn/test/fallback/reduce.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/fallback/relayout.cpp b/dnn/test/fallback/relayout.cpp index 1f82a3e2..e70439ff 100644 --- a/dnn/test/fallback/relayout.cpp +++ b/dnn/test/fallback/relayout.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/repeat.cpp b/dnn/test/fallback/repeat.cpp index ad62fc5a..a97404a8 100644 --- a/dnn/test/fallback/repeat.cpp +++ b/dnn/test/fallback/repeat.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/repeat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/resize.cpp b/dnn/test/fallback/resize.cpp index d9b2b48e..0c8dde9a 100644 --- a/dnn/test/fallback/resize.cpp +++ b/dnn/test/fallback/resize.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/resize.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/fallback/roi_copy.cpp b/dnn/test/fallback/roi_copy.cpp index 37f98901..59a1c106 100644 --- a/dnn/test/fallback/roi_copy.cpp +++ b/dnn/test/fallback/roi_copy.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/roi_copy.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/fallback/rotate.cpp b/dnn/test/fallback/rotate.cpp index fc34aeac..794b482e 100644 --- a/dnn/test/fallback/rotate.cpp +++ b/dnn/test/fallback/rotate.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/fallback/rotate.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn.h" diff --git a/dnn/test/fallback/split.cpp b/dnn/test/fallback/split.cpp index efac9c2e..d75391f8 100644 --- a/dnn/test/fallback/split.cpp +++ b/dnn/test/fallback/split.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/split.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/tile.cpp b/dnn/test/fallback/tile.cpp index 0c63966b..71ceb613 100644 --- a/dnn/test/fallback/tile.cpp +++ b/dnn/test/fallback/tile.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/tile.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/type_cvt.cpp b/dnn/test/fallback/type_cvt.cpp index 67084dad..8210153f 100644 --- a/dnn/test/fallback/type_cvt.cpp +++ b/dnn/test/fallback/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/fallback/warp_perspective.cpp b/dnn/test/fallback/warp_perspective.cpp index 34c4c813..e8c00911 100644 --- a/dnn/test/fallback/warp_perspective.cpp +++ b/dnn/test/fallback/warp_perspective.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/fallback/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/fallback/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/gtest_main.cpp b/dnn/test/gtest_main.cpp index 17778a7a..6064d871 100644 --- a/dnn/test/gtest_main.cpp +++ b/dnn/test/gtest_main.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/gtest_main.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megdnn/basic_types.h" #include "src/common/utils.h" diff --git a/dnn/test/main.cpp b/dnn/test/main.cpp index c2f391f0..0b4aa84c 100644 --- a/dnn/test/main.cpp +++ b/dnn/test/main.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/main.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - extern "C" int gtest_main(int argc, char** argv); int main(int argc, char** argv) { diff --git a/dnn/test/naive/add_update.cpp b/dnn/test/naive/add_update.cpp index 10b9ff7b..1cc21933 100644 --- a/dnn/test/naive/add_update.cpp +++ b/dnn/test/naive/add_update.cpp @@ -1,15 +1,3 @@ -/** - * \file test/naive/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/naive/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/naive/check_non_finite.cpp b/dnn/test/naive/check_non_finite.cpp index c5f6b501..bb59e2ad 100644 --- a/dnn/test/naive/check_non_finite.cpp +++ b/dnn/test/naive/check_non_finite.cpp @@ -1,14 +1,3 @@ -/** - * \file test/naive/check_non_finite.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/naive/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/naive/conv_bias.cpp b/dnn/test/naive/conv_bias.cpp index eb7f517a..b21d29bf 100644 --- a/dnn/test/naive/conv_bias.cpp +++ b/dnn/test/naive/conv_bias.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/naive/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/oprs/nn.h" #include "test/common/checker.h" #include "test/common/workspace_wrapper.h" diff --git a/dnn/test/naive/convolution.cpp b/dnn/test/naive/convolution.cpp index 2798418c..f269d4ac 100644 --- a/dnn/test/naive/convolution.cpp +++ b/dnn/test/naive/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/cvt_color.cpp b/dnn/test/naive/cvt_color.cpp index c73683db..fbb395e9 100644 --- a/dnn/test/naive/cvt_color.cpp +++ b/dnn/test/naive/cvt_color.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/cvt_color.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/cvt_color.h" #include "test/common/checker.h" #include "test/common/rng.h" diff --git a/dnn/test/naive/dct.cpp b/dnn/test/naive/dct.cpp index 27cd107e..40315ace 100644 --- a/dnn/test/naive/dct.cpp +++ b/dnn/test/naive/dct.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/dct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megdnn/oprs/nn.h" #include "test/common/checker.h" #include "test/common/dct_ref.h" diff --git a/dnn/test/naive/deformable_conv.cpp b/dnn/test/naive/deformable_conv.cpp index 908824c0..5c64ae6d 100644 --- a/dnn/test/naive/deformable_conv.cpp +++ b/dnn/test/naive/deformable_conv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/deformable_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/deformable_ps_roi_pooling.cpp b/dnn/test/naive/deformable_ps_roi_pooling.cpp index b443d0ad..b180be22 100644 --- a/dnn/test/naive/deformable_ps_roi_pooling.cpp +++ b/dnn/test/naive/deformable_ps_roi_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/deformable_ps_roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/diag.cpp b/dnn/test/naive/diag.cpp index 4a560617..b69998ac 100644 --- a/dnn/test/naive/diag.cpp +++ b/dnn/test/naive/diag.cpp @@ -1,15 +1,3 @@ -/** - * \file dnn/test/naive/diag.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megdnn/dtype.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/elemwise_multi_type.cpp b/dnn/test/naive/elemwise_multi_type.cpp index 423efdac..0617aa4c 100644 --- a/dnn/test/naive/elemwise_multi_type.cpp +++ b/dnn/test/naive/elemwise_multi_type.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/general.h" #include "megdnn/oprs/nn_int.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/fixture.cpp b/dnn/test/naive/fixture.cpp index a0be2c76..03fc4426 100644 --- a/dnn/test/naive/fixture.cpp +++ b/dnn/test/naive/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "test/common/memory_manager.h" diff --git a/dnn/test/naive/fixture.h b/dnn/test/naive/fixture.h index b0fba346..18324ea6 100644 --- a/dnn/test/naive/fixture.h +++ b/dnn/test/naive/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/naive/images2neibs.cpp b/dnn/test/naive/images2neibs.cpp index 83cc0123..39424fc8 100644 --- a/dnn/test/naive/images2neibs.cpp +++ b/dnn/test/naive/images2neibs.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/images2neibs.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/lsq.cpp b/dnn/test/naive/lsq.cpp index e53a4e0e..16081694 100644 --- a/dnn/test/naive/lsq.cpp +++ b/dnn/test/naive/lsq.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/lstm.cpp b/dnn/test/naive/lstm.cpp index 96f51ca9..48007541 100644 --- a/dnn/test/naive/lstm.cpp +++ b/dnn/test/naive/lstm.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/lstm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // #include "test/common/lstm.h" #include "megdnn/dtype.h" #include "megdnn/oprs.h" diff --git a/dnn/test/naive/lstmcell.cpp b/dnn/test/naive/lstmcell.cpp index 1d6091a3..db5c17a8 100644 --- a/dnn/test/naive/lstmcell.cpp +++ b/dnn/test/naive/lstmcell.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/lstmcell.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/matrix_inverse.cpp b/dnn/test/naive/matrix_inverse.cpp index fa759b1f..bf74d446 100644 --- a/dnn/test/naive/matrix_inverse.cpp +++ b/dnn/test/naive/matrix_inverse.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/matrix_inverse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megdnn/oprs/linalg.h" #include "test/common/rng.h" #include "test/common/tensor.h" diff --git a/dnn/test/naive/matrix_mul.cpp b/dnn/test/naive/matrix_mul.cpp index df8d41b8..0d3cd96b 100644 --- a/dnn/test/naive/matrix_mul.cpp +++ b/dnn/test/naive/matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/linalg.h" diff --git a/dnn/test/naive/mesh_indexing.cpp b/dnn/test/naive/mesh_indexing.cpp index 7e39c351..53d5f276 100644 --- a/dnn/test/naive/mesh_indexing.cpp +++ b/dnn/test/naive/mesh_indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/mesh_indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/mesh_indexing.h" #include "megdnn/basic_types.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/padding.cpp b/dnn/test/naive/padding.cpp index 161c1a65..a12624c4 100644 --- a/dnn/test/naive/padding.cpp +++ b/dnn/test/naive/padding.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/padding.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/padding.h" #include "megdnn/dtype.h" #include "megdnn/oprs.h" diff --git a/dnn/test/naive/pooling.cpp b/dnn/test/naive/pooling.cpp index f0988fea..4c27b3e9 100644 --- a/dnn/test/naive/pooling.cpp +++ b/dnn/test/naive/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/record1.cpp b/dnn/test/naive/record1.cpp index 33f7d1b0..a715782a 100644 --- a/dnn/test/naive/record1.cpp +++ b/dnn/test/naive/record1.cpp @@ -1,15 +1,3 @@ -/** - * \file test/naive/record1.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "test/naive/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/naive/reduce.cpp b/dnn/test/naive/reduce.cpp index 06241186..c85e1879 100644 --- a/dnn/test/naive/reduce.cpp +++ b/dnn/test/naive/reduce.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/relayout_format.cpp b/dnn/test/naive/relayout_format.cpp index 4e3416ec..be04973c 100644 --- a/dnn/test/naive/relayout_format.cpp +++ b/dnn/test/naive/relayout_format.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/relayout_format.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/resize.cpp b/dnn/test/naive/resize.cpp index 1291b1c6..814ad943 100644 --- a/dnn/test/naive/resize.cpp +++ b/dnn/test/naive/resize.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/resize.h" #include "megdnn/oprs/cv.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/rng.cpp b/dnn/test/naive/rng.cpp index 40f1c520..adc8fea3 100644 --- a/dnn/test/naive/rng.cpp +++ b/dnn/test/naive/rng.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/naive/rng.h" #include "megdnn.h" #include "test/common/tensor.h" diff --git a/dnn/test/naive/rng.h b/dnn/test/naive/rng.h index ad90fd89..efe50330 100644 --- a/dnn/test/naive/rng.h +++ b/dnn/test/naive/rng.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/rng.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/dnn/test/naive/rnn.cpp b/dnn/test/naive/rnn.cpp index 46b95e92..b2787f4b 100644 --- a/dnn/test/naive/rnn.cpp +++ b/dnn/test/naive/rnn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/rnn_cell.cpp b/dnn/test/naive/rnn_cell.cpp index 48de6128..d0be4b50 100644 --- a/dnn/test/naive/rnn_cell.cpp +++ b/dnn/test/naive/rnn_cell.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/rnncell.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megdnn/dtype.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/naive/sliding_window_transpose.cpp b/dnn/test/naive/sliding_window_transpose.cpp index 787db3ae..9b643c3c 100644 --- a/dnn/test/naive/sliding_window_transpose.cpp +++ b/dnn/test/naive/sliding_window_transpose.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/softmax.cpp b/dnn/test/naive/softmax.cpp index 62a3ec13..94e278c8 100644 --- a/dnn/test/naive/softmax.cpp +++ b/dnn/test/naive/softmax.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/naive/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/naive/svd.cpp b/dnn/test/naive/svd.cpp index 5b65680a..5cb53ff7 100644 --- a/dnn/test/naive/svd.cpp +++ b/dnn/test/naive/svd.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/svd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/linalg.h" diff --git a/dnn/test/naive/type_cvt.cpp b/dnn/test/naive/type_cvt.cpp index 06bc6446..92510e2e 100644 --- a/dnn/test/naive/type_cvt.cpp +++ b/dnn/test/naive/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/checker.h" #include "test/common/convolution.h" #include "test/common/random_state.h" diff --git a/dnn/test/naive/warp_afffine.cpp b/dnn/test/naive/warp_afffine.cpp index aaae2048..855f5b34 100644 --- a/dnn/test/naive/warp_afffine.cpp +++ b/dnn/test/naive/warp_afffine.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/warp_afffine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/cv.h" diff --git a/dnn/test/naive/warp_perspective.cpp b/dnn/test/naive/warp_perspective.cpp index a5902456..a3f8ae1d 100644 --- a/dnn/test/naive/warp_perspective.cpp +++ b/dnn/test/naive/warp_perspective.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/naive/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/fixture.h" #include "megdnn/oprs/cv.h" diff --git a/dnn/test/rocm/adaptive_pooling.cpp b/dnn/test/rocm/adaptive_pooling.cpp index 57eeca1a..b87ea9a2 100644 --- a/dnn/test/rocm/adaptive_pooling.cpp +++ b/dnn/test/rocm/adaptive_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/rocm/adaptive_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/add_update.cpp b/dnn/test/rocm/add_update.cpp index 9368d647..dab0aa83 100644 --- a/dnn/test/rocm/add_update.cpp +++ b/dnn/test/rocm/add_update.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/argmxx.cpp b/dnn/test/rocm/argmxx.cpp index fbe2470d..1ae8e44c 100644 --- a/dnn/test/rocm/argmxx.cpp +++ b/dnn/test/rocm/argmxx.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/argmxx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/rocm/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/argsort.cpp b/dnn/test/rocm/argsort.cpp index a5a2d8aa..e5beefe3 100644 --- a/dnn/test/rocm/argsort.cpp +++ b/dnn/test/rocm/argsort.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/argsort.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/rocm/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/rocm/batched_matrix_mul.cpp b/dnn/test/rocm/batched_matrix_mul.cpp index 1ba209bd..c056cae4 100644 --- a/dnn/test/rocm/batched_matrix_mul.cpp +++ b/dnn/test/rocm/batched_matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/batched_matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/benchmark.cpp b/dnn/test/rocm/benchmark.cpp index 3ceb6af8..11b6c267 100644 --- a/dnn/test/rocm/benchmark.cpp +++ b/dnn/test/rocm/benchmark.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/benchmark.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/benchmarker.h b/dnn/test/rocm/benchmarker.h index 22d895c3..274c7d7f 100644 --- a/dnn/test/rocm/benchmarker.h +++ b/dnn/test/rocm/benchmarker.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/benchmarker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megdnn/basic_types.h" diff --git a/dnn/test/rocm/benchmarker.inl b/dnn/test/rocm/benchmarker.inl index 819e2dfa..4c447899 100644 --- a/dnn/test/rocm/benchmarker.inl +++ b/dnn/test/rocm/benchmarker.inl @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/benchmarker.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "test/rocm/benchmarker.h" diff --git a/dnn/test/rocm/bn.cpp b/dnn/test/rocm/bn.cpp index 39880dcb..5ffc6652 100644 --- a/dnn/test/rocm/bn.cpp +++ b/dnn/test/rocm/bn.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/rocm/bn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/rocm/fixture.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/rocm/chanwise_convolution.cpp b/dnn/test/rocm/chanwise_convolution.cpp index fd567ee9..8813a037 100644 --- a/dnn/test/rocm/chanwise_convolution.cpp +++ b/dnn/test/rocm/chanwise_convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/rocm/chanwise_convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "include/hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs/nn.h" diff --git a/dnn/test/rocm/checksum.cpp b/dnn/test/rocm/checksum.cpp index fb5967f1..3c590bd4 100644 --- a/dnn/test/rocm/checksum.cpp +++ b/dnn/test/rocm/checksum.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/checksum.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/convolution.cpp b/dnn/test/rocm/convolution.cpp index 82abf9a4..febaec0f 100644 --- a/dnn/test/rocm/convolution.cpp +++ b/dnn/test/rocm/convolution.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/convolution.h" #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/rocm/elemwise.cpp b/dnn/test/rocm/elemwise.cpp index 81833f5b..0df11bc6 100644 --- a/dnn/test/rocm/elemwise.cpp +++ b/dnn/test/rocm/elemwise.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/eye.cpp b/dnn/test/rocm/eye.cpp index 3dd580b7..faf85201 100644 --- a/dnn/test/rocm/eye.cpp +++ b/dnn/test/rocm/eye.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/eye.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/fill.cpp b/dnn/test/rocm/fill.cpp index 7829029d..993083b6 100644 --- a/dnn/test/rocm/fill.cpp +++ b/dnn/test/rocm/fill.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/fill.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/fill.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/fixture.cpp b/dnn/test/rocm/fixture.cpp index 5f1aa636..bdcfc1b4 100644 --- a/dnn/test/rocm/fixture.cpp +++ b/dnn/test/rocm/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/rocm/fixture.h" #include "hcc_detail/hcc_defs_prologue.h" #include "src/rocm/handle.h" diff --git a/dnn/test/rocm/fixture.h b/dnn/test/rocm/fixture.h index a9f6a963..e45f5bfd 100644 --- a/dnn/test/rocm/fixture.h +++ b/dnn/test/rocm/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include #include "test/common/fix_gtest_on_platforms_without_exception.inl" diff --git a/dnn/test/rocm/indexing_multi_axis_vec.cpp b/dnn/test/rocm/indexing_multi_axis_vec.cpp index c42dddba..f344c636 100644 --- a/dnn/test/rocm/indexing_multi_axis_vec.cpp +++ b/dnn/test/rocm/indexing_multi_axis_vec.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/rocm/indexing_multi_axis_vec.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/benchmarker.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/indexing_one_hot.cpp b/dnn/test/rocm/indexing_one_hot.cpp index d1695f9f..476b4064 100644 --- a/dnn/test/rocm/indexing_one_hot.cpp +++ b/dnn/test/rocm/indexing_one_hot.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/indexing_one_hot.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/common/benchmarker.h" diff --git a/dnn/test/rocm/linspace.cpp b/dnn/test/rocm/linspace.cpp index 60fb6a9b..ebf1ef98 100644 --- a/dnn/test/rocm/linspace.cpp +++ b/dnn/test/rocm/linspace.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/linspace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/matrix_mul.cpp b/dnn/test/rocm/matrix_mul.cpp index 0eaf80a7..bb5c7b11 100644 --- a/dnn/test/rocm/matrix_mul.cpp +++ b/dnn/test/rocm/matrix_mul.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/megcore/computing.cpp b/dnn/test/rocm/megcore/computing.cpp index 0d3a7c69..d4573eea 100644 --- a/dnn/test/rocm/megcore/computing.cpp +++ b/dnn/test/rocm/megcore/computing.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/megcore/computing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megcore.h" #include "megcore_rocm.h" diff --git a/dnn/test/rocm/megcore/device.cpp b/dnn/test/rocm/megcore/device.cpp index 2a8b325d..f7fdd1c0 100644 --- a/dnn/test/rocm/megcore/device.cpp +++ b/dnn/test/rocm/megcore/device.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/megcore/device.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megcore.h" diff --git a/dnn/test/rocm/megcore/fixture.cpp b/dnn/test/rocm/megcore/fixture.cpp index 8421a21c..a9afc6f8 100644 --- a/dnn/test/rocm/megcore/fixture.cpp +++ b/dnn/test/rocm/megcore/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/megcore/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "./fixture.h" diff --git a/dnn/test/rocm/megcore/fixture.h b/dnn/test/rocm/megcore/fixture.h index 1aa5ddaf..cb2c5155 100644 --- a/dnn/test/rocm/megcore/fixture.h +++ b/dnn/test/rocm/megcore/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/megcore/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/rocm/param_pack.cpp b/dnn/test/rocm/param_pack.cpp index b2cd8628..8d1ef2a4 100644 --- a/dnn/test/rocm/param_pack.cpp +++ b/dnn/test/rocm/param_pack.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/param_pack.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/pooling.cpp b/dnn/test/rocm/pooling.cpp index 11382831..9d636640 100644 --- a/dnn/test/rocm/pooling.cpp +++ b/dnn/test/rocm/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/powc.cpp b/dnn/test/rocm/powc.cpp index c0b3e7c8..c473b2e1 100644 --- a/dnn/test/rocm/powc.cpp +++ b/dnn/test/rocm/powc.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/powc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/powc.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/reduce.cpp b/dnn/test/rocm/reduce.cpp index 956a6263..30e82a59 100644 --- a/dnn/test/rocm/reduce.cpp +++ b/dnn/test/rocm/reduce.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/relayout.cpp b/dnn/test/rocm/relayout.cpp index 75e11270..c0cef5d4 100644 --- a/dnn/test/rocm/relayout.cpp +++ b/dnn/test/rocm/relayout.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/relayout.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/rng.cpp b/dnn/test/rocm/rng.cpp index 5127ab14..352fc35c 100644 --- a/dnn/test/rocm/rng.cpp +++ b/dnn/test/rocm/rng.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/naive/rng.h" #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" diff --git a/dnn/test/rocm/sleep.cpp b/dnn/test/rocm/sleep.cpp index fe9f1fa0..e4e1c900 100644 --- a/dnn/test/rocm/sleep.cpp +++ b/dnn/test/rocm/sleep.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/sleep.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" #include "test/rocm/fixture.h" diff --git a/dnn/test/rocm/topk.cpp b/dnn/test/rocm/topk.cpp index 65b04453..be5b3f58 100644 --- a/dnn/test/rocm/topk.cpp +++ b/dnn/test/rocm/topk.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/topk.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "test/common/topk.h" diff --git a/dnn/test/rocm/type_cvt.cpp b/dnn/test/rocm/type_cvt.cpp index 084e11ba..8f86dcf9 100644 --- a/dnn/test/rocm/type_cvt.cpp +++ b/dnn/test/rocm/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/rocm/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "hcc_detail/hcc_defs_prologue.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/rocm/utils.h b/dnn/test/rocm/utils.h index 9c8fcc34..972029fb 100644 --- a/dnn/test/rocm/utils.h +++ b/dnn/test/rocm/utils.h @@ -1,14 +1,3 @@ -/** - * \file dnn/test/rocm/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include "src/rocm/utils.h.hip" diff --git a/dnn/test/x86/accuracy_shake.cpp b/dnn/test/x86/accuracy_shake.cpp index e183b2c8..d5f7613d 100644 --- a/dnn/test/x86/accuracy_shake.cpp +++ b/dnn/test/x86/accuracy_shake.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/accuracy_shake.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/x86/fixture.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/x86/add_update.cpp b/dnn/test/x86/add_update.cpp index f6f3a4ff..00b0783a 100644 --- a/dnn/test/x86/add_update.cpp +++ b/dnn/test/x86/add_update.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/checker.h" #include "test/common/resize.h" #include "test/common/rng.h" diff --git a/dnn/test/x86/conv_bias.cpp b/dnn/test/x86/conv_bias.cpp index 202e811b..4c3f598b 100644 --- a/dnn/test/x86/conv_bias.cpp +++ b/dnn/test/x86/conv_bias.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/conv_bias.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/x86/utils.h" #include "test/x86/fixture.h" diff --git a/dnn/test/x86/convolution.cpp b/dnn/test/x86/convolution.cpp index c4b79b48..24c59aef 100644 --- a/dnn/test/x86/convolution.cpp +++ b/dnn/test/x86/convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/x86/fixture.h" #include "megdnn/opr_param_defs.h" diff --git a/dnn/test/x86/cpuinfo.cpp b/dnn/test/x86/cpuinfo.cpp index 81b0eb00..f11a40a1 100644 --- a/dnn/test/x86/cpuinfo.cpp +++ b/dnn/test/x86/cpuinfo.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/cpuinfo.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "src/common/utils.h" #if defined(MGB_ENABLE_CPUINFO_CHECK) && MGB_ENABLE_CPUINFO #include diff --git a/dnn/test/x86/cvt_color.cpp b/dnn/test/x86/cvt_color.cpp index 8ff37f9c..d276396e 100644 --- a/dnn/test/x86/cvt_color.cpp +++ b/dnn/test/x86/cvt_color.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/cvt_color.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/cvt_color.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/elemwise.cpp b/dnn/test/x86/elemwise.cpp index dffb89f5..92988559 100644 --- a/dnn/test/x86/elemwise.cpp +++ b/dnn/test/x86/elemwise.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/elemwise.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/elemwise_bmark.cpp b/dnn/test/x86/elemwise_bmark.cpp index 5f895083..922616af 100644 --- a/dnn/test/x86/elemwise_bmark.cpp +++ b/dnn/test/x86/elemwise_bmark.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/elemwise_bmark.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/x86/fixture.h" #include "megdnn/oprs.h" diff --git a/dnn/test/x86/elemwise_multi_type.cpp b/dnn/test/x86/elemwise_multi_type.cpp index 8af2bc73..8f2bc054 100644 --- a/dnn/test/x86/elemwise_multi_type.cpp +++ b/dnn/test/x86/elemwise_multi_type.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/elemwise_multi_type.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "test/common/elemwise_multi_type.h" #include "megdnn/oprs.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/fixture.cpp b/dnn/test/x86/fixture.cpp index ebb2d053..e6042ef3 100644 --- a/dnn/test/x86/fixture.cpp +++ b/dnn/test/x86/fixture.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/fixture.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/x86/fixture.h" #include "test/common/memory_manager.h" diff --git a/dnn/test/x86/fixture.h b/dnn/test/x86/fixture.h index ff6321cc..f126cacf 100644 --- a/dnn/test/x86/fixture.h +++ b/dnn/test/x86/fixture.h @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/fixture.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/dnn/test/x86/gaussian_blur.cpp b/dnn/test/x86/gaussian_blur.cpp index f1451ea8..0bdfb526 100644 --- a/dnn/test/x86/gaussian_blur.cpp +++ b/dnn/test/x86/gaussian_blur.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/gaussian_blur.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/gaussian_blur.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/x86/lrn.cpp b/dnn/test/x86/lrn.cpp index 39aa4292..060f2120 100644 --- a/dnn/test/x86/lrn.cpp +++ b/dnn/test/x86/lrn.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/lrn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/x86/fixture.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/matrix_mul.cpp b/dnn/test/x86/matrix_mul.cpp index 16d40156..86168cce 100644 --- a/dnn/test/x86/matrix_mul.cpp +++ b/dnn/test/x86/matrix_mul.cpp @@ -1,14 +1,3 @@ -/** - * \file dnn/test/x86/matrix_mul.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "test/x86/fixture.h" #include "src/x86/utils.h" diff --git a/dnn/test/x86/pooling.cpp b/dnn/test/x86/pooling.cpp index 9940995b..a6e79b67 100644 --- a/dnn/test/x86/pooling.cpp +++ b/dnn/test/x86/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/pooling.h" #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/resize.cpp b/dnn/test/x86/resize.cpp index ec16b208..c1a7bb18 100644 --- a/dnn/test/x86/resize.cpp +++ b/dnn/test/x86/resize.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/resize.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/x86/separable_conv.cpp b/dnn/test/x86/separable_conv.cpp index 0d83caf8..9534e781 100644 --- a/dnn/test/x86/separable_conv.cpp +++ b/dnn/test/x86/separable_conv.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/separable_conv.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/separable_conv.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/x86/separable_filter.cpp b/dnn/test/x86/separable_filter.cpp index c378b0c1..e72ad837 100644 --- a/dnn/test/x86/separable_filter.cpp +++ b/dnn/test/x86/separable_filter.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/separable_filter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/separable_filter.h" #include "test/common/checker.h" #include "test/common/task_record_check.h" diff --git a/dnn/test/x86/type_cvt.cpp b/dnn/test/x86/type_cvt.cpp index 7350ac22..a041706c 100644 --- a/dnn/test/x86/type_cvt.cpp +++ b/dnn/test/x86/type_cvt.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/type_cvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/common/benchmarker.h" #include "test/common/checker.h" diff --git a/dnn/test/x86/warp_perspective.cpp b/dnn/test/x86/warp_perspective.cpp index 482deebc..fef00be3 100644 --- a/dnn/test/x86/warp_perspective.cpp +++ b/dnn/test/x86/warp_perspective.cpp @@ -1,13 +1,3 @@ -/** - * \file dnn/test/x86/warp_perspective.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "test/x86/fixture.h" #include "test/common/benchmarker.h" diff --git a/imperative/python/megengine/__init__.py b/imperative/python/megengine/__init__.py index f8eca4b2..a50de77d 100644 --- a/imperative/python/megengine/__init__.py +++ b/imperative/python/megengine/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import atexit import ctypes import re diff --git a/imperative/python/megengine/amp/__init__.py b/imperative/python/megengine/amp/__init__.py index c78f9d86..81344eaf 100644 --- a/imperative/python/megengine/amp/__init__.py +++ b/imperative/python/megengine/amp/__init__.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import mprop from ..core.tensor.amp import * diff --git a/imperative/python/megengine/amp/autocast.py b/imperative/python/megengine/amp/autocast.py index ffbd4282..2c068c37 100644 --- a/imperative/python/megengine/amp/autocast.py +++ b/imperative/python/megengine/amp/autocast.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools from ..core.tensor import amp diff --git a/imperative/python/megengine/amp/grad_scaler.py b/imperative/python/megengine/amp/grad_scaler.py index b5b8d42b..f4ca6cce 100644 --- a/imperative/python/megengine/amp/grad_scaler.py +++ b/imperative/python/megengine/amp/grad_scaler.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable, List, Union import numpy as np diff --git a/imperative/python/megengine/autodiff/__init__.py b/imperative/python/megengine/autodiff/__init__.py index c9b06220..a29079ea 100644 --- a/imperative/python/megengine/autodiff/__init__.py +++ b/imperative/python/megengine/autodiff/__init__.py @@ -1,10 +1,3 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..core.autodiff.grad import Function from .grad_manager import GradManager diff --git a/imperative/python/megengine/autodiff/grad_manager.py b/imperative/python/megengine/autodiff/grad_manager.py index 84b670a8..881969f8 100644 --- a/imperative/python/megengine/autodiff/grad_manager.py +++ b/imperative/python/megengine/autodiff/grad_manager.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import weakref from typing import Callable, Iterable, List, Union diff --git a/imperative/python/megengine/core/__init__.py b/imperative/python/megengine/core/__init__.py index 4cce5159..ac54e067 100644 --- a/imperative/python/megengine/core/__init__.py +++ b/imperative/python/megengine/core/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import sys from contextlib import contextmanager diff --git a/imperative/python/megengine/core/_config.py b/imperative/python/megengine/core/_config.py index c6a9d0ac..e19d9f68 100644 --- a/imperative/python/megengine/core/_config.py +++ b/imperative/python/megengine/core/_config.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os from contextlib import contextmanager diff --git a/imperative/python/megengine/core/_trace_option.py b/imperative/python/megengine/core/_trace_option.py index 21dbaaee..d5f65c34 100644 --- a/imperative/python/megengine/core/_trace_option.py +++ b/imperative/python/megengine/core/_trace_option.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os diff --git a/imperative/python/megengine/core/_wrap.py b/imperative/python/megengine/core/_wrap.py index c5118b7e..5d4eaa0d 100644 --- a/imperative/python/megengine/core/_wrap.py +++ b/imperative/python/megengine/core/_wrap.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from ._imperative_rt import CompNode diff --git a/imperative/python/megengine/core/autodiff/__init__.py b/imperative/python/megengine/core/autodiff/__init__.py index 0253e7dc..40a96afc 100644 --- a/imperative/python/megengine/core/autodiff/__init__.py +++ b/imperative/python/megengine/core/autodiff/__init__.py @@ -1,8 +1 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/imperative/python/megengine/core/autodiff/grad.py b/imperative/python/megengine/core/autodiff/grad.py index a45d24f2..f9e182ef 100644 --- a/imperative/python/megengine/core/autodiff/grad.py +++ b/imperative/python/megengine/core/autodiff/grad.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import weakref from .._imperative_rt import core2 diff --git a/imperative/python/megengine/core/ops/__init__.py b/imperative/python/megengine/core/ops/__init__.py index 0253e7dc..40a96afc 100644 --- a/imperative/python/megengine/core/ops/__init__.py +++ b/imperative/python/megengine/core/ops/__init__.py @@ -1,8 +1 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/imperative/python/megengine/core/ops/builtin/__init__.py b/imperative/python/megengine/core/ops/builtin/__init__.py index 13598687..8202341c 100644 --- a/imperative/python/megengine/core/ops/builtin/__init__.py +++ b/imperative/python/megengine/core/ops/builtin/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..._imperative_rt import OpDef, ops __all__ = ["OpDef"] diff --git a/imperative/python/megengine/core/ops/custom.py b/imperative/python/megengine/core/ops/custom.py index b60527c3..ec458c07 100644 --- a/imperative/python/megengine/core/ops/custom.py +++ b/imperative/python/megengine/core/ops/custom.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os diff --git a/imperative/python/megengine/core/tensor/__init__.py b/imperative/python/megengine/core/tensor/__init__.py index 0253e7dc..40a96afc 100644 --- a/imperative/python/megengine/core/tensor/__init__.py +++ b/imperative/python/megengine/core/tensor/__init__.py @@ -1,8 +1 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/imperative/python/megengine/core/tensor/amp.py b/imperative/python/megengine/core/tensor/amp.py index 1c0d9e5b..d38240f2 100644 --- a/imperative/python/megengine/core/tensor/amp.py +++ b/imperative/python/megengine/core/tensor/amp.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from .._imperative_rt.core2 import ( _get_amp_dtype_autocast, _get_amp_high_prec_dtype, diff --git a/imperative/python/megengine/core/tensor/array_method.py b/imperative/python/megengine/core/tensor/array_method.py index d072a328..08e83bd1 100644 --- a/imperative/python/megengine/core/tensor/array_method.py +++ b/imperative/python/megengine/core/tensor/array_method.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import abc import collections from functools import lru_cache diff --git a/imperative/python/megengine/core/tensor/dtype.py b/imperative/python/megengine/core/tensor/dtype.py index 0496d0ab..8d0b8d56 100644 --- a/imperative/python/megengine/core/tensor/dtype.py +++ b/imperative/python/megengine/core/tensor/dtype.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import re from collections import namedtuple from typing import Union diff --git a/imperative/python/megengine/core/tensor/megbrain_graph.py b/imperative/python/megengine/core/tensor/megbrain_graph.py index 4c2edc92..5dc0f8f0 100644 --- a/imperative/python/megengine/core/tensor/megbrain_graph.py +++ b/imperative/python/megengine/core/tensor/megbrain_graph.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import json import os diff --git a/imperative/python/megengine/core/tensor/utils.py b/imperative/python/megengine/core/tensor/utils.py index 145396dc..781161af 100644 --- a/imperative/python/megengine/core/tensor/utils.py +++ b/imperative/python/megengine/core/tensor/utils.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import itertools from typing import Iterable, Union diff --git a/imperative/python/megengine/data/__init__.py b/imperative/python/megengine/data/__init__.py index 19631dbc..eddb28b9 100644 --- a/imperative/python/megengine/data/__init__.py +++ b/imperative/python/megengine/data/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .collator import Collator from .dataloader import DataLoader from .sampler import ( diff --git a/imperative/python/megengine/data/collator.py b/imperative/python/megengine/data/collator.py index f7fded9f..87d0e082 100644 --- a/imperative/python/megengine/data/collator.py +++ b/imperative/python/megengine/data/collator.py @@ -9,13 +9,6 @@ # Copyright (c) 2006 Idiap Research Institute (Samy Bengio) # Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz) # --------------------------------------------------------------------- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # This file has been modified by Megvii ("Megvii Modifications"). # All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights reserved. diff --git a/imperative/python/megengine/data/dataloader.py b/imperative/python/megengine/data/dataloader.py index 91249e88..290febdb 100644 --- a/imperative/python/megengine/data/dataloader.py +++ b/imperative/python/megengine/data/dataloader.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import gc import math diff --git a/imperative/python/megengine/data/dataset/__init__.py b/imperative/python/megengine/data/dataset/__init__.py index 8ce8556d..de097751 100644 --- a/imperative/python/megengine/data/dataset/__init__.py +++ b/imperative/python/megengine/data/dataset/__init__.py @@ -1,10 +1,3 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .meta_dataset import ArrayDataset, Dataset, StreamDataset from .vision import * diff --git a/imperative/python/megengine/data/dataset/meta_dataset.py b/imperative/python/megengine/data/dataset/meta_dataset.py index 9bf6311e..354c8141 100644 --- a/imperative/python/megengine/data/dataset/meta_dataset.py +++ b/imperative/python/megengine/data/dataset/meta_dataset.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import ABC, abstractmethod from typing import Tuple diff --git a/imperative/python/megengine/data/dataset/vision/__init__.py b/imperative/python/megengine/data/dataset/vision/__init__.py index 77d9c75e..0e91ee8b 100644 --- a/imperative/python/megengine/data/dataset/vision/__init__.py +++ b/imperative/python/megengine/data/dataset/vision/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .cifar import CIFAR10, CIFAR100 from .cityscapes import Cityscapes from .coco import COCO diff --git a/imperative/python/megengine/data/dataset/vision/cifar.py b/imperative/python/megengine/data/dataset/vision/cifar.py index 500b47b5..76a15613 100644 --- a/imperative/python/megengine/data/dataset/vision/cifar.py +++ b/imperative/python/megengine/data/dataset/vision/cifar.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import pickle import tarfile diff --git a/imperative/python/megengine/data/dataset/vision/cityscapes.py b/imperative/python/megengine/data/dataset/vision/cityscapes.py index a85efb46..85d4363e 100644 --- a/imperative/python/megengine/data/dataset/vision/cityscapes.py +++ b/imperative/python/megengine/data/dataset/vision/cityscapes.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # --------------------------------------------------------------------- # Part of the following code in this file refs to torchvision # BSD 3-Clause License diff --git a/imperative/python/megengine/data/dataset/vision/coco.py b/imperative/python/megengine/data/dataset/vision/coco.py index f4a31102..8dc46b11 100644 --- a/imperative/python/megengine/data/dataset/vision/coco.py +++ b/imperative/python/megengine/data/dataset/vision/coco.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # --------------------------------------------------------------------- # Part of the following code in this file refs to maskrcnn-benchmark # MIT License diff --git a/imperative/python/megengine/data/dataset/vision/folder.py b/imperative/python/megengine/data/dataset/vision/folder.py index fc9705e5..cc10e44a 100644 --- a/imperative/python/megengine/data/dataset/vision/folder.py +++ b/imperative/python/megengine/data/dataset/vision/folder.py @@ -4,13 +4,6 @@ # Copyright (c) Soumith Chintala 2016, # All rights reserved. # --------------------------------------------------------------------- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # This file has been modified by Megvii ("Megvii Modifications"). # All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights reserved. diff --git a/imperative/python/megengine/data/dataset/vision/imagenet.py b/imperative/python/megengine/data/dataset/vision/imagenet.py index b8315e6a..ad775eaa 100644 --- a/imperative/python/megengine/data/dataset/vision/imagenet.py +++ b/imperative/python/megengine/data/dataset/vision/imagenet.py @@ -4,13 +4,6 @@ # Copyright (c) Soumith Chintala 2016, # All rights reserved. # --------------------------------------------------------------------- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # This file has been modified by Megvii ("Megvii Modifications"). # All Megvii Modifications are Copyright (C) 2014-2021 Megvii Inc. All rights reserved. diff --git a/imperative/python/megengine/data/dataset/vision/meta_vision.py b/imperative/python/megengine/data/dataset/vision/meta_vision.py index aac81592..9e32adcd 100644 --- a/imperative/python/megengine/data/dataset/vision/meta_vision.py +++ b/imperative/python/megengine/data/dataset/vision/meta_vision.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections.abc import os diff --git a/imperative/python/megengine/data/dataset/vision/mnist.py b/imperative/python/megengine/data/dataset/vision/mnist.py index ae0d9435..89549c2f 100644 --- a/imperative/python/megengine/data/dataset/vision/mnist.py +++ b/imperative/python/megengine/data/dataset/vision/mnist.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import gzip import os import struct diff --git a/imperative/python/megengine/data/dataset/vision/objects365.py b/imperative/python/megengine/data/dataset/vision/objects365.py index e9e9923f..a9817639 100644 --- a/imperative/python/megengine/data/dataset/vision/objects365.py +++ b/imperative/python/megengine/data/dataset/vision/objects365.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # --------------------------------------------------------------------- # Part of the following code in this file refs to maskrcnn-benchmark # MIT License diff --git a/imperative/python/megengine/data/dataset/vision/utils.py b/imperative/python/megengine/data/dataset/vision/utils.py index ca878ce9..0c6d7ce4 100644 --- a/imperative/python/megengine/data/dataset/vision/utils.py +++ b/imperative/python/megengine/data/dataset/vision/utils.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import hashlib import os import tarfile diff --git a/imperative/python/megengine/data/dataset/vision/voc.py b/imperative/python/megengine/data/dataset/vision/voc.py index 8c85496b..a962e390 100644 --- a/imperative/python/megengine/data/dataset/vision/voc.py +++ b/imperative/python/megengine/data/dataset/vision/voc.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # --------------------------------------------------------------------- # Part of the following code in this file refs to torchvision # BSD 3-Clause License diff --git a/imperative/python/megengine/data/sampler.py b/imperative/python/megengine/data/sampler.py index e3de0335..1e7bcc75 100644 --- a/imperative/python/megengine/data/sampler.py +++ b/imperative/python/megengine/data/sampler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections.abc import math from abc import ABC, abstractmethod diff --git a/imperative/python/megengine/data/tools/__init__.py b/imperative/python/megengine/data/tools/__init__.py index 0253e7dc..40a96afc 100644 --- a/imperative/python/megengine/data/tools/__init__.py +++ b/imperative/python/megengine/data/tools/__init__.py @@ -1,8 +1 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/imperative/python/megengine/data/tools/_queue.py b/imperative/python/megengine/data/tools/_queue.py index d6d598dd..f44641b0 100644 --- a/imperative/python/megengine/data/tools/_queue.py +++ b/imperative/python/megengine/data/tools/_queue.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import binascii import os import queue diff --git a/imperative/python/megengine/data/transform/__init__.py b/imperative/python/megengine/data/transform/__init__.py index ba867831..e69d8be8 100644 --- a/imperative/python/megengine/data/transform/__init__.py +++ b/imperative/python/megengine/data/transform/__init__.py @@ -1,10 +1,3 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .meta_transform import PseudoTransform, Transform from .vision import * diff --git a/imperative/python/megengine/data/transform/meta_transform.py b/imperative/python/megengine/data/transform/meta_transform.py index 3892a1a4..28e00bf5 100644 --- a/imperative/python/megengine/data/transform/meta_transform.py +++ b/imperative/python/megengine/data/transform/meta_transform.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import ABC, abstractmethod from typing import Sequence, Tuple diff --git a/imperative/python/megengine/data/transform/vision/__init__.py b/imperative/python/megengine/data/transform/vision/__init__.py index f0120381..36fbca91 100644 --- a/imperative/python/megengine/data/transform/vision/__init__.py +++ b/imperative/python/megengine/data/transform/vision/__init__.py @@ -1,9 +1,2 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .transform import * diff --git a/imperative/python/megengine/data/transform/vision/functional.py b/imperative/python/megengine/data/transform/vision/functional.py index 089113e7..de804641 100644 --- a/imperative/python/megengine/data/transform/vision/functional.py +++ b/imperative/python/megengine/data/transform/vision/functional.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections.abc import functools import random diff --git a/imperative/python/megengine/data/transform/vision/transform.py b/imperative/python/megengine/data/transform/vision/transform.py index ed2e6f9b..2b469b63 100644 --- a/imperative/python/megengine/data/transform/vision/transform.py +++ b/imperative/python/megengine/data/transform/vision/transform.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections.abc import math from typing import List, Sequence, Tuple diff --git a/imperative/python/megengine/device.py b/imperative/python/megengine/device.py index 8580ce17..3566dae8 100644 --- a/imperative/python/megengine/device.py +++ b/imperative/python/megengine/device.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import re from typing import Optional diff --git a/imperative/python/megengine/distributed/__init__.py b/imperative/python/megengine/distributed/__init__.py index 4b3a8847..99bff4f7 100644 --- a/imperative/python/megengine/distributed/__init__.py +++ b/imperative/python/megengine/distributed/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from mprop import mproperty from . import group diff --git a/imperative/python/megengine/distributed/functional.py b/imperative/python/megengine/distributed/functional.py index 51f1f064..9c9d9a1c 100644 --- a/imperative/python/megengine/distributed/functional.py +++ b/imperative/python/megengine/distributed/functional.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Optional, Tuple import numpy as np diff --git a/imperative/python/megengine/distributed/group.py b/imperative/python/megengine/distributed/group.py index 3f4e300f..58ddfc4e 100644 --- a/imperative/python/megengine/distributed/group.py +++ b/imperative/python/megengine/distributed/group.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import time from contextlib import contextmanager from typing import List, Optional, Tuple diff --git a/imperative/python/megengine/distributed/helper.py b/imperative/python/megengine/distributed/helper.py index 78360fac..0a6871a0 100644 --- a/imperative/python/megengine/distributed/helper.py +++ b/imperative/python/megengine/distributed/helper.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import multiprocessing as mp from collections import defaultdict diff --git a/imperative/python/megengine/distributed/launcher.py b/imperative/python/megengine/distributed/launcher.py index 4deca430..279d0359 100644 --- a/imperative/python/megengine/distributed/launcher.py +++ b/imperative/python/megengine/distributed/launcher.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import multiprocessing as mp import os diff --git a/imperative/python/megengine/distributed/server.py b/imperative/python/megengine/distributed/server.py index 8a17f2c3..e646e61a 100644 --- a/imperative/python/megengine/distributed/server.py +++ b/imperative/python/megengine/distributed/server.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import multiprocessing as mp import threading import time diff --git a/imperative/python/megengine/dtr/__init__.py b/imperative/python/megengine/dtr/__init__.py index 2dd81406..4db4b0cf 100644 --- a/imperative/python/megengine/dtr/__init__.py +++ b/imperative/python/megengine/dtr/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import mprop from .dtr import * diff --git a/imperative/python/megengine/dtr/dtr.py b/imperative/python/megengine/dtr/dtr.py index 07c68076..ee36a9b8 100644 --- a/imperative/python/megengine/dtr/dtr.py +++ b/imperative/python/megengine/dtr/dtr.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import re from typing import Union diff --git a/imperative/python/megengine/experimental/__init__.py b/imperative/python/megengine/experimental/__init__.py index 19b1fc6b..cf23c9f3 100644 --- a/imperative/python/megengine/experimental/__init__.py +++ b/imperative/python/megengine/experimental/__init__.py @@ -1,9 +1,2 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .weight_scaler import get_scaled_model diff --git a/imperative/python/megengine/functional/__init__.py b/imperative/python/megengine/functional/__init__.py index 0223a1d4..c2a78a46 100644 --- a/imperative/python/megengine/functional/__init__.py +++ b/imperative/python/megengine/functional/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=redefined-builtin from . import metric, utils, vision from .elemwise import * diff --git a/imperative/python/megengine/functional/debug_param.py b/imperative/python/megengine/functional/debug_param.py index 4f2f99a4..66cfa4e6 100644 --- a/imperative/python/megengine/functional/debug_param.py +++ b/imperative/python/megengine/functional/debug_param.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os from ..core import _config diff --git a/imperative/python/megengine/functional/distributed.py b/imperative/python/megengine/functional/distributed.py index 3e18508e..4b464bed 100644 --- a/imperative/python/megengine/functional/distributed.py +++ b/imperative/python/megengine/functional/distributed.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=redefined-builtin from ..distributed.functional import ( all_gather, diff --git a/imperative/python/megengine/functional/elemwise.py b/imperative/python/megengine/functional/elemwise.py index b77feced..c47ab9c8 100644 --- a/imperative/python/megengine/functional/elemwise.py +++ b/imperative/python/megengine/functional/elemwise.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=unused-argument,invalid-name,redefined-builtin,arguments-out-of-order import numpy as np diff --git a/imperative/python/megengine/functional/external.py b/imperative/python/megengine/functional/external.py index 3286bbc4..5a26d747 100644 --- a/imperative/python/megengine/functional/external.py +++ b/imperative/python/megengine/functional/external.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=redefined-builtin from typing import Iterable, List, Sequence diff --git a/imperative/python/megengine/functional/inplace.py b/imperative/python/megengine/functional/inplace.py index e6766a8e..f1c5b4bb 100644 --- a/imperative/python/megengine/functional/inplace.py +++ b/imperative/python/megengine/functional/inplace.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..core._imperative_rt.core2 import apply from ..core.ops import builtin from ..core.ops.builtin import InplaceAdd diff --git a/imperative/python/megengine/functional/loss.py b/imperative/python/megengine/functional/loss.py index 6b67961d..08c23102 100644 --- a/imperative/python/megengine/functional/loss.py +++ b/imperative/python/megengine/functional/loss.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import numpy as np diff --git a/imperative/python/megengine/functional/math.py b/imperative/python/megengine/functional/math.py index 6ff37249..becd3fdf 100644 --- a/imperative/python/megengine/functional/math.py +++ b/imperative/python/megengine/functional/math.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import math from typing import Iterable, Optional, Sequence, Tuple, Union diff --git a/imperative/python/megengine/functional/metric.py b/imperative/python/megengine/functional/metric.py index ee010a11..07431885 100644 --- a/imperative/python/megengine/functional/metric.py +++ b/imperative/python/megengine/functional/metric.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable, Union import numpy as np diff --git a/imperative/python/megengine/functional/nn.py b/imperative/python/megengine/functional/nn.py index 2d5a4976..0e97954e 100644 --- a/imperative/python/megengine/functional/nn.py +++ b/imperative/python/megengine/functional/nn.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=too-many-lines from functools import lru_cache from typing import NamedTuple, Optional, Sequence, Tuple, Union diff --git a/imperative/python/megengine/functional/quantized.py b/imperative/python/megengine/functional/quantized.py index dac4ef61..95fc0d8a 100644 --- a/imperative/python/megengine/functional/quantized.py +++ b/imperative/python/megengine/functional/quantized.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=too-many-lines from typing import Tuple, Union diff --git a/imperative/python/megengine/functional/tensor.py b/imperative/python/megengine/functional/tensor.py index 4842d9c7..3a37e5b4 100755 --- a/imperative/python/megengine/functional/tensor.py +++ b/imperative/python/megengine/functional/tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from functools import lru_cache from typing import Iterable, Optional, Sequence, Tuple, Union diff --git a/imperative/python/megengine/functional/utils.py b/imperative/python/megengine/functional/utils.py index a9d2bac3..b24272d0 100644 --- a/imperative/python/megengine/functional/utils.py +++ b/imperative/python/megengine/functional/utils.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..core._imperative_rt.core2 import apply from ..core._imperative_rt.core2 import sync as _sync from ..core.ops.builtin import AssertEqual diff --git a/imperative/python/megengine/functional/vision.py b/imperative/python/megengine/functional/vision.py index 6921699f..a05415a8 100644 --- a/imperative/python/megengine/functional/vision.py +++ b/imperative/python/megengine/functional/vision.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable, Optional, Tuple, Union import numpy as np diff --git a/imperative/python/megengine/hub/__init__.py b/imperative/python/megengine/hub/__init__.py index ecb49771..5c5c7e3a 100644 --- a/imperative/python/megengine/hub/__init__.py +++ b/imperative/python/megengine/hub/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .hub import ( help, import_module, diff --git a/imperative/python/megengine/hub/const.py b/imperative/python/megengine/hub/const.py index 8a6a36b6..fa6e988a 100644 --- a/imperative/python/megengine/hub/const.py +++ b/imperative/python/megengine/hub/const.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. DEFAULT_BRANCH_NAME = "master" HUBCONF = "hubconf.py" HUBDEPENDENCY = "dependencies" diff --git a/imperative/python/megengine/hub/exceptions.py b/imperative/python/megengine/hub/exceptions.py index 26075297..b493ab45 100644 --- a/imperative/python/megengine/hub/exceptions.py +++ b/imperative/python/megengine/hub/exceptions.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. class FetcherError(Exception): r"""Base class for fetch related error.""" diff --git a/imperative/python/megengine/hub/fetcher.py b/imperative/python/megengine/hub/fetcher.py index 9590597b..ac980ddb 100644 --- a/imperative/python/megengine/hub/fetcher.py +++ b/imperative/python/megengine/hub/fetcher.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import hashlib import os import re diff --git a/imperative/python/megengine/hub/hub.py b/imperative/python/megengine/hub/hub.py index bad0dec8..51b79281 100644 --- a/imperative/python/megengine/hub/hub.py +++ b/imperative/python/megengine/hub/hub.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import hashlib import os diff --git a/imperative/python/megengine/hub/tools.py b/imperative/python/megengine/hub/tools.py index eb4db06f..0f7dda07 100644 --- a/imperative/python/megengine/hub/tools.py +++ b/imperative/python/megengine/hub/tools.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import importlib.util import os import types diff --git a/imperative/python/megengine/jit/__init__.py b/imperative/python/megengine/jit/__init__.py index 455f3502..56666ae0 100644 --- a/imperative/python/megengine/jit/__init__.py +++ b/imperative/python/megengine/jit/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .dtr_config import DTRConfig from .graph_opt_config import GraphOptimizationConfig from .sublinear_memory_config import SublinearMemoryConfig diff --git a/imperative/python/megengine/jit/dtr_config.py b/imperative/python/megengine/jit/dtr_config.py index 74d6054c..e5e55ef7 100644 --- a/imperative/python/megengine/jit/dtr_config.py +++ b/imperative/python/megengine/jit/dtr_config.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. class DTRConfig: diff --git a/imperative/python/megengine/jit/graph_opt_config.py b/imperative/python/megengine/jit/graph_opt_config.py index 47f17fa7..c8266ab9 100644 --- a/imperative/python/megengine/jit/graph_opt_config.py +++ b/imperative/python/megengine/jit/graph_opt_config.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. class GraphOptimizationConfig: diff --git a/imperative/python/megengine/jit/sublinear_memory_config.py b/imperative/python/megengine/jit/sublinear_memory_config.py index c7c20187..0313d052 100644 --- a/imperative/python/megengine/jit/sublinear_memory_config.py +++ b/imperative/python/megengine/jit/sublinear_memory_config.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..device import get_device_count diff --git a/imperative/python/megengine/jit/tracing.py b/imperative/python/megengine/jit/tracing.py index 79ca807b..289295c9 100644 --- a/imperative/python/megengine/jit/tracing.py +++ b/imperative/python/megengine/jit/tracing.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import contextlib import functools diff --git a/imperative/python/megengine/logger.py b/imperative/python/megengine/logger.py index 9c3182af..8edf82f4 100644 --- a/imperative/python/megengine/logger.py +++ b/imperative/python/megengine/logger.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import contextlib import logging import os diff --git a/imperative/python/megengine/module/__init__.py b/imperative/python/megengine/module/__init__.py index c700c095..2ffc2cc6 100644 --- a/imperative/python/megengine/module/__init__.py +++ b/imperative/python/megengine/module/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .activation import GELU, LeakyReLU, PReLU, ReLU, Sigmoid, SiLU, Softmax from .adaptive_pooling import AdaptiveAvgPool2d, AdaptiveMaxPool2d diff --git a/imperative/python/megengine/module/activation.py b/imperative/python/megengine/module/activation.py index 30d104e9..5f1c7d09 100644 --- a/imperative/python/megengine/module/activation.py +++ b/imperative/python/megengine/module/activation.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from ..functional import gelu, leaky_relu, prelu, relu, sigmoid, silu, softmax diff --git a/imperative/python/megengine/module/adaptive_pooling.py b/imperative/python/megengine/module/adaptive_pooling.py index 23d6ce5d..5180a2d4 100644 --- a/imperative/python/megengine/module/adaptive_pooling.py +++ b/imperative/python/megengine/module/adaptive_pooling.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import abstractmethod from typing import Tuple, Union diff --git a/imperative/python/megengine/module/batch_matmul_activation.py b/imperative/python/megengine/module/batch_matmul_activation.py index b6892fd0..4af21cbb 100644 --- a/imperative/python/megengine/module/batch_matmul_activation.py +++ b/imperative/python/megengine/module/batch_matmul_activation.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from ..functional import matmul, relu diff --git a/imperative/python/megengine/module/batchnorm.py b/imperative/python/megengine/module/batchnorm.py index f662532a..76bc427e 100644 --- a/imperative/python/megengine/module/batchnorm.py +++ b/imperative/python/megengine/module/batchnorm.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Optional import numpy as np diff --git a/imperative/python/megengine/module/concat.py b/imperative/python/megengine/module/concat.py index 7e27ade4..ad3f9aeb 100644 --- a/imperative/python/megengine/module/concat.py +++ b/imperative/python/megengine/module/concat.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable from ..functional import concat diff --git a/imperative/python/megengine/module/conv.py b/imperative/python/megengine/module/conv.py index 396dd7b7..0ac9b394 100644 --- a/imperative/python/megengine/module/conv.py +++ b/imperative/python/megengine/module/conv.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import abstractmethod from typing import Tuple, Union diff --git a/imperative/python/megengine/module/conv_bn.py b/imperative/python/megengine/module/conv_bn.py index d69a955a..89941eba 100644 --- a/imperative/python/megengine/module/conv_bn.py +++ b/imperative/python/megengine/module/conv_bn.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Tuple, Union from ..functional import relu diff --git a/imperative/python/megengine/module/deformable_psroi_pooling.py b/imperative/python/megengine/module/deformable_psroi_pooling.py index c3b0d527..5e22c306 100644 --- a/imperative/python/megengine/module/deformable_psroi_pooling.py +++ b/imperative/python/megengine/module/deformable_psroi_pooling.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..functional import deformable_psroi_pooling from .module import Module diff --git a/imperative/python/megengine/module/dropout.py b/imperative/python/megengine/module/dropout.py index 8114b2e2..4eae5121 100644 --- a/imperative/python/megengine/module/dropout.py +++ b/imperative/python/megengine/module/dropout.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..functional import dropout from .module import Module diff --git a/imperative/python/megengine/module/elemwise.py b/imperative/python/megengine/module/elemwise.py index 5c0dd301..b383247c 100644 --- a/imperative/python/megengine/module/elemwise.py +++ b/imperative/python/megengine/module/elemwise.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..functional.elemwise import _elwise from ..tensor import Tensor from .module import Module diff --git a/imperative/python/megengine/module/embedding.py b/imperative/python/megengine/module/embedding.py index 2626ab7f..294c2c0e 100644 --- a/imperative/python/megengine/module/embedding.py +++ b/imperative/python/megengine/module/embedding.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Optional import numpy as np diff --git a/imperative/python/megengine/module/external.py b/imperative/python/megengine/module/external.py index 18256dec..4dc71ac2 100644 --- a/imperative/python/megengine/module/external.py +++ b/imperative/python/megengine/module/external.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=redefined-builtin import numpy as np diff --git a/imperative/python/megengine/module/identity.py b/imperative/python/megengine/module/identity.py index a62d1ed9..8f006b8f 100644 --- a/imperative/python/megengine/module/identity.py +++ b/imperative/python/megengine/module/identity.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..functional.tensor import copy from .module import Module diff --git a/imperative/python/megengine/module/init.py b/imperative/python/megengine/module/init.py index 2bf73fde..09098066 100644 --- a/imperative/python/megengine/module/init.py +++ b/imperative/python/megengine/module/init.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import math from functools import reduce from typing import Optional, Tuple, Union diff --git a/imperative/python/megengine/module/linear.py b/imperative/python/megengine/module/linear.py index fb0a4035..a1f404c3 100644 --- a/imperative/python/megengine/module/linear.py +++ b/imperative/python/megengine/module/linear.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from ..functional.nn import linear diff --git a/imperative/python/megengine/module/lrn.py b/imperative/python/megengine/module/lrn.py index b8b25151..685343c5 100644 --- a/imperative/python/megengine/module/lrn.py +++ b/imperative/python/megengine/module/lrn.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Tuple, Union from ..functional import local_response_norm diff --git a/imperative/python/megengine/module/module.py b/imperative/python/megengine/module/module.py index b853aeec..8dca6dae 100644 --- a/imperative/python/megengine/module/module.py +++ b/imperative/python/megengine/module/module.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import ABCMeta, abstractmethod from collections import OrderedDict from typing import Any, Callable, Iterable, Optional, Set, Tuple, Union diff --git a/imperative/python/megengine/module/normalization.py b/imperative/python/megengine/module/normalization.py index 1868727e..2f6652aa 100644 --- a/imperative/python/megengine/module/normalization.py +++ b/imperative/python/megengine/module/normalization.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine.functional as F diff --git a/imperative/python/megengine/module/pixel_shuffle.py b/imperative/python/megengine/module/pixel_shuffle.py index 321c0d81..397c6389 100644 --- a/imperative/python/megengine/module/pixel_shuffle.py +++ b/imperative/python/megengine/module/pixel_shuffle.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..functional.nn import pixel_shuffle from .module import Module diff --git a/imperative/python/megengine/module/pooling.py b/imperative/python/megengine/module/pooling.py index 9eff1e18..e52987ba 100644 --- a/imperative/python/megengine/module/pooling.py +++ b/imperative/python/megengine/module/pooling.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import abstractmethod from typing import Tuple, Union diff --git a/imperative/python/megengine/module/qat/__init__.py b/imperative/python/megengine/module/qat/__init__.py index 86ff7235..027b5861 100644 --- a/imperative/python/megengine/module/qat/__init__.py +++ b/imperative/python/megengine/module/qat/__init__.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .batch_matmul_activation import BatchMatMulActivation from .concat import Concat from .conv import Conv2d, ConvRelu2d, ConvTranspose2d diff --git a/imperative/python/megengine/module/qat/batch_matmul_activation.py b/imperative/python/megengine/module/qat/batch_matmul_activation.py index dbab6c5f..7375989b 100644 --- a/imperative/python/megengine/module/qat/batch_matmul_activation.py +++ b/imperative/python/megengine/module/qat/batch_matmul_activation.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .. import batch_matmul_activation as Float from .module import QATModule diff --git a/imperative/python/megengine/module/qat/concat.py b/imperative/python/megengine/module/qat/concat.py index 27714db6..25de87cf 100644 --- a/imperative/python/megengine/module/qat/concat.py +++ b/imperative/python/megengine/module/qat/concat.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable from ...tensor import Tensor diff --git a/imperative/python/megengine/module/qat/conv.py b/imperative/python/megengine/module/qat/conv.py index 61a5ee83..0780eaef 100644 --- a/imperative/python/megengine/module/qat/conv.py +++ b/imperative/python/megengine/module/qat/conv.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ... import functional as F from .. import conv as Float from .module import QATModule diff --git a/imperative/python/megengine/module/qat/conv_bn.py b/imperative/python/megengine/module/qat/conv_bn.py index 77af6394..3c4e911c 100644 --- a/imperative/python/megengine/module/qat/conv_bn.py +++ b/imperative/python/megengine/module/qat/conv_bn.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ...functional import ones, relu, sqrt, sum, zeros from .. import conv_bn as Float from .module import QATModule diff --git a/imperative/python/megengine/module/qat/elemwise.py b/imperative/python/megengine/module/qat/elemwise.py index 618ce9ef..a7eb7cde 100644 --- a/imperative/python/megengine/module/qat/elemwise.py +++ b/imperative/python/megengine/module/qat/elemwise.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .. import elemwise as Float from .module import QATModule diff --git a/imperative/python/megengine/module/qat/linear.py b/imperative/python/megengine/module/qat/linear.py index 84bb34dd..1e879a28 100644 --- a/imperative/python/megengine/module/qat/linear.py +++ b/imperative/python/megengine/module/qat/linear.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .. import linear as Float from .module import QATModule diff --git a/imperative/python/megengine/module/qat/module.py b/imperative/python/megengine/module/qat/module.py index ec4a5c3e..8dfa681e 100644 --- a/imperative/python/megengine/module/qat/module.py +++ b/imperative/python/megengine/module/qat/module.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import abstractmethod # avoid circular reference diff --git a/imperative/python/megengine/module/qat/quant_dequant.py b/imperative/python/megengine/module/qat/quant_dequant.py index 13916b63..d604fff2 100644 --- a/imperative/python/megengine/module/qat/quant_dequant.py +++ b/imperative/python/megengine/module/qat/quant_dequant.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .. import quant_dequant as Float from .module import QATModule diff --git a/imperative/python/megengine/module/quant_dequant.py b/imperative/python/megengine/module/quant_dequant.py index 6c4bd7b2..80815f85 100644 --- a/imperative/python/megengine/module/quant_dequant.py +++ b/imperative/python/megengine/module/quant_dequant.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .module import Module diff --git a/imperative/python/megengine/module/quantized/__init__.py b/imperative/python/megengine/module/quantized/__init__.py index ed9866f1..930deabe 100644 --- a/imperative/python/megengine/module/quantized/__init__.py +++ b/imperative/python/megengine/module/quantized/__init__.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .batch_matmul_activation import BatchMatMulActivation from .concat import Concat from .conv import Conv2d, ConvRelu2d, ConvTranspose2d diff --git a/imperative/python/megengine/module/quantized/batch_matmul_activation.py b/imperative/python/megengine/module/quantized/batch_matmul_activation.py index a403fff2..2ce07225 100644 --- a/imperative/python/megengine/module/quantized/batch_matmul_activation.py +++ b/imperative/python/megengine/module/quantized/batch_matmul_activation.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Tuple, Union import numpy as np diff --git a/imperative/python/megengine/module/quantized/concat.py b/imperative/python/megengine/module/quantized/concat.py index f1eae59f..b3807acc 100644 --- a/imperative/python/megengine/module/quantized/concat.py +++ b/imperative/python/megengine/module/quantized/concat.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable from ... import functional as F diff --git a/imperative/python/megengine/module/quantized/conv.py b/imperative/python/megengine/module/quantized/conv.py index aff71bc3..aad7bfe3 100644 --- a/imperative/python/megengine/module/quantized/conv.py +++ b/imperative/python/megengine/module/quantized/conv.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Tuple, Union import numpy as np diff --git a/imperative/python/megengine/module/quantized/conv_bn.py b/imperative/python/megengine/module/quantized/conv_bn.py index 4230ed49..4715d099 100644 --- a/imperative/python/megengine/module/quantized/conv_bn.py +++ b/imperative/python/megengine/module/quantized/conv_bn.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ...tensor import Parameter from ..qat import conv_bn as QAT from .conv import Conv2d diff --git a/imperative/python/megengine/module/quantized/elemwise.py b/imperative/python/megengine/module/quantized/elemwise.py index 95ff3146..c2d5daa6 100644 --- a/imperative/python/megengine/module/quantized/elemwise.py +++ b/imperative/python/megengine/module/quantized/elemwise.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ...functional.elemwise import _elemwise_multi_type from ...tensor import Tensor from ..qat import elemwise as QAT diff --git a/imperative/python/megengine/module/quantized/linear.py b/imperative/python/megengine/module/quantized/linear.py index 7ecc55a8..031b5a50 100644 --- a/imperative/python/megengine/module/quantized/linear.py +++ b/imperative/python/megengine/module/quantized/linear.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from ... import functional as F diff --git a/imperative/python/megengine/module/quantized/module.py b/imperative/python/megengine/module/quantized/module.py index 3c3feb0f..648b898d 100644 --- a/imperative/python/megengine/module/quantized/module.py +++ b/imperative/python/megengine/module/quantized/module.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import abstractmethod from ..module import Module diff --git a/imperative/python/megengine/module/quantized/quant_dequant.py b/imperative/python/megengine/module/quantized/quant_dequant.py index 807cf253..6d17de5c 100644 --- a/imperative/python/megengine/module/quantized/quant_dequant.py +++ b/imperative/python/megengine/module/quantized/quant_dequant.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ..qat import quant_dequant as QAT from .module import QuantizedModule diff --git a/imperative/python/megengine/module/rnn.py b/imperative/python/megengine/module/rnn.py index a9340753..c4711e63 100644 --- a/imperative/python/megengine/module/rnn.py +++ b/imperative/python/megengine/module/rnn.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import math import numbers from abc import abstractmethod diff --git a/imperative/python/megengine/module/sequential.py b/imperative/python/megengine/module/sequential.py index 7d63efb7..2024a060 100644 --- a/imperative/python/megengine/module/sequential.py +++ b/imperative/python/megengine/module/sequential.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from collections import OrderedDict from .module import Module diff --git a/imperative/python/megengine/module/sliding_window.py b/imperative/python/megengine/module/sliding_window.py index ccfb5a4e..88ac2c8e 100644 --- a/imperative/python/megengine/module/sliding_window.py +++ b/imperative/python/megengine/module/sliding_window.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Tuple, Union from ..functional import sliding_window, sliding_window_transpose diff --git a/imperative/python/megengine/optimizer/__init__.py b/imperative/python/megengine/optimizer/__init__.py index 50740e73..12539e6d 100644 --- a/imperative/python/megengine/optimizer/__init__.py +++ b/imperative/python/megengine/optimizer/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .adadelta import Adadelta from .adagrad import Adagrad from .adam import Adam diff --git a/imperative/python/megengine/optimizer/adadelta.py b/imperative/python/megengine/optimizer/adadelta.py index 73041f8e..c4c2e7b5 100644 --- a/imperative/python/megengine/optimizer/adadelta.py +++ b/imperative/python/megengine/optimizer/adadelta.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable, Union import numpy as np diff --git a/imperative/python/megengine/optimizer/adagrad.py b/imperative/python/megengine/optimizer/adagrad.py index 6b7479b8..c1db706e 100644 --- a/imperative/python/megengine/optimizer/adagrad.py +++ b/imperative/python/megengine/optimizer/adagrad.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Iterable, Union import numpy as np diff --git a/imperative/python/megengine/optimizer/adam.py b/imperative/python/megengine/optimizer/adam.py index 36855034..3bdc2136 100644 --- a/imperative/python/megengine/optimizer/adam.py +++ b/imperative/python/megengine/optimizer/adam.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os from typing import Iterable, Tuple, Union diff --git a/imperative/python/megengine/optimizer/adamw.py b/imperative/python/megengine/optimizer/adamw.py index ddf73135..7f5a588b 100644 --- a/imperative/python/megengine/optimizer/adamw.py +++ b/imperative/python/megengine/optimizer/adamw.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os from typing import Iterable, Tuple, Union diff --git a/imperative/python/megengine/optimizer/clip_grad.py b/imperative/python/megengine/optimizer/clip_grad.py index bc6b7495..1ba85c5e 100644 --- a/imperative/python/megengine/optimizer/clip_grad.py +++ b/imperative/python/megengine/optimizer/clip_grad.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # pylint: disable=redefined-builtin from typing import Iterable, Union diff --git a/imperative/python/megengine/optimizer/lr_scheduler.py b/imperative/python/megengine/optimizer/lr_scheduler.py index 370bc2e7..fb3314ca 100644 --- a/imperative/python/megengine/optimizer/lr_scheduler.py +++ b/imperative/python/megengine/optimizer/lr_scheduler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from abc import ABCMeta from .optimizer import Optimizer diff --git a/imperative/python/megengine/optimizer/multi_step_lr.py b/imperative/python/megengine/optimizer/multi_step_lr.py index 6fe94403..a893fbbb 100644 --- a/imperative/python/megengine/optimizer/multi_step_lr.py +++ b/imperative/python/megengine/optimizer/multi_step_lr.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from bisect import bisect_right from typing import Iterable as Iter diff --git a/imperative/python/megengine/optimizer/optimizer.py b/imperative/python/megengine/optimizer/optimizer.py index 827997fa..2bed6bc7 100644 --- a/imperative/python/megengine/optimizer/optimizer.py +++ b/imperative/python/megengine/optimizer/optimizer.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import copy from abc import ABCMeta, abstractmethod from collections.abc import Iterable diff --git a/imperative/python/megengine/optimizer/sgd.py b/imperative/python/megengine/optimizer/sgd.py index 07fa14c1..94a35872 100644 --- a/imperative/python/megengine/optimizer/sgd.py +++ b/imperative/python/megengine/optimizer/sgd.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os from typing import Iterable, Union diff --git a/imperative/python/megengine/quantization/__init__.py b/imperative/python/megengine/quantization/__init__.py index 4177c4e9..a29216e4 100644 --- a/imperative/python/megengine/quantization/__init__.py +++ b/imperative/python/megengine/quantization/__init__.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from .fake_quant import LSQ, TQT, FakeQuantize from .observer import ( ExponentialMovingAverageObserver, diff --git a/imperative/python/megengine/quantization/fake_quant.py b/imperative/python/megengine/quantization/fake_quant.py index a35f8628..217cedf6 100644 --- a/imperative/python/megengine/quantization/fake_quant.py +++ b/imperative/python/megengine/quantization/fake_quant.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import math from typing import Union diff --git a/imperative/python/megengine/quantization/internal_fake_quant.py b/imperative/python/megengine/quantization/internal_fake_quant.py index afec8fe9..c4c74ca2 100644 --- a/imperative/python/megengine/quantization/internal_fake_quant.py +++ b/imperative/python/megengine/quantization/internal_fake_quant.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from functools import partial from .. import functional as F diff --git a/imperative/python/megengine/quantization/observer.py b/imperative/python/megengine/quantization/observer.py index 1c6a58f8..0486f0ac 100644 --- a/imperative/python/megengine/quantization/observer.py +++ b/imperative/python/megengine/quantization/observer.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import math from abc import abstractmethod from copy import deepcopy diff --git a/imperative/python/megengine/quantization/qconfig.py b/imperative/python/megengine/quantization/qconfig.py index 5cbee2cc..da4bfa13 100644 --- a/imperative/python/megengine/quantization/qconfig.py +++ b/imperative/python/megengine/quantization/qconfig.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -#' -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from collections import namedtuple from functools import partial diff --git a/imperative/python/megengine/quantization/quantize.py b/imperative/python/megengine/quantization/quantize.py index 830334cb..544ab4ae 100644 --- a/imperative/python/megengine/quantization/quantize.py +++ b/imperative/python/megengine/quantization/quantize.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from copy import copy, deepcopy from functools import partial from typing import Callable diff --git a/imperative/python/megengine/quantization/utils.py b/imperative/python/megengine/quantization/utils.py index 14c5c925..2cd1eecb 100644 --- a/imperative/python/megengine/quantization/utils.py +++ b/imperative/python/megengine/quantization/utils.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import abc from enum import Enum from functools import partial, update_wrapper, wraps diff --git a/imperative/python/megengine/random/__init__.py b/imperative/python/megengine/random/__init__.py index 8a642240..2f367940 100644 --- a/imperative/python/megengine/random/__init__.py +++ b/imperative/python/megengine/random/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .rng import RNG, beta, gamma, normal, permutation, poisson, seed, shuffle, uniform __all__ = [ diff --git a/imperative/python/megengine/random/rng.py b/imperative/python/megengine/random/rng.py index bb9573a2..d7e52991 100644 --- a/imperative/python/megengine/random/rng.py +++ b/imperative/python/megengine/random/rng.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import time from typing import Iterable, Optional, Union diff --git a/imperative/python/megengine/serialization.py b/imperative/python/megengine/serialization.py index e504a416..a7661d0a 100644 --- a/imperative/python/megengine/serialization.py +++ b/imperative/python/megengine/serialization.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import pickle from .device import _valid_device, get_default_device diff --git a/imperative/python/megengine/tensor.py b/imperative/python/megengine/tensor.py index 1a2bf470..dc610f98 100644 --- a/imperative/python/megengine/tensor.py +++ b/imperative/python/megengine/tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from typing import Union import numpy as np diff --git a/imperative/python/megengine/tools/benchmark_op.py b/imperative/python/megengine/tools/benchmark_op.py index 19bf0ff9..498353a3 100644 --- a/imperative/python/megengine/tools/benchmark_op.py +++ b/imperative/python/megengine/tools/benchmark_op.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import time import numpy as np diff --git a/imperative/python/megengine/tools/compare_binary_iodump.py b/imperative/python/megengine/tools/compare_binary_iodump.py index 4898b566..ab7ecd81 100755 --- a/imperative/python/megengine/tools/compare_binary_iodump.py +++ b/imperative/python/megengine/tools/compare_binary_iodump.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import os import struct diff --git a/imperative/python/megengine/tools/draw_graph.py b/imperative/python/megengine/tools/draw_graph.py index a717f605..9f161c6d 100755 --- a/imperative/python/megengine/tools/draw_graph.py +++ b/imperative/python/megengine/tools/draw_graph.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import json import math diff --git a/imperative/python/megengine/tools/dump_with_testcase_mge.py b/imperative/python/megengine/tools/dump_with_testcase_mge.py index 1f53b2c2..15dcd415 100755 --- a/imperative/python/megengine/tools/dump_with_testcase_mge.py +++ b/imperative/python/megengine/tools/dump_with_testcase_mge.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import os import re diff --git a/imperative/python/megengine/tools/graph_info_analyze.py b/imperative/python/megengine/tools/graph_info_analyze.py index faacb688..e1492d39 100644 --- a/imperative/python/megengine/tools/graph_info_analyze.py +++ b/imperative/python/megengine/tools/graph_info_analyze.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import json import math diff --git a/imperative/python/megengine/tools/load_network_and_run.py b/imperative/python/megengine/tools/load_network_and_run.py index 53629f2f..d226ad1a 100755 --- a/imperative/python/megengine/tools/load_network_and_run.py +++ b/imperative/python/megengine/tools/load_network_and_run.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import logging import time diff --git a/imperative/python/megengine/tools/mge b/imperative/python/megengine/tools/mge index e9db881e..3990811e 100755 --- a/imperative/python/megengine/tools/mge +++ b/imperative/python/megengine/tools/mge @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import ntpath import os diff --git a/imperative/python/megengine/tools/network_visualize.py b/imperative/python/megengine/tools/network_visualize.py index d1a6da78..62eb1ecd 100755 --- a/imperative/python/megengine/tools/network_visualize.py +++ b/imperative/python/megengine/tools/network_visualize.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import logging import re diff --git a/imperative/python/megengine/tools/profile_analyze.py b/imperative/python/megengine/tools/profile_analyze.py index 23031fdc..654e05dd 100755 --- a/imperative/python/megengine/tools/profile_analyze.py +++ b/imperative/python/megengine/tools/profile_analyze.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import collections import json diff --git a/imperative/python/megengine/tools/profiler.py b/imperative/python/megengine/tools/profiler.py index a50c25ef..9fe66a52 100755 --- a/imperative/python/megengine/tools/profiler.py +++ b/imperative/python/megengine/tools/profiler.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import getopt import os diff --git a/imperative/python/megengine/tools/svg_viewer.py b/imperative/python/megengine/tools/svg_viewer.py index b5168778..afea2c0c 100755 --- a/imperative/python/megengine/tools/svg_viewer.py +++ b/imperative/python/megengine/tools/svg_viewer.py @@ -1,11 +1,4 @@ #! /usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import contextlib import getopt diff --git a/imperative/python/megengine/traced_module/__init__.py b/imperative/python/megengine/traced_module/__init__.py index 9568ceb5..1b73fc0e 100644 --- a/imperative/python/megengine/traced_module/__init__.py +++ b/imperative/python/megengine/traced_module/__init__.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from . import compat from ._passes import optimize from .pytree import register_supported_type diff --git a/imperative/python/megengine/traced_module/_passes/__init__.py b/imperative/python/megengine/traced_module/_passes/__init__.py index c5f7772f..793e411e 100644 --- a/imperative/python/megengine/traced_module/_passes/__init__.py +++ b/imperative/python/megengine/traced_module/_passes/__init__.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from . import const_pass, fold_scale_pass, fuse_pass from .optimization import optimize diff --git a/imperative/python/megengine/traced_module/_passes/const_pass.py b/imperative/python/megengine/traced_module/_passes/const_pass.py index 0ff3571b..280874a0 100644 --- a/imperative/python/megengine/traced_module/_passes/const_pass.py +++ b/imperative/python/megengine/traced_module/_passes/const_pass.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from ... import functional as F from ... import module as M from ...core.ops.builtin import GetVarShape diff --git a/imperative/python/megengine/traced_module/_passes/fold_scale_pass.py b/imperative/python/megengine/traced_module/_passes/fold_scale_pass.py index ab3e31a2..878b9a35 100644 --- a/imperative/python/megengine/traced_module/_passes/fold_scale_pass.py +++ b/imperative/python/megengine/traced_module/_passes/fold_scale_pass.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from collections import OrderedDict, defaultdict from copy import deepcopy from typing import Any, Dict, List, Set diff --git a/imperative/python/megengine/traced_module/_passes/fuse_pass.py b/imperative/python/megengine/traced_module/_passes/fuse_pass.py index 59822572..18da7318 100644 --- a/imperative/python/megengine/traced_module/_passes/fuse_pass.py +++ b/imperative/python/megengine/traced_module/_passes/fuse_pass.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import operator from collections import defaultdict from typing import Any, Callable, List diff --git a/imperative/python/megengine/traced_module/_passes/matcher.py b/imperative/python/megengine/traced_module/_passes/matcher.py index db4765ef..0a90bf0d 100644 --- a/imperative/python/megengine/traced_module/_passes/matcher.py +++ b/imperative/python/megengine/traced_module/_passes/matcher.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from collections import OrderedDict, defaultdict from functools import partial diff --git a/imperative/python/megengine/traced_module/_passes/optimization.py b/imperative/python/megengine/traced_module/_passes/optimization.py index 88d47baf..922169e9 100644 --- a/imperative/python/megengine/traced_module/_passes/optimization.py +++ b/imperative/python/megengine/traced_module/_passes/optimization.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from copy import deepcopy from typing import List, Set diff --git a/imperative/python/megengine/traced_module/_passes/pass_base.py b/imperative/python/megengine/traced_module/_passes/pass_base.py index 735d7fae..25966bd2 100644 --- a/imperative/python/megengine/traced_module/_passes/pass_base.py +++ b/imperative/python/megengine/traced_module/_passes/pass_base.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import copy from abc import abstractmethod from collections import OrderedDict, namedtuple diff --git a/imperative/python/megengine/traced_module/_passes/pattern.py b/imperative/python/megengine/traced_module/_passes/pattern.py index 1f559f4b..ea25d9fa 100644 --- a/imperative/python/megengine/traced_module/_passes/pattern.py +++ b/imperative/python/megengine/traced_module/_passes/pattern.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from abc import abstractmethod from typing import Any, Callable, Dict, List diff --git a/imperative/python/megengine/traced_module/_passes/utils.py b/imperative/python/megengine/traced_module/_passes/utils.py index ed25072e..c058d050 100644 --- a/imperative/python/megengine/traced_module/_passes/utils.py +++ b/imperative/python/megengine/traced_module/_passes/utils.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import copy from typing import Any, Dict, List diff --git a/imperative/python/megengine/traced_module/checker.py b/imperative/python/megengine/traced_module/checker.py index 31822b59..2967f71d 100644 --- a/imperative/python/megengine/traced_module/checker.py +++ b/imperative/python/megengine/traced_module/checker.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import traceback from typing import Sequence diff --git a/imperative/python/megengine/traced_module/compat.py b/imperative/python/megengine/traced_module/compat.py index 48978e8b..1cbf87d8 100644 --- a/imperative/python/megengine/traced_module/compat.py +++ b/imperative/python/megengine/traced_module/compat.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import numpy as np from megengine.functional.tensor import zeros diff --git a/imperative/python/megengine/traced_module/expr.py b/imperative/python/megengine/traced_module/expr.py index 84ff4317..408ee8a6 100644 --- a/imperative/python/megengine/traced_module/expr.py +++ b/imperative/python/megengine/traced_module/expr.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import builtins import collections import copy diff --git a/imperative/python/megengine/traced_module/fake_quant.py b/imperative/python/megengine/traced_module/fake_quant.py index 0e355f56..7ffa9c78 100644 --- a/imperative/python/megengine/traced_module/fake_quant.py +++ b/imperative/python/megengine/traced_module/fake_quant.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from copy import deepcopy from typing import Union diff --git a/imperative/python/megengine/traced_module/module_tracer.py b/imperative/python/megengine/traced_module/module_tracer.py index 1e81d7e5..61df529d 100644 --- a/imperative/python/megengine/traced_module/module_tracer.py +++ b/imperative/python/megengine/traced_module/module_tracer.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections from .. import Tensor diff --git a/imperative/python/megengine/traced_module/node.py b/imperative/python/megengine/traced_module/node.py index 079ee46e..7b24f852 100644 --- a/imperative/python/megengine/traced_module/node.py +++ b/imperative/python/megengine/traced_module/node.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import abc import copy import weakref diff --git a/imperative/python/megengine/traced_module/pytree.py b/imperative/python/megengine/traced_module/pytree.py index c4b132fa..5a59fc1f 100644 --- a/imperative/python/megengine/traced_module/pytree.py +++ b/imperative/python/megengine/traced_module/pytree.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import collections from collections import OrderedDict, defaultdict from functools import partial diff --git a/imperative/python/megengine/traced_module/serialization.py b/imperative/python/megengine/traced_module/serialization.py index d86854e6..19c01dd7 100644 --- a/imperative/python/megengine/traced_module/serialization.py +++ b/imperative/python/megengine/traced_module/serialization.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from importlib import import_module from typing import Dict, Tuple diff --git a/imperative/python/megengine/traced_module/traced_module.py b/imperative/python/megengine/traced_module/traced_module.py index 6f50b313..00b7852b 100644 --- a/imperative/python/megengine/traced_module/traced_module.py +++ b/imperative/python/megengine/traced_module/traced_module.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import builtins import collections import copy diff --git a/imperative/python/megengine/traced_module/utils.py b/imperative/python/megengine/traced_module/utils.py index 716b2bd5..309b502c 100644 --- a/imperative/python/megengine/traced_module/utils.py +++ b/imperative/python/megengine/traced_module/utils.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import copy import inspect diff --git a/imperative/python/megengine/utils/__init__.py b/imperative/python/megengine/utils/__init__.py index 0253e7dc..40a96afc 100644 --- a/imperative/python/megengine/utils/__init__.py +++ b/imperative/python/megengine/utils/__init__.py @@ -1,8 +1 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/imperative/python/megengine/utils/_timed_func_fork_exec_entry.py b/imperative/python/megengine/utils/_timed_func_fork_exec_entry.py index 2602700d..758cffe7 100644 --- a/imperative/python/megengine/utils/_timed_func_fork_exec_entry.py +++ b/imperative/python/megengine/utils/_timed_func_fork_exec_entry.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import os import sys diff --git a/imperative/python/megengine/utils/comp_graph_tools.py b/imperative/python/megengine/utils/comp_graph_tools.py index 521c61db..5271d316 100644 --- a/imperative/python/megengine/utils/comp_graph_tools.py +++ b/imperative/python/megengine/utils/comp_graph_tools.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import heapq from collections import OrderedDict diff --git a/imperative/python/megengine/utils/custom_op_tools.py b/imperative/python/megengine/utils/custom_op_tools.py index 6b09fde0..c9c8d2ef 100644 --- a/imperative/python/megengine/utils/custom_op_tools.py +++ b/imperative/python/megengine/utils/custom_op_tools.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import collections import ctypes import glob diff --git a/imperative/python/megengine/utils/deprecation.py b/imperative/python/megengine/utils/deprecation.py index 5e2da0bf..ea58d71a 100644 --- a/imperative/python/megengine/utils/deprecation.py +++ b/imperative/python/megengine/utils/deprecation.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import importlib import warnings from functools import wraps diff --git a/imperative/python/megengine/utils/future.py b/imperative/python/megengine/utils/future.py index a593e3d7..28ae47eb 100644 --- a/imperative/python/megengine/utils/future.py +++ b/imperative/python/megengine/utils/future.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import threading diff --git a/imperative/python/megengine/utils/hook.py b/imperative/python/megengine/utils/hook.py index cb4d313d..ce2540d2 100644 --- a/imperative/python/megengine/utils/hook.py +++ b/imperative/python/megengine/utils/hook.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import weakref diff --git a/imperative/python/megengine/utils/http_download.py b/imperative/python/megengine/utils/http_download.py index 47742535..0d023467 100644 --- a/imperative/python/megengine/utils/http_download.py +++ b/imperative/python/megengine/utils/http_download.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import hashlib import os import shutil diff --git a/imperative/python/megengine/utils/max_recursion_limit.py b/imperative/python/megengine/utils/max_recursion_limit.py index 4af5f9c1..81315ebb 100644 --- a/imperative/python/megengine/utils/max_recursion_limit.py +++ b/imperative/python/megengine/utils/max_recursion_limit.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import platform import sys import threading diff --git a/imperative/python/megengine/utils/module_stats.py b/imperative/python/megengine/utils/module_stats.py index a0a3beea..11d4d483 100644 --- a/imperative/python/megengine/utils/module_stats.py +++ b/imperative/python/megengine/utils/module_stats.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections from collections import namedtuple from functools import partial diff --git a/imperative/python/megengine/utils/module_utils.py b/imperative/python/megengine/utils/module_utils.py index 4fbf1daf..59360fcb 100644 --- a/imperative/python/megengine/utils/module_utils.py +++ b/imperative/python/megengine/utils/module_utils.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import contextlib from ..module import Sequential diff --git a/imperative/python/megengine/utils/naming.py b/imperative/python/megengine/utils/naming.py index 7f1bdbec..8dbd7d3a 100644 --- a/imperative/python/megengine/utils/naming.py +++ b/imperative/python/megengine/utils/naming.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from ..core._imperative_rt.core2 import pop_scope, push_scope diff --git a/imperative/python/megengine/utils/network.py b/imperative/python/megengine/utils/network.py index 88a1552d..aed19b5b 100644 --- a/imperative/python/megengine/utils/network.py +++ b/imperative/python/megengine/utils/network.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import fnmatch import itertools diff --git a/imperative/python/megengine/utils/network_node.py b/imperative/python/megengine/utils/network_node.py index 768792bb..d5778abe 100644 --- a/imperative/python/megengine/utils/network_node.py +++ b/imperative/python/megengine/utils/network_node.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import json import sys from typing import Sequence diff --git a/imperative/python/megengine/utils/persistent_cache.py b/imperative/python/megengine/utils/persistent_cache.py index ca6965cf..b936997b 100644 --- a/imperative/python/megengine/utils/persistent_cache.py +++ b/imperative/python/megengine/utils/persistent_cache.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import contextlib diff --git a/imperative/python/megengine/utils/profile_analyzer.py b/imperative/python/megengine/utils/profile_analyzer.py index 0fa3372c..5b266d85 100644 --- a/imperative/python/megengine/utils/profile_analyzer.py +++ b/imperative/python/megengine/utils/profile_analyzer.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import copy import functools diff --git a/imperative/python/megengine/utils/profiler.py b/imperative/python/megengine/utils/profiler.py index ec6c1ece..69309460 100644 --- a/imperative/python/megengine/utils/profiler.py +++ b/imperative/python/megengine/utils/profiler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import json import os import re diff --git a/imperative/python/megengine/utils/tuple_function.py b/imperative/python/megengine/utils/tuple_function.py index f8b84fdd..5c06eb5c 100644 --- a/imperative/python/megengine/utils/tuple_function.py +++ b/imperative/python/megengine/utils/tuple_function.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import functools diff --git a/imperative/python/setup.py b/imperative/python/setup.py index 81d60de3..10488c4e 100644 --- a/imperative/python/setup.py +++ b/imperative/python/setup.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import re diff --git a/imperative/python/src/common.cpp b/imperative/python/src/common.cpp index 066627eb..6947625d 100644 --- a/imperative/python/src/common.cpp +++ b/imperative/python/src/common.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./common.h" #include diff --git a/imperative/python/src/common.h b/imperative/python/src/common.h index ca10f042..8260f306 100644 --- a/imperative/python/src/common.h +++ b/imperative/python/src/common.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./helper.h" diff --git a/imperative/python/src/grad.cpp b/imperative/python/src/grad.cpp index 6cf41f12..a7c9a3e8 100644 --- a/imperative/python/src/grad.cpp +++ b/imperative/python/src/grad.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/grad.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad.h" #include "megbrain/imperative/backward_graph_opt.h" diff --git a/imperative/python/src/grad.h b/imperative/python/src/grad.h index 3b03ade6..69df0f46 100644 --- a/imperative/python/src/grad.h +++ b/imperative/python/src/grad.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/grad.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./tensor.h" diff --git a/imperative/python/src/grad_override.cpp b/imperative/python/src/grad_override.cpp index 6ddd7ca5..62228ac6 100644 --- a/imperative/python/src/grad_override.cpp +++ b/imperative/python/src/grad_override.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/grad_override.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/imperative/transformations/grad.h" diff --git a/imperative/python/src/graph_rt.cpp b/imperative/python/src/graph_rt.cpp index 3b5ee601..5b968e76 100644 --- a/imperative/python/src/graph_rt.cpp +++ b/imperative/python/src/graph_rt.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/graph_rt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./graph_rt.h" #include "./common.h" diff --git a/imperative/python/src/graph_rt.h b/imperative/python/src/graph_rt.h index d0e52cd6..3fa90fd8 100644 --- a/imperative/python/src/graph_rt.h +++ b/imperative/python/src/graph_rt.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/graph_rt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./helper.h" diff --git a/imperative/python/src/helper.cpp b/imperative/python/src/helper.cpp index f9290df5..98d78ea0 100644 --- a/imperative/python/src/helper.cpp +++ b/imperative/python/src/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include diff --git a/imperative/python/src/helper.h b/imperative/python/src/helper.h index d6347575..d65e8621 100644 --- a/imperative/python/src/helper.h +++ b/imperative/python/src/helper.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/imperative/python/src/imperative_rt.cpp b/imperative/python/src/imperative_rt.cpp index 2d51ea0d..6a19ee5e 100644 --- a/imperative/python/src/imperative_rt.cpp +++ b/imperative/python/src/imperative_rt.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/imperative_rt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./imperative_rt.h" #include diff --git a/imperative/python/src/imperative_rt.h b/imperative/python/src/imperative_rt.h index c7562fe9..2194bdb4 100644 --- a/imperative/python/src/imperative_rt.h +++ b/imperative/python/src/imperative_rt.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/imperative_rt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./helper.h" diff --git a/imperative/python/src/module.cpp b/imperative/python/src/module.cpp index 26c57093..d6ffedf5 100644 --- a/imperative/python/src/module.cpp +++ b/imperative/python/src/module.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/module.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #define DO_IMPORT_ARRAY diff --git a/imperative/python/src/module_trace.h b/imperative/python/src/module_trace.h index 90706e98..4102dd3a 100644 --- a/imperative/python/src/module_trace.h +++ b/imperative/python/src/module_trace.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/module_trace.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/python/src/numpy_dtypes.cpp b/imperative/python/src/numpy_dtypes.cpp index 87a215cf..4ecbb5b2 100644 --- a/imperative/python/src/numpy_dtypes.cpp +++ b/imperative/python/src/numpy_dtypes.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/numpy_dtypes.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./numpy_dtypes.h" #include "./helper.h" #include "./pyext17.h" diff --git a/imperative/python/src/numpy_dtypes.h b/imperative/python/src/numpy_dtypes.h index bed646c5..a3407490 100644 --- a/imperative/python/src/numpy_dtypes.h +++ b/imperative/python/src/numpy_dtypes.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/numpy_dtypes.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #ifndef DO_IMPORT_ARRAY diff --git a/imperative/python/src/numpy_dtypes_bfloat16.cpp b/imperative/python/src/numpy_dtypes_bfloat16.cpp index a5fd83ae..c9c6bc16 100644 --- a/imperative/python/src/numpy_dtypes_bfloat16.cpp +++ b/imperative/python/src/numpy_dtypes_bfloat16.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/numpy_dtypes_bfloat16.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./numpy_dtypes.h" #include diff --git a/imperative/python/src/numpy_dtypes_intbx.cpp b/imperative/python/src/numpy_dtypes_intbx.cpp index 661e56ba..1c0966b7 100644 --- a/imperative/python/src/numpy_dtypes_intbx.cpp +++ b/imperative/python/src/numpy_dtypes_intbx.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/numpy_dtypes_intbx.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./numpy_dtypes.h" #include diff --git a/imperative/python/src/ops.cpp b/imperative/python/src/ops.cpp index 03d5b0c7..cbddaa71 100644 --- a/imperative/python/src/ops.cpp +++ b/imperative/python/src/ops.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/ops.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./ops.h" #include "./helper.h" #include "./tensor.h" diff --git a/imperative/python/src/ops.h b/imperative/python/src/ops.h index 2add10e6..901f8bbf 100644 --- a/imperative/python/src/ops.h +++ b/imperative/python/src/ops.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/ops.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./enum_macro.h" diff --git a/imperative/python/src/pyext17.h b/imperative/python/src/pyext17.h index 3b1f0800..026d0543 100644 --- a/imperative/python/src/pyext17.h +++ b/imperative/python/src/pyext17.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/pyext17.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/python/src/tensor.cpp b/imperative/python/src/tensor.cpp index 74724994..ab7af91a 100644 --- a/imperative/python/src/tensor.cpp +++ b/imperative/python/src/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #include "megbrain/dtype.h" #include "megbrain/imperative/cpp_cupti.h" diff --git a/imperative/python/src/tensor.h b/imperative/python/src/tensor.h index 6b920c50..df9c8ffe 100644 --- a/imperative/python/src/tensor.h +++ b/imperative/python/src/tensor.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #pragma GCC diagnostic ignored "-Wmissing-field-initializers" diff --git a/imperative/python/src/tensor_utils.cpp b/imperative/python/src/tensor_utils.cpp index a455f812..688c69d6 100644 --- a/imperative/python/src/tensor_utils.cpp +++ b/imperative/python/src/tensor_utils.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #include "megbrain/dtype.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/python/src/transformation.h b/imperative/python/src/transformation.h index 4999deb0..c59f0eb7 100644 --- a/imperative/python/src/transformation.h +++ b/imperative/python/src/transformation.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/transformation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/python/src/utils.cpp b/imperative/python/src/utils.cpp index 260c7aa2..4c3cf8f7 100644 --- a/imperative/python/src/utils.cpp +++ b/imperative/python/src/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "utils.h" #ifdef WIN32 #include diff --git a/imperative/python/src/utils.h b/imperative/python/src/utils.h index 5778c6b7..0a4d69e5 100644 --- a/imperative/python/src/utils.h +++ b/imperative/python/src/utils.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/src/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./helper.h" diff --git a/imperative/python/test/conftest.py b/imperative/python/test/conftest.py index 465ede6b..73e4c697 100644 --- a/imperative/python/test/conftest.py +++ b/imperative/python/test/conftest.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform import sys diff --git a/imperative/python/test/integration/test_advance_indexing.py b/imperative/python/test/integration/test_advance_indexing.py index 22e95340..ba323e53 100644 --- a/imperative/python/test/integration/test_advance_indexing.py +++ b/imperative/python/test/integration/test_advance_indexing.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine diff --git a/imperative/python/test/integration/test_ai.py b/imperative/python/test/integration/test_ai.py index 47a3216f..13a66e94 100644 --- a/imperative/python/test/integration/test_ai.py +++ b/imperative/python/test/integration/test_ai.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine diff --git a/imperative/python/test/integration/test_bn.py b/imperative/python/test/integration/test_bn.py index 7ce2c2dd..449ccec0 100644 --- a/imperative/python/test/integration/test_bn.py +++ b/imperative/python/test/integration/test_bn.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/integration/test_converge.py b/imperative/python/test/integration/test_converge.py index e11ccce6..fd9a2693 100644 --- a/imperative/python/test/integration/test_converge.py +++ b/imperative/python/test/integration/test_converge.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import numpy as np diff --git a/imperative/python/test/integration/test_converge_with_drop.py b/imperative/python/test/integration/test_converge_with_drop.py index 9d2263da..cdd6d413 100644 --- a/imperative/python/test/integration/test_converge_with_drop.py +++ b/imperative/python/test/integration/test_converge_with_drop.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import numpy as np diff --git a/imperative/python/test/integration/test_converge_with_gradient_clip.py b/imperative/python/test/integration/test_converge_with_gradient_clip.py index 8ef05d24..8505dee8 100644 --- a/imperative/python/test/integration/test_converge_with_gradient_clip.py +++ b/imperative/python/test/integration/test_converge_with_gradient_clip.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import numpy as np diff --git a/imperative/python/test/integration/test_detach.py b/imperative/python/test/integration/test_detach.py index 368937b2..3480fa76 100644 --- a/imperative/python/test/integration/test_detach.py +++ b/imperative/python/test/integration/test_detach.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine diff --git a/imperative/python/test/integration/test_dp_correctness.py b/imperative/python/test/integration/test_dp_correctness.py index 06b151d4..f500b37e 100644 --- a/imperative/python/test/integration/test_dp_correctness.py +++ b/imperative/python/test/integration/test_dp_correctness.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import re import subprocess diff --git a/imperative/python/test/integration/test_hello_world.py b/imperative/python/test/integration/test_hello_world.py index 7dd55de8..1181e8ce 100644 --- a/imperative/python/test/integration/test_hello_world.py +++ b/imperative/python/test/integration/test_hello_world.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import subprocess import numpy as np diff --git a/imperative/python/test/integration/test_lr_scheduler.py b/imperative/python/test/integration/test_lr_scheduler.py index 31958bba..5599391c 100644 --- a/imperative/python/test/integration/test_lr_scheduler.py +++ b/imperative/python/test/integration/test_lr_scheduler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from bisect import bisect_right import numpy as np diff --git a/imperative/python/test/integration/test_optimizer.py b/imperative/python/test/integration/test_optimizer.py index 577c09f7..991a0034 100644 --- a/imperative/python/test/integration/test_optimizer.py +++ b/imperative/python/test/integration/test_optimizer.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import numpy as np diff --git a/imperative/python/test/integration/test_param_pack.py b/imperative/python/test/integration/test_param_pack.py index e672c536..c3bafb85 100644 --- a/imperative/python/test/integration/test_param_pack.py +++ b/imperative/python/test/integration/test_param_pack.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import platform import numpy as np diff --git a/imperative/python/test/integration/test_save_load.py b/imperative/python/test/integration/test_save_load.py index c1cab14d..33712df6 100644 --- a/imperative/python/test/integration/test_save_load.py +++ b/imperative/python/test/integration/test_save_load.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import numpy as np diff --git a/imperative/python/test/integration/test_sgd_momentum.py b/imperative/python/test/integration/test_sgd_momentum.py index fec6644c..19375ae8 100644 --- a/imperative/python/test/integration/test_sgd_momentum.py +++ b/imperative/python/test/integration/test_sgd_momentum.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import os diff --git a/imperative/python/test/integration/test_trace_dump.py b/imperative/python/test/integration/test_trace_dump.py index cee3b9d8..eb6dc1a0 100644 --- a/imperative/python/test/integration/test_trace_dump.py +++ b/imperative/python/test/integration/test_trace_dump.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import contextlib import os import tempfile diff --git a/imperative/python/test/unit/amp/test_autocast.py b/imperative/python/test/unit/amp/test_autocast.py index 1ed81639..5b4d09e8 100644 --- a/imperative/python/test/unit/amp/test_autocast.py +++ b/imperative/python/test/unit/amp/test_autocast.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from megengine import amp from megengine.core.tensor import amp as origin_amp diff --git a/imperative/python/test/unit/amp/test_grad_scaler.py b/imperative/python/test/unit/amp/test_grad_scaler.py index c554aa11..4eb7a407 100644 --- a/imperative/python/test/unit/amp/test_grad_scaler.py +++ b/imperative/python/test/unit/amp/test_grad_scaler.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine as mge diff --git a/imperative/python/test/unit/autodiff/test_grad_manager.py b/imperative/python/test/unit/autodiff/test_grad_manager.py index 09d0160a..9dff3def 100644 --- a/imperative/python/test/unit/autodiff/test_grad_manager.py +++ b/imperative/python/test/unit/autodiff/test_grad_manager.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform import weakref diff --git a/imperative/python/test/unit/core/custom_opsrc/elem_add.cpp b/imperative/python/test/unit/core/custom_opsrc/elem_add.cpp index d8f0299d..ca179d28 100644 --- a/imperative/python/test/unit/core/custom_opsrc/elem_add.cpp +++ b/imperative/python/test/unit/core/custom_opsrc/elem_add.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/test/unit/core/custom_opsrc/elem_add.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/custom/custom.h" CUSTOM_OP_REG_BEGIN(ElemAddSmooth) diff --git a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cpp b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cpp index 31998dd9..8f9ff3f1 100644 --- a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cpp +++ b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/python/test/unit/core/custom_opsrc/matmul_scale.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./matmul_scale.h" #include "megbrain/custom/custom.h" diff --git a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cu b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cu index 9d847d32..181b11c8 100644 --- a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cu +++ b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.cu @@ -1,14 +1,3 @@ -/** - * \file imperative/python/test/unit/core/custom_opsrc/matmul_scale.cu - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.h b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.h index 5f7ea8d0..e4a37b17 100644 --- a/imperative/python/test/unit/core/custom_opsrc/matmul_scale.h +++ b/imperative/python/test/unit/core/custom_opsrc/matmul_scale.h @@ -1,14 +1,3 @@ -/** - * \file imperative/python/test/unit/core/custom_opsrc/matmul_scale.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/custom/custom.h" using Tensor = custom::Tensor; diff --git a/imperative/python/test/unit/core/test_autodiff.py b/imperative/python/test/unit/core/test_autodiff.py index 30997267..07cf66b9 100644 --- a/imperative/python/test/unit/core/test_autodiff.py +++ b/imperative/python/test/unit/core/test_autodiff.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import gc import numpy as np diff --git a/imperative/python/test/unit/core/test_custom_op.py b/imperative/python/test/unit/core/test_custom_op.py index c5ace4b5..c9b4b642 100644 --- a/imperative/python/test/unit/core/test_custom_op.py +++ b/imperative/python/test/unit/core/test_custom_op.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import os import platform import shutil diff --git a/imperative/python/test/unit/core/test_dtype_bfloat16.py b/imperative/python/test/unit/core/test_dtype_bfloat16.py index 38b88597..93e888f2 100644 --- a/imperative/python/test/unit/core/test_dtype_bfloat16.py +++ b/imperative/python/test/unit/core/test_dtype_bfloat16.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import pickle import numpy as np diff --git a/imperative/python/test/unit/core/test_dtype_intbx.py b/imperative/python/test/unit/core/test_dtype_intbx.py index 24a23607..08322162 100644 --- a/imperative/python/test/unit/core/test_dtype_intbx.py +++ b/imperative/python/test/unit/core/test_dtype_intbx.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import pickle import numpy as np diff --git a/imperative/python/test/unit/core/test_dtype_quant.py b/imperative/python/test/unit/core/test_dtype_quant.py index 9cec2da9..d6ee27e4 100644 --- a/imperative/python/test/unit/core/test_dtype_quant.py +++ b/imperative/python/test/unit/core/test_dtype_quant.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from functools import partial import numpy as np diff --git a/imperative/python/test/unit/core/test_function.py b/imperative/python/test/unit/core/test_function.py index 9d63f222..c09b0c88 100644 --- a/imperative/python/test/unit/core/test_function.py +++ b/imperative/python/test/unit/core/test_function.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import copy import numpy as np diff --git a/imperative/python/test/unit/core/test_imperative_rt.py b/imperative/python/test/unit/core/test_imperative_rt.py index 14522a61..2edbd8bd 100644 --- a/imperative/python/test/unit/core/test_imperative_rt.py +++ b/imperative/python/test/unit/core/test_imperative_rt.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/core/test_indexing_op.py b/imperative/python/test/unit/core/test_indexing_op.py index ad422082..dad883c1 100644 --- a/imperative/python/test/unit/core/test_indexing_op.py +++ b/imperative/python/test/unit/core/test_indexing_op.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import collections import platform from tempfile import NamedTemporaryFile diff --git a/imperative/python/test/unit/core/test_megbrain_graph.py b/imperative/python/test/unit/core/test_megbrain_graph.py index cdba3dc9..1e540db7 100644 --- a/imperative/python/test/unit/core/test_megbrain_graph.py +++ b/imperative/python/test/unit/core/test_megbrain_graph.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from concurrent.futures import Future import numpy as np diff --git a/imperative/python/test/unit/core/test_raw_tensor.py b/imperative/python/test/unit/core/test_raw_tensor.py index 6ef599cc..0006e2de 100644 --- a/imperative/python/test/unit/core/test_raw_tensor.py +++ b/imperative/python/test/unit/core/test_raw_tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine.functional as F diff --git a/imperative/python/test/unit/core/test_serialization.py b/imperative/python/test/unit/core/test_serialization.py index 509be51f..836c9ce5 100644 --- a/imperative/python/test/unit/core/test_serialization.py +++ b/imperative/python/test/unit/core/test_serialization.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import pickle from tempfile import TemporaryFile diff --git a/imperative/python/test/unit/core/test_tensor_wrapper.py b/imperative/python/test/unit/core/test_tensor_wrapper.py index b984d536..154f8945 100644 --- a/imperative/python/test/unit/core/test_tensor_wrapper.py +++ b/imperative/python/test/unit/core/test_tensor_wrapper.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import copy import numpy as np diff --git a/imperative/python/test/unit/core/test_util.py b/imperative/python/test/unit/core/test_util.py index 07b81933..27e4a407 100644 --- a/imperative/python/test/unit/core/test_util.py +++ b/imperative/python/test/unit/core/test_util.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import logging from megengine.core._imperative_rt import Logger diff --git a/imperative/python/test/unit/data/test_dataloader.py b/imperative/python/test/unit/data/test_dataloader.py index 0bfc8e49..c765feb6 100644 --- a/imperative/python/test/unit/data/test_dataloader.py +++ b/imperative/python/test/unit/data/test_dataloader.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform import time diff --git a/imperative/python/test/unit/data/test_dataset.py b/imperative/python/test/unit/data/test_dataset.py index 3f0ce406..0ac74c58 100644 --- a/imperative/python/test/unit/data/test_dataset.py +++ b/imperative/python/test/unit/data/test_dataset.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import sys diff --git a/imperative/python/test/unit/data/test_pre_dataloader.py b/imperative/python/test/unit/data/test_pre_dataloader.py index 24394a41..228b93a4 100644 --- a/imperative/python/test/unit/data/test_pre_dataloader.py +++ b/imperative/python/test/unit/data/test_pre_dataloader.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import gc import os import platform diff --git a/imperative/python/test/unit/data/test_sampler.py b/imperative/python/test/unit/data/test_sampler.py index 081dba5d..5204d2d7 100644 --- a/imperative/python/test/unit/data/test_sampler.py +++ b/imperative/python/test/unit/data/test_sampler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import copy import os import sys diff --git a/imperative/python/test/unit/data/test_transform.py b/imperative/python/test/unit/data/test_transform.py index df9baade..e2aed9c4 100644 --- a/imperative/python/test/unit/data/test_transform.py +++ b/imperative/python/test/unit/data/test_transform.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np from megengine.data.transform import * diff --git a/imperative/python/test/unit/distributed/test_distributed.py b/imperative/python/test/unit/distributed/test_distributed.py index 0ed0c82d..d3146e9a 100644 --- a/imperative/python/test/unit/distributed/test_distributed.py +++ b/imperative/python/test/unit/distributed/test_distributed.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import multiprocessing as mp import platform import queue diff --git a/imperative/python/test/unit/functional/test_elemwise.py b/imperative/python/test/unit/functional/test_elemwise.py index 3f18de80..30ed9d80 100644 --- a/imperative/python/test/unit/functional/test_elemwise.py +++ b/imperative/python/test/unit/functional/test_elemwise.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/functional/test_functional.py b/imperative/python/test/unit/functional/test_functional.py index 12f2b43b..44a186c2 100644 --- a/imperative/python/test/unit/functional/test_functional.py +++ b/imperative/python/test/unit/functional/test_functional.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import platform from functools import partial diff --git a/imperative/python/test/unit/functional/test_functional_distributed.py b/imperative/python/test/unit/functional/test_functional_distributed.py index bd429724..0ae8ce84 100644 --- a/imperative/python/test/unit/functional/test_functional_distributed.py +++ b/imperative/python/test/unit/functional/test_functional_distributed.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import platform import numpy as np diff --git a/imperative/python/test/unit/functional/test_functional_distributed_axis.py b/imperative/python/test/unit/functional/test_functional_distributed_axis.py index b9a8e093..e523e5bd 100644 --- a/imperative/python/test/unit/functional/test_functional_distributed_axis.py +++ b/imperative/python/test/unit/functional/test_functional_distributed_axis.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/functional/test_loss.py b/imperative/python/test/unit/functional/test_loss.py index abf4b2fe..15dde82d 100644 --- a/imperative/python/test/unit/functional/test_loss.py +++ b/imperative/python/test/unit/functional/test_loss.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/functional/test_math.py b/imperative/python/test/unit/functional/test_math.py index 12f37ade..e0765c8d 100644 --- a/imperative/python/test/unit/functional/test_math.py +++ b/imperative/python/test/unit/functional/test_math.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from functools import partial import numpy as np diff --git a/imperative/python/test/unit/functional/test_tensor.py b/imperative/python/test/unit/functional/test_tensor.py index 87dd1e83..7a5c7ccc 100644 --- a/imperative/python/test/unit/functional/test_tensor.py +++ b/imperative/python/test/unit/functional/test_tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform diff --git a/imperative/python/test/unit/jit/test_tracing.py b/imperative/python/test/unit/jit/test_tracing.py index ddba5bfb..dbd7885c 100644 --- a/imperative/python/test/unit/jit/test_tracing.py +++ b/imperative/python/test/unit/jit/test_tracing.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import inspect import io import itertools diff --git a/imperative/python/test/unit/module/test_activation.py b/imperative/python/test/unit/module/test_activation.py index 84f8a9e1..e9e57b3d 100644 --- a/imperative/python/test/unit/module/test_activation.py +++ b/imperative/python/test/unit/module/test_activation.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/module/test_batchnorm.py b/imperative/python/test/unit/module/test_batchnorm.py index 911125cc..beab9058 100644 --- a/imperative/python/test/unit/module/test_batchnorm.py +++ b/imperative/python/test/unit/module/test_batchnorm.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import platform diff --git a/imperative/python/test/unit/module/test_conv.py b/imperative/python/test/unit/module/test_conv.py index 436324df..7cb9bdf1 100644 --- a/imperative/python/test/unit/module/test_conv.py +++ b/imperative/python/test/unit/module/test_conv.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import numpy as np diff --git a/imperative/python/test/unit/module/test_elemwise.py b/imperative/python/test/unit/module/test_elemwise.py index 009de1f0..8060a016 100644 --- a/imperative/python/test/unit/module/test_elemwise.py +++ b/imperative/python/test/unit/module/test_elemwise.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine.functional as F diff --git a/imperative/python/test/unit/module/test_init.py b/imperative/python/test/unit/module/test_init.py index b28f60e1..1741e42e 100644 --- a/imperative/python/test/unit/module/test_init.py +++ b/imperative/python/test/unit/module/test_init.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/module/test_module.py b/imperative/python/test/unit/module/test_module.py index 095bf6e8..e7c6a553 100644 --- a/imperative/python/test/unit/module/test_module.py +++ b/imperative/python/test/unit/module/test_module.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from collections import OrderedDict from io import BytesIO diff --git a/imperative/python/test/unit/module/test_normalization.py b/imperative/python/test/unit/module/test_normalization.py index 130ed975..da8b7b04 100644 --- a/imperative/python/test/unit/module/test_normalization.py +++ b/imperative/python/test/unit/module/test_normalization.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import megengine.module.normalization as norm diff --git a/imperative/python/test/unit/module/test_pool2d.py b/imperative/python/test/unit/module/test_pool2d.py index 9f06469f..70fe98aa 100644 --- a/imperative/python/test/unit/module/test_pool2d.py +++ b/imperative/python/test/unit/module/test_pool2d.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import itertools import numpy as np diff --git a/imperative/python/test/unit/module/test_rnn.py b/imperative/python/test/unit/module/test_rnn.py index eca46cd6..3d68ee36 100644 --- a/imperative/python/test/unit/module/test_rnn.py +++ b/imperative/python/test/unit/module/test_rnn.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/optimizer/test_clip_grad.py b/imperative/python/test/unit/optimizer/test_clip_grad.py index 9864dfae..28db9386 100644 --- a/imperative/python/test/unit/optimizer/test_clip_grad.py +++ b/imperative/python/test/unit/optimizer/test_clip_grad.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import numpy as np import megengine as mge diff --git a/imperative/python/test/unit/quantization/test_fake_quant.py b/imperative/python/test/unit/quantization/test_fake_quant.py index a2518862..a4d25133 100644 --- a/imperative/python/test/unit/quantization/test_fake_quant.py +++ b/imperative/python/test/unit/quantization/test_fake_quant.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/quantization/test_module.py b/imperative/python/test/unit/quantization/test_module.py index ec23ef6a..c56d1ba5 100644 --- a/imperative/python/test/unit/quantization/test_module.py +++ b/imperative/python/test/unit/quantization/test_module.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - from functools import partial import numpy as np diff --git a/imperative/python/test/unit/quantization/test_observer.py b/imperative/python/test/unit/quantization/test_observer.py index cddf07a6..2d1a1cad 100644 --- a/imperative/python/test/unit/quantization/test_observer.py +++ b/imperative/python/test/unit/quantization/test_observer.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import platform import numpy as np diff --git a/imperative/python/test/unit/quantization/test_op.py b/imperative/python/test/unit/quantization/test_op.py index ab21c93c..31103716 100644 --- a/imperative/python/test/unit/quantization/test_op.py +++ b/imperative/python/test/unit/quantization/test_op.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import numpy as np import pytest diff --git a/imperative/python/test/unit/quantization/test_quantize.py b/imperative/python/test/unit/quantization/test_quantize.py index 13abc43b..3ee9ae4c 100644 --- a/imperative/python/test/unit/quantization/test_quantize.py +++ b/imperative/python/test/unit/quantization/test_quantize.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/quantization/test_repr.py b/imperative/python/test/unit/quantization/test_repr.py index fb0dd9b2..a0625a2a 100644 --- a/imperative/python/test/unit/quantization/test_repr.py +++ b/imperative/python/test/unit/quantization/test_repr.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import megengine.module as M from megengine.quantization import quantize, quantize_qat diff --git a/imperative/python/test/unit/random/test_rng.py b/imperative/python/test/unit/random/test_rng.py index 504631c1..53d8a39f 100644 --- a/imperative/python/test/unit/random/test_rng.py +++ b/imperative/python/test/unit/random/test_rng.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2020 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import numpy as np import pytest diff --git a/imperative/python/test/unit/traced_module/test_jit_trace.py b/imperative/python/test/unit/traced_module/test_jit_trace.py index fa76cf96..d7ec9fcb 100644 --- a/imperative/python/test/unit/traced_module/test_jit_trace.py +++ b/imperative/python/test/unit/traced_module/test_jit_trace.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import io import numpy as np diff --git a/imperative/python/test/unit/traced_module/test_modification.py b/imperative/python/test/unit/traced_module/test_modification.py index 036924a7..a1bbaec5 100644 --- a/imperative/python/test/unit/traced_module/test_modification.py +++ b/imperative/python/test/unit/traced_module/test_modification.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import pickle from collections import defaultdict from itertools import chain diff --git a/imperative/python/test/unit/traced_module/test_passes.py b/imperative/python/test/unit/traced_module/test_passes.py index 18dc1326..56743598 100644 --- a/imperative/python/test/unit/traced_module/test_passes.py +++ b/imperative/python/test/unit/traced_module/test_passes.py @@ -1,11 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - import types import numpy as np diff --git a/imperative/python/test/unit/traced_module/test_serialization.py b/imperative/python/test/unit/traced_module/test_serialization.py index 3e952ee9..8b7363f3 100644 --- a/imperative/python/test/unit/traced_module/test_serialization.py +++ b/imperative/python/test/unit/traced_module/test_serialization.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import pickle from collections import defaultdict from tempfile import TemporaryFile diff --git a/imperative/python/test/unit/utils/test_cgtools.py b/imperative/python/test/unit/utils/test_cgtools.py index 8289da3e..bcd5098c 100644 --- a/imperative/python/test/unit/utils/test_cgtools.py +++ b/imperative/python/test/unit/utils/test_cgtools.py @@ -1,10 +1,3 @@ -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import io import numpy as np diff --git a/imperative/python/test/unit/utils/test_dump_naming.py b/imperative/python/test/unit/utils/test_dump_naming.py index 333a4ddd..3c2da65f 100644 --- a/imperative/python/test/unit/utils/test_dump_naming.py +++ b/imperative/python/test/unit/utils/test_dump_naming.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import io import numpy as np diff --git a/imperative/python/test/unit/utils/test_profiler.py b/imperative/python/test/unit/utils/test_profiler.py index 7c73c79b..5e9407e2 100644 --- a/imperative/python/test/unit/utils/test_profiler.py +++ b/imperative/python/test/unit/utils/test_profiler.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2020 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied import json import os import tempfile diff --git a/imperative/src/impl/backward_graph_opt.cpp b/imperative/src/impl/backward_graph_opt.cpp index e1e00c92..d1eece55 100644 --- a/imperative/src/impl/backward_graph_opt.cpp +++ b/imperative/src/impl/backward_graph_opt.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/backward_graph_opt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/backward_graph_opt.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/imperative/ops/backward_graph.h" diff --git a/imperative/src/impl/blob_manager_impl.cpp b/imperative/src/impl/blob_manager_impl.cpp index 130885a8..1c5cecfa 100644 --- a/imperative/src/impl/blob_manager_impl.cpp +++ b/imperative/src/impl/blob_manager_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/blob_manager_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./blob_manager_impl.h" #include #include "megbrain/utils/arith_helper.h" diff --git a/imperative/src/impl/blob_manager_impl.h b/imperative/src/impl/blob_manager_impl.h index ad75c9cd..d20e0ddc 100644 --- a/imperative/src/impl/blob_manager_impl.h +++ b/imperative/src/impl/blob_manager_impl.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/blob_manager_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/blob_manager.h" diff --git a/imperative/src/impl/dispatch.cpp b/imperative/src/impl/dispatch.cpp index c982c6c2..f9c8457e 100644 --- a/imperative/src/impl/dispatch.cpp +++ b/imperative/src/impl/dispatch.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/dispatch.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/dispatch.h" #include "megbrain/imperative/utils/debug.h" diff --git a/imperative/src/impl/dnn_op_helper.h b/imperative/src/impl/dnn_op_helper.h index 375c88e2..bd2e0c4b 100644 --- a/imperative/src/impl/dnn_op_helper.h +++ b/imperative/src/impl/dnn_op_helper.h @@ -1,15 +1,4 @@ -/** - * \file imperative/src/impl/dnn_op_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once - #include "megbrain/comp_node.h" #include "megbrain/comp_node_env.h" #include "megbrain/imperative/physical_tensor.h" diff --git a/imperative/src/impl/event_pool.cpp b/imperative/src/impl/event_pool.cpp index 66888ad6..fde4710c 100644 --- a/imperative/src/impl/event_pool.cpp +++ b/imperative/src/impl/event_pool.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/event_pool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./event_pool.h" #include diff --git a/imperative/src/impl/event_pool.h b/imperative/src/impl/event_pool.h index 300b0390..14cfca07 100644 --- a/imperative/src/impl/event_pool.h +++ b/imperative/src/impl/event_pool.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/event_pool.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/imperative/src/impl/function_hook.h b/imperative/src/impl/function_hook.h index e16a94fa..a728c215 100644 --- a/imperative/src/impl/function_hook.h +++ b/imperative/src/impl/function_hook.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/function_hook.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/thin/function.h" diff --git a/imperative/src/impl/interpreter/commands.h b/imperative/src/impl/interpreter/commands.h index 54763b16..ce05197f 100644 --- a/imperative/src/impl/interpreter/commands.h +++ b/imperative/src/impl/interpreter/commands.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/commands.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/impl/interpreter/interpreter_impl.cpp b/imperative/src/impl/interpreter/interpreter_impl.cpp index 5b556430..528e4092 100644 --- a/imperative/src/impl/interpreter/interpreter_impl.cpp +++ b/imperative/src/impl/interpreter/interpreter_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/interpreter_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./interpreter_impl.h" #include "range/v3/all.hpp" diff --git a/imperative/src/impl/interpreter/interpreter_impl.h b/imperative/src/impl/interpreter/interpreter_impl.h index cdcafa66..e5ae45bd 100644 --- a/imperative/src/impl/interpreter/interpreter_impl.h +++ b/imperative/src/impl/interpreter/interpreter_impl.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/interpreter_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/impl/interpreter/option_manager.h b/imperative/src/impl/interpreter/option_manager.h index 97905e43..728e1071 100644 --- a/imperative/src/impl/interpreter/option_manager.h +++ b/imperative/src/impl/interpreter/option_manager.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/option_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/impl/interpreter/stack_manager.h b/imperative/src/impl/interpreter/stack_manager.h index d7ed81db..1ae0262b 100644 --- a/imperative/src/impl/interpreter/stack_manager.h +++ b/imperative/src/impl/interpreter/stack_manager.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/stack_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/impl/interpreter/tensor_info.h b/imperative/src/impl/interpreter/tensor_info.h index c0c8223b..f8719436 100644 --- a/imperative/src/impl/interpreter/tensor_info.h +++ b/imperative/src/impl/interpreter/tensor_info.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/tensor_info.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/impl/op_def.cpp b/imperative/src/impl/op_def.cpp index 4ab971dd..2f93d6bd 100644 --- a/imperative/src/impl/op_def.cpp +++ b/imperative/src/impl/op_def.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/op_def.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/op_def.h" #include diff --git a/imperative/src/impl/op_trait.cpp b/imperative/src/impl/op_trait.cpp index 6bfedc54..8dbcee76 100644 --- a/imperative/src/impl/op_trait.cpp +++ b/imperative/src/impl/op_trait.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/op_trait.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/imperative/src/impl/op_trait.h b/imperative/src/impl/op_trait.h index 8398ed71..c856be12 100644 --- a/imperative/src/impl/op_trait.h +++ b/imperative/src/impl/op_trait.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/op_trait.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/graph_cache.h" diff --git a/imperative/src/impl/opr_utility.cpp b/imperative/src/impl/opr_utility.cpp index 2f5e1de2..eac646f3 100644 --- a/imperative/src/impl/opr_utility.cpp +++ b/imperative/src/impl/opr_utility.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/opr_utility.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/opr_utility.h" #include "./mgb_cg_impl.h" diff --git a/imperative/src/impl/ops/atlas_runtime.cpp b/imperative/src/impl/ops/atlas_runtime.cpp index 1f5e2dce..4c808cef 100644 --- a/imperative/src/impl/ops/atlas_runtime.cpp +++ b/imperative/src/impl/ops/atlas_runtime.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/tensorrt_runtime.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/autogen.cpp b/imperative/src/impl/ops/autogen.cpp index 6456ab1f..d5100fa6 100644 --- a/imperative/src/impl/ops/autogen.cpp +++ b/imperative/src/impl/ops/autogen.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/autogen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/autogen.h" #include "../op_trait.h" diff --git a/imperative/src/impl/ops/backward_graph.cpp b/imperative/src/impl/ops/backward_graph.cpp index 36efe358..80638648 100644 --- a/imperative/src/impl/ops/backward_graph.cpp +++ b/imperative/src/impl/ops/backward_graph.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/backward_graph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include diff --git a/imperative/src/impl/ops/batch_norm.cpp b/imperative/src/impl/ops/batch_norm.cpp index 9301e14b..b67e81d7 100644 --- a/imperative/src/impl/ops/batch_norm.cpp +++ b/imperative/src/impl/ops/batch_norm.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/batch_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/batch_norm.h" #include "../blob_manager_impl.h" #include "../dnn_op_helper.h" diff --git a/imperative/src/impl/ops/broadcast.cpp b/imperative/src/impl/ops/broadcast.cpp index db3a1506..8112ab1c 100644 --- a/imperative/src/impl/ops/broadcast.cpp +++ b/imperative/src/impl/ops/broadcast.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/broadcast.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/tensor_manip.h" diff --git a/imperative/src/impl/ops/cambricon_runtime.cpp b/imperative/src/impl/ops/cambricon_runtime.cpp index cb8aee0c..30bb3381 100644 --- a/imperative/src/impl/ops/cambricon_runtime.cpp +++ b/imperative/src/impl/ops/cambricon_runtime.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/tensorrt_runtime.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/collective_comm.cpp b/imperative/src/impl/ops/collective_comm.cpp index 141f7f62..85d8efec 100644 --- a/imperative/src/impl/ops/collective_comm.cpp +++ b/imperative/src/impl/ops/collective_comm.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/collective_comm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_ENABLE_OPR_MM diff --git a/imperative/src/impl/ops/cond_take.cpp b/imperative/src/impl/ops/cond_take.cpp index 95ad7c93..3495f0cf 100644 --- a/imperative/src/impl/ops/cond_take.cpp +++ b/imperative/src/impl/ops/cond_take.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/cond_take.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../dnn_op_helper.h" #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/convolution.cpp b/imperative/src/impl/ops/convolution.cpp index 3832b7a1..f15f4d87 100644 --- a/imperative/src/impl/ops/convolution.cpp +++ b/imperative/src/impl/ops/convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/dnn/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/convolution.h" #include "../algo_chooser.h" #include "../blob_manager_impl.h" diff --git a/imperative/src/impl/ops/custom_opdef.cpp b/imperative/src/impl/ops/custom_opdef.cpp index 032cdd5f..8adddfd0 100644 --- a/imperative/src/impl/ops/custom_opdef.cpp +++ b/imperative/src/impl/ops/custom_opdef.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/custom_opdef.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/custom_opdef.h" #if MGB_CUSTOM_OP diff --git a/imperative/src/impl/ops/deformable_conv2d.cpp b/imperative/src/impl/ops/deformable_conv2d.cpp index 83c05d2a..6339b88f 100644 --- a/imperative/src/impl/ops/deformable_conv2d.cpp +++ b/imperative/src/impl/ops/deformable_conv2d.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/deformable_conv2d.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/imperative/src/impl/ops/deformable_psroi_pooling.cpp b/imperative/src/impl/ops/deformable_psroi_pooling.cpp index 54dc9bcf..5cfc910f 100644 --- a/imperative/src/impl/ops/deformable_psroi_pooling.cpp +++ b/imperative/src/impl/ops/deformable_psroi_pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/deformable_psroi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/dnn/roi_pooling.h" diff --git a/imperative/src/impl/ops/elemwise.cpp b/imperative/src/impl/ops/elemwise.cpp index 7d19b5e3..a62d962d 100644 --- a/imperative/src/impl/ops/elemwise.cpp +++ b/imperative/src/impl/ops/elemwise.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/opr_utility.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/basic_arith.h" diff --git a/imperative/src/impl/ops/extern_opr.cpp b/imperative/src/impl/ops/extern_opr.cpp index b0a495ad..5796aa46 100644 --- a/imperative/src/impl/ops/extern_opr.cpp +++ b/imperative/src/impl/ops/extern_opr.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/extern_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/indexing.cpp b/imperative/src/impl/ops/indexing.cpp index 88a7c9b6..6d7a6d07 100644 --- a/imperative/src/impl/ops/indexing.cpp +++ b/imperative/src/impl/ops/indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/autogen.h" #include "../op_trait.h" diff --git a/imperative/src/impl/ops/io_remote.cpp b/imperative/src/impl/ops/io_remote.cpp index 255e65d7..6dd097fa 100644 --- a/imperative/src/impl/ops/io_remote.cpp +++ b/imperative/src/impl/ops/io_remote.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/io_remote.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_ENABLE_OPR_MM diff --git a/imperative/src/impl/ops/magicmind_runtime.cpp b/imperative/src/impl/ops/magicmind_runtime.cpp index 3ed295d2..e153c871 100644 --- a/imperative/src/impl/ops/magicmind_runtime.cpp +++ b/imperative/src/impl/ops/magicmind_runtime.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/magicmind_runtime.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/matrix_inverse.cpp b/imperative/src/impl/ops/matrix_inverse.cpp index b6581728..5c9825e1 100644 --- a/imperative/src/impl/ops/matrix_inverse.cpp +++ b/imperative/src/impl/ops/matrix_inverse.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/matrix_inverse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/misc.cpp b/imperative/src/impl/ops/misc.cpp index a099dc8c..95b7ea8a 100644 --- a/imperative/src/impl/ops/misc.cpp +++ b/imperative/src/impl/ops/misc.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/tensor_manip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../dnn_op_helper.h" #include "../op_trait.h" diff --git a/imperative/src/impl/ops/nms.cpp b/imperative/src/impl/ops/nms.cpp index 8ee2d91d..462cee90 100644 --- a/imperative/src/impl/ops/nms.cpp +++ b/imperative/src/impl/ops/nms.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/nms.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/opr_attr.cpp b/imperative/src/impl/ops/opr_attr.cpp index dfa09150..05b0ee70 100644 --- a/imperative/src/impl/ops/opr_attr.cpp +++ b/imperative/src/impl/ops/opr_attr.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/opr_attr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/opr_attr.h" #include "megbrain/opr/blas.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/imperative/src/impl/ops/pooling.cpp b/imperative/src/impl/ops/pooling.cpp index 8281ac0f..b71a0d5a 100644 --- a/imperative/src/impl/ops/pooling.cpp +++ b/imperative/src/impl/ops/pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/pooling.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/utility.h" diff --git a/imperative/src/impl/ops/reduce.cpp b/imperative/src/impl/ops/reduce.cpp index a6f334f2..dc4595f1 100644 --- a/imperative/src/impl/ops/reduce.cpp +++ b/imperative/src/impl/ops/reduce.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/reduce.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/symbol_var.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/imperative/proxy_graph_detail.h" diff --git a/imperative/src/impl/ops/resize.cpp b/imperative/src/impl/ops/resize.cpp index 004aee58..0fd7415e 100644 --- a/imperative/src/impl/ops/resize.cpp +++ b/imperative/src/impl/ops/resize.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/resize.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/imgproc.h" diff --git a/imperative/src/impl/ops/rng.cpp b/imperative/src/impl/ops/rng.cpp index 561ac269..50421e9b 100644 --- a/imperative/src/impl/ops/rng.cpp +++ b/imperative/src/impl/ops/rng.cpp @@ -1,15 +1,3 @@ -/** - * \file imperative/src/impl/ops/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/imperative/ops/rng.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/helper.h" diff --git a/imperative/src/impl/ops/rnn.cpp b/imperative/src/impl/ops/rnn.cpp index b4e9ec80..d8223153 100644 --- a/imperative/src/impl/ops/rnn.cpp +++ b/imperative/src/impl/ops/rnn.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/rnn.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/softmax.cpp b/imperative/src/impl/ops/softmax.cpp index 68319e93..334ed93a 100644 --- a/imperative/src/impl/ops/softmax.cpp +++ b/imperative/src/impl/ops/softmax.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/softmax.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/specializations.cpp b/imperative/src/impl/ops/specializations.cpp index a3e1606c..e842ca91 100644 --- a/imperative/src/impl/ops/specializations.cpp +++ b/imperative/src/impl/ops/specializations.cpp @@ -1,15 +1,3 @@ -/** - * \file imperative/src/impl/ops/specialzations.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - // FIXME: split this file into separate files for each specialized op #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/tensor_manip.cpp b/imperative/src/impl/ops/tensor_manip.cpp index 00eca1e7..abb3c6a1 100644 --- a/imperative/src/impl/ops/tensor_manip.cpp +++ b/imperative/src/impl/ops/tensor_manip.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/tensor_manip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_manip.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/imperative/ops/opr_attr.h" diff --git a/imperative/src/impl/ops/tensorrt_runtime.cpp b/imperative/src/impl/ops/tensorrt_runtime.cpp index 4f784168..6ba62d4b 100644 --- a/imperative/src/impl/ops/tensorrt_runtime.cpp +++ b/imperative/src/impl/ops/tensorrt_runtime.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/tensorrt_runtime.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/ops/utility.cpp b/imperative/src/impl/ops/utility.cpp index 727c7056..f2be954f 100644 --- a/imperative/src/impl/ops/utility.cpp +++ b/imperative/src/impl/ops/utility.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/utility.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include diff --git a/imperative/src/impl/ops/vision.cpp b/imperative/src/impl/ops/vision.cpp index a8ba24c1..69c17503 100644 --- a/imperative/src/impl/ops/vision.cpp +++ b/imperative/src/impl/ops/vision.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/ops/vision.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/imgproc.h" diff --git a/imperative/src/impl/ops/warp_affine.cpp b/imperative/src/impl/ops/warp_affine.cpp index 0bbf0f3d..e4a8a8e9 100644 --- a/imperative/src/impl/ops/warp_affine.cpp +++ b/imperative/src/impl/ops/warp_affine.cpp @@ -1,13 +1,3 @@ -/** - * \file imperative/src/impl/ops/warp_affine.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "../op_trait.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/persistent_cache.cpp b/imperative/src/impl/persistent_cache.cpp index 757ba04c..0d0c20a3 100644 --- a/imperative/src/impl/persistent_cache.cpp +++ b/imperative/src/impl/persistent_cache.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/persistent_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/imperative/src/impl/physical_tensor.cpp b/imperative/src/impl/physical_tensor.cpp index 1d2a6b69..0785edee 100644 --- a/imperative/src/impl/physical_tensor.cpp +++ b/imperative/src/impl/physical_tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/physical_tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/physical_tensor.h" #include "megbrain/common.h" #include "megbrain/comp_node.h" diff --git a/imperative/src/impl/profiler.cpp b/imperative/src/impl/profiler.cpp index 12204d5a..a1850e62 100644 --- a/imperative/src/impl/profiler.cpp +++ b/imperative/src/impl/profiler.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/profiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/profiler.h" #include diff --git a/imperative/src/impl/profiler/chrome_timeline.cpp b/imperative/src/impl/profiler/chrome_timeline.cpp index 2715a075..594b7e1b 100644 --- a/imperative/src/impl/profiler/chrome_timeline.cpp +++ b/imperative/src/impl/profiler/chrome_timeline.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/profiler/chrome_timeline.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #include #elif defined(_WIN32) diff --git a/imperative/src/impl/profiler/events.h b/imperative/src/impl/profiler/events.h index e882ff0a..28591653 100644 --- a/imperative/src/impl/profiler/events.h +++ b/imperative/src/impl/profiler/events.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/events.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/profiler.h" diff --git a/imperative/src/impl/profiler/formats.h b/imperative/src/impl/profiler/formats.h index bc18bddd..9a19130d 100644 --- a/imperative/src/impl/profiler/formats.h +++ b/imperative/src/impl/profiler/formats.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/profiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/impl/profiler_plugin.cpp b/imperative/src/impl/profiler_plugin.cpp index 43cb52b9..f91d9e3f 100644 --- a/imperative/src/impl/profiler_plugin.cpp +++ b/imperative/src/impl/profiler_plugin.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/profiler_plugin.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/profiler_plugin.h" #include "megbrain/graph.h" diff --git a/imperative/src/impl/proxy_graph.cpp b/imperative/src/impl/proxy_graph.cpp index b25b9124..c0512921 100644 --- a/imperative/src/impl/proxy_graph.cpp +++ b/imperative/src/impl/proxy_graph.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./proxy_graph.h" #include "./blob_manager_impl.h" #include "megbrain/graph.h" diff --git a/imperative/src/impl/proxy_graph.h b/imperative/src/impl/proxy_graph.h index 56d193b6..ae981118 100644 --- a/imperative/src/impl/proxy_graph.h +++ b/imperative/src/impl/proxy_graph.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/imperative/src/impl/proxy_graph/common.h b/imperative/src/impl/proxy_graph/common.h index e421a2ee..575dd332 100644 --- a/imperative/src/impl/proxy_graph/common.h +++ b/imperative/src/impl/proxy_graph/common.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - namespace mgb::imperative::proxy_graph { // a "namespace" struct to simplify friend declaration, diff --git a/imperative/src/impl/proxy_graph/mini_graph.h b/imperative/src/impl/proxy_graph/mini_graph.h index b8568c41..423bd74a 100644 --- a/imperative/src/impl/proxy_graph/mini_graph.h +++ b/imperative/src/impl/proxy_graph/mini_graph.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph/mini_graph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/operator_node.h" #include "megbrain/imperative/op_def.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/proxy_graph/proxy_graph.cpp b/imperative/src/impl/proxy_graph/proxy_graph.cpp index 85345fb8..948a5519 100644 --- a/imperative/src/impl/proxy_graph/proxy_graph.cpp +++ b/imperative/src/impl/proxy_graph/proxy_graph.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph/proxy_graph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../mgb_cg_impl.h" #include "./mini_graph.h" #include "megbrain/opr/io.h" diff --git a/imperative/src/impl/proxy_graph/proxy_graph_base.h b/imperative/src/impl/proxy_graph/proxy_graph_base.h index 2e957d13..1699b6df 100644 --- a/imperative/src/impl/proxy_graph/proxy_graph_base.h +++ b/imperative/src/impl/proxy_graph/proxy_graph_base.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph/proxy_graph_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/cg.h" namespace mgb::imperative::proxy_graph { diff --git a/imperative/src/impl/proxy_graph_detail.cpp b/imperative/src/impl/proxy_graph_detail.cpp index f15be26f..59bd9bb7 100644 --- a/imperative/src/impl/proxy_graph_detail.cpp +++ b/imperative/src/impl/proxy_graph_detail.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/proxy_graph_detail.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/proxy_graph_detail.h" #include "./proxy_graph.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/resource_manager.cpp b/imperative/src/impl/resource_manager.cpp index 49375b1c..6772f596 100644 --- a/imperative/src/impl/resource_manager.cpp +++ b/imperative/src/impl/resource_manager.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/resource_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/resource_manager.h" #include diff --git a/imperative/src/impl/subgraph.cpp b/imperative/src/impl/subgraph.cpp index 59471674..774936cd 100644 --- a/imperative/src/impl/subgraph.cpp +++ b/imperative/src/impl/subgraph.cpp @@ -1,15 +1,3 @@ -/** - * \file imperative/src/impl/subgraph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/imperative/subgraph.h" namespace mgb { diff --git a/imperative/src/impl/subgraph_detail.cpp b/imperative/src/impl/subgraph_detail.cpp index f0736fcd..a7314389 100644 --- a/imperative/src/impl/subgraph_detail.cpp +++ b/imperative/src/impl/subgraph_detail.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/subgraph_detail.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/subgraph_detail.h" #include "megbrain/imperative/graph_builder.h" diff --git a/imperative/src/impl/tensor_sanity_check.cpp b/imperative/src/impl/tensor_sanity_check.cpp index 6b0a4439..b21326be 100644 --- a/imperative/src/impl/tensor_sanity_check.cpp +++ b/imperative/src/impl/tensor_sanity_check.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/imperative/tensor_sanity_check.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/tensor_sanity_check.h" #include "./op_trait.h" diff --git a/imperative/src/impl/transformations/eval.cpp b/imperative/src/impl/transformations/eval.cpp index 5fda5437..314c78e9 100644 --- a/imperative/src/impl/transformations/eval.cpp +++ b/imperative/src/impl/transformations/eval.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/trace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/eval.h" namespace mgb { diff --git a/imperative/src/impl/transformations/grad.cpp b/imperative/src/impl/transformations/grad.cpp index 7a9879b8..8c68cbd8 100644 --- a/imperative/src/impl/transformations/grad.cpp +++ b/imperative/src/impl/transformations/grad.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/grad.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/grad.h" #include diff --git a/imperative/src/impl/transformations/lazy.cpp b/imperative/src/impl/transformations/lazy.cpp index baf53aa2..01527220 100644 --- a/imperative/src/impl/transformations/lazy.cpp +++ b/imperative/src/impl/transformations/lazy.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/trace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/lazy.h" #include "megbrain/imperative/opr_utility.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/transformations/scalar.cpp b/imperative/src/impl/transformations/scalar.cpp index 2d6fd7c9..793f07c9 100644 --- a/imperative/src/impl/transformations/scalar.cpp +++ b/imperative/src/impl/transformations/scalar.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/trace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/scalar.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/impl/transformations/tangent.cpp b/imperative/src/impl/transformations/tangent.cpp index a7a0ee05..980c82c9 100644 --- a/imperative/src/impl/transformations/tangent.cpp +++ b/imperative/src/impl/transformations/tangent.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/tangent.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/tangent.h" namespace mgb { diff --git a/imperative/src/impl/transformations/trace.cpp b/imperative/src/impl/transformations/trace.cpp index c74597a2..b0bdfb57 100644 --- a/imperative/src/impl/transformations/trace.cpp +++ b/imperative/src/impl/transformations/trace.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/transformations/trace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/transformations/trace.h" #include diff --git a/imperative/src/impl/utils/base64.cpp b/imperative/src/impl/utils/base64.cpp index b09a8eea..00389b0b 100644 --- a/imperative/src/impl/utils/base64.cpp +++ b/imperative/src/impl/utils/base64.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/base64.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/utils/base64.h" namespace mgb::imperative { diff --git a/imperative/src/impl/utils/debug.cpp b/imperative/src/impl/utils/debug.cpp index 510b4bdb..dcb9ae18 100644 --- a/imperative/src/impl/utils/debug.cpp +++ b/imperative/src/impl/utils/debug.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/utils/debug.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megbrain/imperative/transformation.h" diff --git a/imperative/src/include/megbrain/imperative.h b/imperative/src/include/megbrain/imperative.h index 9459c379..ed0fac50 100644 --- a/imperative/src/include/megbrain/imperative.h +++ b/imperative/src/include/megbrain/imperative.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/backward_graph_opt.h b/imperative/src/include/megbrain/imperative/backward_graph_opt.h index 357b80d8..e3d3794e 100644 --- a/imperative/src/include/megbrain/imperative/backward_graph_opt.h +++ b/imperative/src/include/megbrain/imperative/backward_graph_opt.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/backward_graph_opt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./op_def.h" diff --git a/imperative/src/include/megbrain/imperative/basic_operators.h b/imperative/src/include/megbrain/imperative/basic_operators.h index dd22185f..c93913e7 100644 --- a/imperative/src/include/megbrain/imperative/basic_operators.h +++ b/imperative/src/include/megbrain/imperative/basic_operators.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/basic_operators.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/basic_values.h b/imperative/src/include/megbrain/imperative/basic_values.h index bbe57874..1b634d2d 100644 --- a/imperative/src/include/megbrain/imperative/basic_values.h +++ b/imperative/src/include/megbrain/imperative/basic_values.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/basic_values.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/blob_manager.h b/imperative/src/include/megbrain/imperative/blob_manager.h index cce46d9a..b3a1c911 100644 --- a/imperative/src/include/megbrain/imperative/blob_manager.h +++ b/imperative/src/include/megbrain/imperative/blob_manager.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/blob_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/physical_tensor.h" diff --git a/imperative/src/include/megbrain/imperative/dispatch.h b/imperative/src/include/megbrain/imperative/dispatch.h index d39a952a..82fba232 100644 --- a/imperative/src/include/megbrain/imperative/dispatch.h +++ b/imperative/src/include/megbrain/imperative/dispatch.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/dispatch.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/graph_builder.h b/imperative/src/include/megbrain/imperative/graph_builder.h index 2c5ce742..c5318f63 100644 --- a/imperative/src/include/megbrain/imperative/graph_builder.h +++ b/imperative/src/include/megbrain/imperative/graph_builder.h @@ -1,15 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/graph_builder.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/imperative/subgraph.h" diff --git a/imperative/src/include/megbrain/imperative/graph_cache.h b/imperative/src/include/megbrain/imperative/graph_cache.h index 8a1b38e9..c41d1346 100644 --- a/imperative/src/include/megbrain/imperative/graph_cache.h +++ b/imperative/src/include/megbrain/imperative/graph_cache.h @@ -1,15 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/graph_builder.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/interpreter.h b/imperative/src/include/megbrain/imperative/interpreter.h index bd440524..92472601 100644 --- a/imperative/src/include/megbrain/imperative/interpreter.h +++ b/imperative/src/include/megbrain/imperative/interpreter.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/interpreter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/op_def.h b/imperative/src/include/megbrain/imperative/op_def.h index 30278563..c4751fc8 100644 --- a/imperative/src/include/megbrain/imperative/op_def.h +++ b/imperative/src/include/megbrain/imperative/op_def.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/op_def.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/imperative/src/include/megbrain/imperative/operator.h b/imperative/src/include/megbrain/imperative/operator.h index 0bce20df..aa6bd5f5 100644 --- a/imperative/src/include/megbrain/imperative/operator.h +++ b/imperative/src/include/megbrain/imperative/operator.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/operator.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/opr_utility.h b/imperative/src/include/megbrain/imperative/opr_utility.h index 3edc9450..e86a2e68 100644 --- a/imperative/src/include/megbrain/imperative/opr_utility.h +++ b/imperative/src/include/megbrain/imperative/opr_utility.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/opr_utility.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/imperative/src/include/megbrain/imperative/ops/autogen.h b/imperative/src/include/megbrain/imperative/ops/autogen.h index 364acee0..a99b5eed 100644 --- a/imperative/src/include/megbrain/imperative/ops/autogen.h +++ b/imperative/src/include/megbrain/imperative/ops/autogen.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/autogen.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/ops/backward_graph.h b/imperative/src/include/megbrain/imperative/ops/backward_graph.h index 1c327044..f60fa45c 100644 --- a/imperative/src/include/megbrain/imperative/ops/backward_graph.h +++ b/imperative/src/include/megbrain/imperative/ops/backward_graph.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/backward_graph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/ops/custom_opdef.h b/imperative/src/include/megbrain/imperative/ops/custom_opdef.h index a623806b..4e8a7b1b 100644 --- a/imperative/src/include/megbrain/imperative/ops/custom_opdef.h +++ b/imperative/src/include/megbrain/imperative/ops/custom_opdef.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/custom_opdef.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/imperative/src/include/megbrain/imperative/ops/opr_attr.h b/imperative/src/include/megbrain/imperative/ops/opr_attr.h index 55b12941..5ca709bf 100644 --- a/imperative/src/include/megbrain/imperative/ops/opr_attr.h +++ b/imperative/src/include/megbrain/imperative/ops/opr_attr.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/opr_attr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/ops/rng.h b/imperative/src/include/megbrain/imperative/ops/rng.h index 80e1fb0e..f419947e 100644 --- a/imperative/src/include/megbrain/imperative/ops/rng.h +++ b/imperative/src/include/megbrain/imperative/ops/rng.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/rng.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/ops/utility.h b/imperative/src/include/megbrain/imperative/ops/utility.h index c182945d..af71756b 100644 --- a/imperative/src/include/megbrain/imperative/ops/utility.h +++ b/imperative/src/include/megbrain/imperative/ops/utility.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/ops/utility.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/graph_cache.h" diff --git a/imperative/src/include/megbrain/imperative/persistent_cache.h b/imperative/src/include/megbrain/imperative/persistent_cache.h index 4d63eaae..024142c4 100644 --- a/imperative/src/include/megbrain/imperative/persistent_cache.h +++ b/imperative/src/include/megbrain/imperative/persistent_cache.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/persistent_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/physical_tensor.h b/imperative/src/include/megbrain/imperative/physical_tensor.h index b0c68365..7963ecd7 100644 --- a/imperative/src/include/megbrain/imperative/physical_tensor.h +++ b/imperative/src/include/megbrain/imperative/physical_tensor.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/physical_tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/profiler.h b/imperative/src/include/megbrain/imperative/profiler.h index ad76b2b4..04f10430 100644 --- a/imperative/src/include/megbrain/imperative/profiler.h +++ b/imperative/src/include/megbrain/imperative/profiler.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/profiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/profiler_plugin.h b/imperative/src/include/megbrain/imperative/profiler_plugin.h index 44d403e8..77e3d941 100644 --- a/imperative/src/include/megbrain/imperative/profiler_plugin.h +++ b/imperative/src/include/megbrain/imperative/profiler_plugin.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/impl/interpreter/profiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/plugin/base.h" diff --git a/imperative/src/include/megbrain/imperative/proxy_graph_detail.h b/imperative/src/include/megbrain/imperative/proxy_graph_detail.h index f67ff10c..2167acd1 100644 --- a/imperative/src/include/megbrain/imperative/proxy_graph_detail.h +++ b/imperative/src/include/megbrain/imperative/proxy_graph_detail.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/proxy_graph_detail.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/resource_manager.h b/imperative/src/include/megbrain/imperative/resource_manager.h index 47eacdec..36162e97 100644 --- a/imperative/src/include/megbrain/imperative/resource_manager.h +++ b/imperative/src/include/megbrain/imperative/resource_manager.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/resource_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/subgraph.h b/imperative/src/include/megbrain/imperative/subgraph.h index 0e18b6be..b066124a 100644 --- a/imperative/src/include/megbrain/imperative/subgraph.h +++ b/imperative/src/include/megbrain/imperative/subgraph.h @@ -1,15 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/subgraph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/subgraph_detail.h b/imperative/src/include/megbrain/imperative/subgraph_detail.h index 5c3224c5..7b1db8eb 100644 --- a/imperative/src/include/megbrain/imperative/subgraph_detail.h +++ b/imperative/src/include/megbrain/imperative/subgraph_detail.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/subgraph_detail.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/op_def.h" diff --git a/imperative/src/include/megbrain/imperative/tensor_sanity_check.h b/imperative/src/include/megbrain/imperative/tensor_sanity_check.h index e1fcbf9d..80d22219 100644 --- a/imperative/src/include/megbrain/imperative/tensor_sanity_check.h +++ b/imperative/src/include/megbrain/imperative/tensor_sanity_check.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/tensor_sanity_check.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/imperative/op_def.h" #include "megbrain/imperative/ops/opr_attr.h" diff --git a/imperative/src/include/megbrain/imperative/transformation.h b/imperative/src/include/megbrain/imperative/transformation.h index ae0c74a8..6f949be8 100644 --- a/imperative/src/include/megbrain/imperative/transformation.h +++ b/imperative/src/include/megbrain/imperative/transformation.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/transformation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/transformations/eval.h b/imperative/src/include/megbrain/imperative/transformations/eval.h index 93319af9..b91def83 100644 --- a/imperative/src/include/megbrain/imperative/transformations/eval.h +++ b/imperative/src/include/megbrain/imperative/transformations/eval.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/eval.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/dispatch.h" diff --git a/imperative/src/include/megbrain/imperative/transformations/grad.h b/imperative/src/include/megbrain/imperative/transformations/grad.h index 6f08e2b7..7f4a280e 100644 --- a/imperative/src/include/megbrain/imperative/transformations/grad.h +++ b/imperative/src/include/megbrain/imperative/transformations/grad.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/grad.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/transformations/lazy.h b/imperative/src/include/megbrain/imperative/transformations/lazy.h index 5c03b9b9..0c9a0054 100644 --- a/imperative/src/include/megbrain/imperative/transformations/lazy.h +++ b/imperative/src/include/megbrain/imperative/transformations/lazy.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/lazy.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/transformations/scalar.h b/imperative/src/include/megbrain/imperative/transformations/scalar.h index 496de0f6..b04fad3e 100644 --- a/imperative/src/include/megbrain/imperative/transformations/scalar.h +++ b/imperative/src/include/megbrain/imperative/transformations/scalar.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/scalar.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/basic_operators.h" diff --git a/imperative/src/include/megbrain/imperative/transformations/symbol.h b/imperative/src/include/megbrain/imperative/transformations/symbol.h index 27f92fb0..2cabe6dc 100644 --- a/imperative/src/include/megbrain/imperative/transformations/symbol.h +++ b/imperative/src/include/megbrain/imperative/transformations/symbol.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/symbol.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/transformations/tangent.h b/imperative/src/include/megbrain/imperative/transformations/tangent.h index bbd21520..d2df8eb6 100644 --- a/imperative/src/include/megbrain/imperative/transformations/tangent.h +++ b/imperative/src/include/megbrain/imperative/transformations/tangent.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/grad.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/imperative/basic_operators.h" diff --git a/imperative/src/include/megbrain/imperative/transformations/trace.h b/imperative/src/include/megbrain/imperative/transformations/trace.h index 3378b333..07f3097f 100644 --- a/imperative/src/include/megbrain/imperative/transformations/trace.h +++ b/imperative/src/include/megbrain/imperative/transformations/trace.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/trace.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/allocator.h b/imperative/src/include/megbrain/imperative/utils/allocator.h index afc9b21f..ddc179f5 100644 --- a/imperative/src/include/megbrain/imperative/utils/allocator.h +++ b/imperative/src/include/megbrain/imperative/utils/allocator.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/allocator.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/any.h b/imperative/src/include/megbrain/imperative/utils/any.h index a7223743..e388c8f5 100644 --- a/imperative/src/include/megbrain/imperative/utils/any.h +++ b/imperative/src/include/megbrain/imperative/utils/any.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/any.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/base64.h b/imperative/src/include/megbrain/imperative/utils/base64.h index 54013151..4bea2905 100644 --- a/imperative/src/include/megbrain/imperative/utils/base64.h +++ b/imperative/src/include/megbrain/imperative/utils/base64.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/base64.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/imperative/src/include/megbrain/imperative/utils/box.h b/imperative/src/include/megbrain/imperative/utils/box.h index e3fa6625..f6db420e 100644 --- a/imperative/src/include/megbrain/imperative/utils/box.h +++ b/imperative/src/include/megbrain/imperative/utils/box.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/visit.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/debug.h b/imperative/src/include/megbrain/imperative/utils/debug.h index 09596ea3..66c055b4 100644 --- a/imperative/src/include/megbrain/imperative/utils/debug.h +++ b/imperative/src/include/megbrain/imperative/utils/debug.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/debug.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/helper.h b/imperative/src/include/megbrain/imperative/utils/helper.h index 142a7e7c..8a633624 100644 --- a/imperative/src/include/megbrain/imperative/utils/helper.h +++ b/imperative/src/include/megbrain/imperative/utils/helper.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/span.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/intrusive_list.h b/imperative/src/include/megbrain/imperative/utils/intrusive_list.h index 1b87d92b..950adf92 100644 --- a/imperative/src/include/megbrain/imperative/utils/intrusive_list.h +++ b/imperative/src/include/megbrain/imperative/utils/intrusive_list.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/intrusive_list.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/metahelper.h" namespace mgb::imperative::utils::intrusive_list { diff --git a/imperative/src/include/megbrain/imperative/utils/local_ptr.h b/imperative/src/include/megbrain/imperative/utils/local_ptr.h index ef15ff22..d15e0bcf 100644 --- a/imperative/src/include/megbrain/imperative/utils/local_ptr.h +++ b/imperative/src/include/megbrain/imperative/utils/local_ptr.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/local_ptr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/map.h b/imperative/src/include/megbrain/imperative/utils/map.h index f096db5f..e6a2a88a 100644 --- a/imperative/src/include/megbrain/imperative/utils/map.h +++ b/imperative/src/include/megbrain/imperative/utils/map.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/map.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/mempool.h b/imperative/src/include/megbrain/imperative/utils/mempool.h index 099e38bc..2b04465b 100644 --- a/imperative/src/include/megbrain/imperative/utils/mempool.h +++ b/imperative/src/include/megbrain/imperative/utils/mempool.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/mempool.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/span.h b/imperative/src/include/megbrain/imperative/utils/span.h index 97d13054..c9a787fd 100644 --- a/imperative/src/include/megbrain/imperative/utils/span.h +++ b/imperative/src/include/megbrain/imperative/utils/span.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/span.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/to_string.h b/imperative/src/include/megbrain/imperative/utils/to_string.h index 2dd47dfb..d7e0bbb7 100644 --- a/imperative/src/include/megbrain/imperative/utils/to_string.h +++ b/imperative/src/include/megbrain/imperative/utils/to_string.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/to_string.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/value_shape.h b/imperative/src/include/megbrain/imperative/utils/value_shape.h index c52584c2..a0115811 100644 --- a/imperative/src/include/megbrain/imperative/utils/value_shape.h +++ b/imperative/src/include/megbrain/imperative/utils/value_shape.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/visit.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/utils/visit.h b/imperative/src/include/megbrain/imperative/utils/visit.h index a2189475..50866c18 100644 --- a/imperative/src/include/megbrain/imperative/utils/visit.h +++ b/imperative/src/include/megbrain/imperative/utils/visit.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/utils/visit.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/include/megbrain/imperative/value.h b/imperative/src/include/megbrain/imperative/value.h index c877d37f..4c78c9f8 100644 --- a/imperative/src/include/megbrain/imperative/value.h +++ b/imperative/src/include/megbrain/imperative/value.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/include/megbrain/imperative/value.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/test/backward_graph.cpp b/imperative/src/test/backward_graph.cpp index 8f854ee4..dc064844 100644 --- a/imperative/src/test/backward_graph.cpp +++ b/imperative/src/test/backward_graph.cpp @@ -1,15 +1,3 @@ -/** - * \file imperative/src/test/backward_graph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./helper.h" #include "megbrain/imperative/backward_graph_opt.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/test/collective_comm.cpp b/imperative/src/test/collective_comm.cpp index 7d2acbad..107b513d 100644 --- a/imperative/src/test/collective_comm.cpp +++ b/imperative/src/test/collective_comm.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/collective_comm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/mm_handler.h" diff --git a/imperative/src/test/cond_take.cpp b/imperative/src/test/cond_take.cpp index a778c4ce..76a0c22a 100644 --- a/imperative/src/test/cond_take.cpp +++ b/imperative/src/test/cond_take.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/cond_take.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/imperative/ops/autogen.h" diff --git a/imperative/src/test/helper.cpp b/imperative/src/test/helper.cpp index 5a20eaec..5aa8f7ff 100644 --- a/imperative/src/test/helper.cpp +++ b/imperative/src/test/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "helper.h" #include "megbrain/graph.h" #include "megbrain/opr/io.h" diff --git a/imperative/src/test/helper.h b/imperative/src/test/helper.h index ce098a85..2cd0a460 100644 --- a/imperative/src/test/helper.h +++ b/imperative/src/test/helper.h @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/imperative/src/test/imperative.cpp b/imperative/src/test/imperative.cpp index b170c8a7..a7f6023b 100644 --- a/imperative/src/test/imperative.cpp +++ b/imperative/src/test/imperative.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/imperative.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/comp_node_env.h" #include "megbrain/imperative/blob_manager.h" diff --git a/imperative/src/test/io_remote.cpp b/imperative/src/test/io_remote.cpp index a704186d..072e4e2e 100644 --- a/imperative/src/test/io_remote.cpp +++ b/imperative/src/test/io_remote.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/io_remote.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/imperative/ops/autogen.h" #include "megbrain/opr/mm_handler.h" diff --git a/imperative/src/test/opr_utility.cpp b/imperative/src/test/opr_utility.cpp index 5a17cb31..d405a076 100644 --- a/imperative/src/test/opr_utility.cpp +++ b/imperative/src/test/opr_utility.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/opr_utility.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/opr_utility.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/imperative/src/test/profiler.cpp b/imperative/src/test/profiler.cpp index 7f0dd76a..012fc5b0 100644 --- a/imperative/src/test/profiler.cpp +++ b/imperative/src/test/profiler.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/profiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "../impl/profiler/events.h" diff --git a/imperative/src/test/rng.cpp b/imperative/src/test/rng.cpp index 489fc005..b52a4154 100644 --- a/imperative/src/test/rng.cpp +++ b/imperative/src/test/rng.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/src/test/rng.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/imperative/ops/rng.h" #include "./helper.h" diff --git a/imperative/tablegen/autogen.cpp b/imperative/tablegen/autogen.cpp index 83205a45..9da5a029 100644 --- a/imperative/tablegen/autogen.cpp +++ b/imperative/tablegen/autogen.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/tablegen/autogen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./targets/cpp_class.h" #include "./targets/macros.h" #include "./targets/pybind11.h" diff --git a/imperative/tablegen/emitter.h b/imperative/tablegen/emitter.h index ec8639bf..7033977e 100644 --- a/imperative/tablegen/emitter.h +++ b/imperative/tablegen/emitter.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/emitter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/imperative/tablegen/helper.h b/imperative/tablegen/helper.h index 9fda8d36..893cd288 100644 --- a/imperative/tablegen/helper.h +++ b/imperative/tablegen/helper.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/imperative/tablegen/targets/cpp_class.cpp b/imperative/tablegen/targets/cpp_class.cpp index 64c10b55..7b058f55 100644 --- a/imperative/tablegen/targets/cpp_class.cpp +++ b/imperative/tablegen/targets/cpp_class.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/tablegen/targets/cpp_class.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cpp_class.h" #include "../emitter.h" diff --git a/imperative/tablegen/targets/cpp_class.h b/imperative/tablegen/targets/cpp_class.h index d3b29a8b..aded8a52 100644 --- a/imperative/tablegen/targets/cpp_class.h +++ b/imperative/tablegen/targets/cpp_class.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/targets/cpp_class.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../helper.h" diff --git a/imperative/tablegen/targets/macros.cpp b/imperative/tablegen/targets/macros.cpp index 43e6f5d2..d006b528 100644 --- a/imperative/tablegen/targets/macros.cpp +++ b/imperative/tablegen/targets/macros.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/tablegen/targets/macros.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./macros.h" #include "../emitter.h" #include "./cpp_class.h" diff --git a/imperative/tablegen/targets/macros.h b/imperative/tablegen/targets/macros.h index e7adb238..55288dfc 100644 --- a/imperative/tablegen/targets/macros.h +++ b/imperative/tablegen/targets/macros.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/targets/macros.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../helper.h" diff --git a/imperative/tablegen/targets/pybind11.cpp b/imperative/tablegen/targets/pybind11.cpp index 528ecb13..8c41fe56 100644 --- a/imperative/tablegen/targets/pybind11.cpp +++ b/imperative/tablegen/targets/pybind11.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/tablegen/targets/pybind11.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./pybind11.h" #include "../emitter.h" diff --git a/imperative/tablegen/targets/pybind11.h b/imperative/tablegen/targets/pybind11.h index 55909e92..e9f8be04 100644 --- a/imperative/tablegen/targets/pybind11.h +++ b/imperative/tablegen/targets/pybind11.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/targets/pybind11.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../helper.h" diff --git a/imperative/tablegen/targets/python_c_extension.cpp b/imperative/tablegen/targets/python_c_extension.cpp index c53402b5..7b90909f 100644 --- a/imperative/tablegen/targets/python_c_extension.cpp +++ b/imperative/tablegen/targets/python_c_extension.cpp @@ -1,14 +1,3 @@ -/** - * \file imperative/tablegen/targets/python_c_extension.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "python_c_extension.h" #include "../emitter.h" diff --git a/imperative/tablegen/targets/python_c_extension.h b/imperative/tablegen/targets/python_c_extension.h index 8add1ccb..438a5f06 100644 --- a/imperative/tablegen/targets/python_c_extension.h +++ b/imperative/tablegen/targets/python_c_extension.h @@ -1,13 +1,3 @@ -/** - * \file imperative/tablegen/targets/python_c_extension.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "../helper.h" diff --git a/lite/example/cpp_example/example.h b/lite/example/cpp_example/example.h index 8e07dcb1..507702d4 100644 --- a/lite/example/cpp_example/example.h +++ b/lite/example/cpp_example/example.h @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/example.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/lite/example/cpp_example/main.cpp b/lite/example/cpp_example/main.cpp index f7f10953..f6e55614 100644 --- a/lite/example/cpp_example/main.cpp +++ b/lite/example/cpp_example/main.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/cpp_example/example.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/global.h" #include "lite/network.h" #include "lite/tensor.h" diff --git a/lite/example/cpp_example/mge/basic.cpp b/lite/example/cpp_example/mge/basic.cpp index 069ddb93..ad708496 100644 --- a/lite/example/cpp_example/mge/basic.cpp +++ b/lite/example/cpp_example/mge/basic.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/basic.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/cpu_affinity.cpp b/lite/example/cpp_example/mge/cpu_affinity.cpp index 6d47c949..4238587c 100644 --- a/lite/example/cpp_example/mge/cpu_affinity.cpp +++ b/lite/example/cpp_example/mge/cpu_affinity.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/cpu_affinity.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/cv/detect_yolox.cpp b/lite/example/cpp_example/mge/cv/detect_yolox.cpp index e5f77553..da05cc27 100644 --- a/lite/example/cpp_example/mge/cv/detect_yolox.cpp +++ b/lite/example/cpp_example/mge/cv/detect_yolox.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/cv/detect_yolox.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/cv/picture_classification.cpp b/lite/example/cpp_example/mge/cv/picture_classification.cpp index 970dc080..69f6675d 100644 --- a/lite/example/cpp_example/mge/cv/picture_classification.cpp +++ b/lite/example/cpp_example/mge/cv/picture_classification.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/cv/picture_classification.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/device_io.cpp b/lite/example/cpp_example/mge/device_io.cpp index fd5626fb..43d5e7d1 100644 --- a/lite/example/cpp_example/mge/device_io.cpp +++ b/lite/example/cpp_example/mge/device_io.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/device_io.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/lite_c_interface.cpp b/lite/example/cpp_example/mge/lite_c_interface.cpp index e27e8a59..5b7de472 100644 --- a/lite/example/cpp_example/mge/lite_c_interface.cpp +++ b/lite/example/cpp_example/mge/lite_c_interface.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/basic_c_interface.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #include "misc.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/network_share_weights.cpp b/lite/example/cpp_example/mge/network_share_weights.cpp index e206d394..736b0d4b 100644 --- a/lite/example/cpp_example/mge/network_share_weights.cpp +++ b/lite/example/cpp_example/mge/network_share_weights.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/network_share_weights.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/reset_io.cpp b/lite/example/cpp_example/mge/reset_io.cpp index b6848195..e6af30aa 100644 --- a/lite/example/cpp_example/mge/reset_io.cpp +++ b/lite/example/cpp_example/mge/reset_io.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/reset_io.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/example/cpp_example/mge/user_allocator.cpp b/lite/example/cpp_example/mge/user_allocator.cpp index ecbb0f4e..fcba3308 100644 --- a/lite/example/cpp_example/mge/user_allocator.cpp +++ b/lite/example/cpp_example/mge/user_allocator.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/user_allocator.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #if LITE_BUILD_WITH_MGE using namespace lite; diff --git a/lite/example/cpp_example/mge/user_cryption.cpp b/lite/example/cpp_example/mge/user_cryption.cpp index 02c8a7ac..d1bdb389 100644 --- a/lite/example/cpp_example/mge/user_cryption.cpp +++ b/lite/example/cpp_example/mge/user_cryption.cpp @@ -1,14 +1,3 @@ -/** - * \file example/cpp_example/user_cryption.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "example.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/include/lite/common_enum_c.h b/lite/include/lite/common_enum_c.h index 9bc9520d..04c24fd6 100644 --- a/lite/include/lite/common_enum_c.h +++ b/lite/include/lite/common_enum_c.h @@ -1,14 +1,3 @@ -/** - * \file inlude/lite/common_enum_c.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_COMMON_ENUM_C_H_ #define LITE_COMMON_ENUM_C_H_ diff --git a/lite/include/lite/global.h b/lite/include/lite/global.h index 7fec631e..07c5abf0 100644 --- a/lite/include/lite/global.h +++ b/lite/include/lite/global.h @@ -1,14 +1,3 @@ -/** - * \file inlude/lite/global.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "macro.h" diff --git a/lite/include/lite/macro.h b/lite/include/lite/macro.h index 9e071e43..ec1671ac 100644 --- a/lite/include/lite/macro.h +++ b/lite/include/lite/macro.h @@ -1,14 +1,3 @@ -/** - * \file include/lite/macro.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_MACRO_H_ #define LITE_MACRO_H_ diff --git a/lite/include/lite/network.h b/lite/include/lite/network.h index 82c44dcb..f5c794ed 100644 --- a/lite/include/lite/network.h +++ b/lite/include/lite/network.h @@ -1,14 +1,3 @@ -/** - * \file inlude/lite/network.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "macro.h" diff --git a/lite/include/lite/tensor.h b/lite/include/lite/tensor.h index 9ccc80c2..0c11503f 100644 --- a/lite/include/lite/tensor.h +++ b/lite/include/lite/tensor.h @@ -1,14 +1,3 @@ -/** - * \file inlude/lite/tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "common_enum_c.h" diff --git a/lite/lite-c/include/lite-c/global_c.h b/lite/lite-c/include/lite-c/global_c.h index acb2f445..2944d545 100644 --- a/lite/lite-c/include/lite-c/global_c.h +++ b/lite/lite-c/include/lite-c/global_c.h @@ -1,14 +1,3 @@ -/** - * \file lite-c/include/lite-c/global-c.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_C_GLOBAL_H_ #define LITE_C_GLOBAL_H_ diff --git a/lite/lite-c/include/lite-c/network_c.h b/lite/lite-c/include/lite-c/network_c.h index f8887d90..b4eb7a00 100644 --- a/lite/lite-c/include/lite-c/network_c.h +++ b/lite/lite-c/include/lite-c/network_c.h @@ -1,14 +1,3 @@ -/** - * \file lite-c/include/lite-c/network_c.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_C_NETWORK_H_ #define LITE_C_NETWORK_H_ diff --git a/lite/lite-c/include/lite-c/tensor_c.h b/lite/lite-c/include/lite-c/tensor_c.h index 76dfe723..3693a89a 100644 --- a/lite/lite-c/include/lite-c/tensor_c.h +++ b/lite/lite-c/include/lite-c/tensor_c.h @@ -1,14 +1,3 @@ -/** - * \file lite-c/include/lite-c/tensor_c.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_TENSOR_C_H_ #define LITE_TENSOR_C_H_ diff --git a/lite/lite-c/src/common.h b/lite/lite-c/src/common.h index 7201834d..0b019b68 100644 --- a/lite/lite-c/src/common.h +++ b/lite/lite-c/src/common.h @@ -1,14 +1,3 @@ -/** - * \file lite-c/src/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef LITE_C_COMMON_H_ #define LITE_C_COMMON_H_ diff --git a/lite/lite-c/src/global.cpp b/lite/lite-c/src/global.cpp index 16878a06..54d709bf 100644 --- a/lite/lite-c/src/global.cpp +++ b/lite/lite-c/src/global.cpp @@ -1,14 +1,3 @@ -/** - * \file lite-c/src/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/global.h" #include "common.h" #include "lite-c/global_c.h" diff --git a/lite/lite-c/src/network.cpp b/lite/lite-c/src/network.cpp index 8072c5cd..e05f6bb0 100644 --- a/lite/lite-c/src/network.cpp +++ b/lite/lite-c/src/network.cpp @@ -1,14 +1,3 @@ -/** - * \file lite-c/src/network.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/network.h" #include "common.h" #include "lite-c/network_c.h" diff --git a/lite/lite-c/src/tensor.cpp b/lite/lite-c/src/tensor.cpp index 1f53fc64..6f6a674d 100644 --- a/lite/lite-c/src/tensor.cpp +++ b/lite/lite-c/src/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file lite-c/src/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/tensor.h" #include #include diff --git a/lite/load_and_run/src/helpers/data_parser.cpp b/lite/load_and_run/src/helpers/data_parser.cpp index d5b7518e..86527d53 100644 --- a/lite/load_and_run/src/helpers/data_parser.cpp +++ b/lite/load_and_run/src/helpers/data_parser.cpp @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/data_parser.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "data_parser.h" #include #include "json_loader.h" diff --git a/lite/load_and_run/src/helpers/data_parser.h b/lite/load_and_run/src/helpers/data_parser.h index 21dac387..ef9af154 100644 --- a/lite/load_and_run/src/helpers/data_parser.h +++ b/lite/load_and_run/src/helpers/data_parser.h @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/data_parser.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/lite/load_and_run/src/helpers/json_loader.cpp b/lite/load_and_run/src/helpers/json_loader.cpp index cd4609f2..ef385502 100644 --- a/lite/load_and_run/src/helpers/json_loader.cpp +++ b/lite/load_and_run/src/helpers/json_loader.cpp @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/json_loader.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "json_loader.h" using namespace mgb; diff --git a/lite/load_and_run/src/helpers/json_loader.h b/lite/load_and_run/src/helpers/json_loader.h index f05b689a..9c862b5d 100644 --- a/lite/load_and_run/src/helpers/json_loader.h +++ b/lite/load_and_run/src/helpers/json_loader.h @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/json_loader.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/lite/load_and_run/src/helpers/outdumper.cpp b/lite/load_and_run/src/helpers/outdumper.cpp index 7fb90c42..d1027099 100644 --- a/lite/load_and_run/src/helpers/outdumper.cpp +++ b/lite/load_and_run/src/helpers/outdumper.cpp @@ -1,10 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/outdumper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - */ - #include "outdumper.h" #include "megbrain/utils/debug.h" diff --git a/lite/load_and_run/src/helpers/outdumper.h b/lite/load_and_run/src/helpers/outdumper.h index d08496b4..5195bbc1 100644 --- a/lite/load_and_run/src/helpers/outdumper.h +++ b/lite/load_and_run/src/helpers/outdumper.h @@ -1,10 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/outdumper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - */ - #pragma once #include "megbrain/serialization/serializer.h" diff --git a/lite/load_and_run/src/helpers/text_table.cpp b/lite/load_and_run/src/helpers/text_table.cpp index 86331abd..8a9a306f 100644 --- a/lite/load_and_run/src/helpers/text_table.cpp +++ b/lite/load_and_run/src/helpers/text_table.cpp @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/text_table.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "text_table.h" using namespace mgb; diff --git a/lite/load_and_run/src/helpers/text_table.h b/lite/load_and_run/src/helpers/text_table.h index 25a3074e..c1708630 100644 --- a/lite/load_and_run/src/helpers/text_table.h +++ b/lite/load_and_run/src/helpers/text_table.h @@ -1,15 +1,3 @@ -/** - * \file lite/load_and_run/src/helpers/text_table.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/lite/pylite/megenginelite/__init__.py b/lite/pylite/megenginelite/__init__.py index ec14aeec..b8472e51 100644 --- a/lite/pylite/megenginelite/__init__.py +++ b/lite/pylite/megenginelite/__init__.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from .base import * from .base import version as __version__ diff --git a/lite/pylite/megenginelite/base.py b/lite/pylite/megenginelite/base.py index f803bea6..dda5e230 100644 --- a/lite/pylite/megenginelite/base.py +++ b/lite/pylite/megenginelite/base.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import ctypes import glob diff --git a/lite/pylite/megenginelite/global_setting.py b/lite/pylite/megenginelite/global_setting.py index 3d734b6b..139f3429 100644 --- a/lite/pylite/megenginelite/global_setting.py +++ b/lite/pylite/megenginelite/global_setting.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ctypes import * diff --git a/lite/pylite/megenginelite/network.py b/lite/pylite/megenginelite/network.py index 05a2b178..8be362ea 100644 --- a/lite/pylite/megenginelite/network.py +++ b/lite/pylite/megenginelite/network.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ctypes import * diff --git a/lite/pylite/megenginelite/struct.py b/lite/pylite/megenginelite/struct.py index 0d54f375..47ec6cc9 100644 --- a/lite/pylite/megenginelite/struct.py +++ b/lite/pylite/megenginelite/struct.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import logging from ctypes import * diff --git a/lite/pylite/megenginelite/tensor.py b/lite/pylite/megenginelite/tensor.py index 4a1b7c78..e6567607 100644 --- a/lite/pylite/megenginelite/tensor.py +++ b/lite/pylite/megenginelite/tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from ctypes import * diff --git a/lite/pylite/megenginelite/utils.py b/lite/pylite/megenginelite/utils.py index be0e35c6..2bb452f8 100644 --- a/lite/pylite/megenginelite/utils.py +++ b/lite/pylite/megenginelite/utils.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import threading import warnings diff --git a/lite/pylite/test/test_global.py b/lite/pylite/test/test_global.py index ba8b537c..7c1c59d3 100644 --- a/lite/pylite/test/test_global.py +++ b/lite/pylite/test/test_global.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import unittest diff --git a/lite/pylite/test/test_network.py b/lite/pylite/test/test_network.py index ad1b73b7..4d5a2607 100644 --- a/lite/pylite/test/test_network.py +++ b/lite/pylite/test/test_network.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import unittest diff --git a/lite/pylite/test/test_network_device.py b/lite/pylite/test/test_network_device.py index a5b6a675..b668993f 100644 --- a/lite/pylite/test/test_network_device.py +++ b/lite/pylite/test/test_network_device.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import os diff --git a/lite/pylite/test/test_tensor.py b/lite/pylite/test/test_tensor.py index 281f670f..c499d10d 100644 --- a/lite/pylite/test/test_tensor.py +++ b/lite/pylite/test/test_tensor.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools diff --git a/lite/pylite/test/test_utils.py b/lite/pylite/test/test_utils.py index 679c3077..eb1360c7 100644 --- a/lite/pylite/test/test_utils.py +++ b/lite/pylite/test/test_utils.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import functools import os diff --git a/lite/src/decryption/aes_decrypt.h b/lite/src/decryption/aes_decrypt.h index bdc33a50..b56f8ff7 100644 --- a/lite/src/decryption/aes_decrypt.h +++ b/lite/src/decryption/aes_decrypt.h @@ -1,14 +1,3 @@ -/** - * \file src/decryption/aes_decrypt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./mbedtls/aes.h" #include "decrypt_base.h" diff --git a/lite/src/decryption/decrypt_base.h b/lite/src/decryption/decrypt_base.h index cd318ab4..67bc7f18 100644 --- a/lite/src/decryption/decrypt_base.h +++ b/lite/src/decryption/decrypt_base.h @@ -1,14 +1,3 @@ -/** - * \file src/decryption/decrypt_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite/global.h" #include "misc.h" diff --git a/lite/src/decryption/rc4/rc4_cryption_base.h b/lite/src/decryption/rc4/rc4_cryption_base.h index da860932..d4c52925 100644 --- a/lite/src/decryption/rc4/rc4_cryption_base.h +++ b/lite/src/decryption/rc4/rc4_cryption_base.h @@ -1,13 +1,3 @@ -/** - * \file src/decryption/rc4/rc4_cryption_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/lite/src/decryption/rc4/rc4_cryption_impl.cpp b/lite/src/decryption/rc4/rc4_cryption_impl.cpp index b0683a68..a6da3e2e 100644 --- a/lite/src/decryption/rc4/rc4_cryption_impl.cpp +++ b/lite/src/decryption/rc4/rc4_cryption_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/decryption/rc4/rc4_cryption_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "rc4_cryption_impl.h" #include "../../misc.h" diff --git a/lite/src/decryption/rc4/rc4_cryption_impl.h b/lite/src/decryption/rc4/rc4_cryption_impl.h index c445c999..4ea216e3 100644 --- a/lite/src/decryption/rc4/rc4_cryption_impl.h +++ b/lite/src/decryption/rc4/rc4_cryption_impl.h @@ -1,13 +1,3 @@ -/** - * \file src/decryption/rc4/rc4_cryption_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "rc4_cryption_base.h" diff --git a/lite/src/decryption/rc4_cryption.cpp b/lite/src/decryption/rc4_cryption.cpp index c3cfa328..984f8952 100644 --- a/lite/src/decryption/rc4_cryption.cpp +++ b/lite/src/decryption/rc4_cryption.cpp @@ -1,14 +1,3 @@ -/** - * \file src/decryption/rc4_cryption.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "rc4_cryption.h" #include "rc4/rc4_cryption_impl.h" diff --git a/lite/src/decryption/rc4_cryption.h b/lite/src/decryption/rc4_cryption.h index f93e4b5b..9a42d314 100644 --- a/lite/src/decryption/rc4_cryption.h +++ b/lite/src/decryption/rc4_cryption.h @@ -1,13 +1,3 @@ -/** - * \file src/decryption/rc4_cryption.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "rc4/rc4_cryption_base.h" diff --git a/lite/src/function_base.h b/lite/src/function_base.h index 3db7d444..2730c894 100644 --- a/lite/src/function_base.h +++ b/lite/src/function_base.h @@ -1,14 +1,3 @@ -/** - * \file src/function_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include "misc.h" diff --git a/lite/src/global.cpp b/lite/src/global.cpp index e77a020e..2d31b1f0 100644 --- a/lite/src/global.cpp +++ b/lite/src/global.cpp @@ -1,14 +1,3 @@ -/** - * \file src/global.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "decryption/aes_decrypt.h" diff --git a/lite/src/lite_build_config.h.in b/lite/src/lite_build_config.h.in index ffa547d9..a4451c14 100644 --- a/lite/src/lite_build_config.h.in +++ b/lite/src/lite_build_config.h.in @@ -1,13 +1,3 @@ -/** - * \file lite/src/lite_build_config.h.in - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #ifndef _HEADER_LITE_BUILD_CONFIG #define _HEADER_LITE_BUILD_CONFIG diff --git a/lite/src/mge/common.cpp b/lite/src/mge/common.cpp index fba4f9ef..0f3e6906 100644 --- a/lite/src/mge/common.cpp +++ b/lite/src/mge/common.cpp @@ -1,14 +1,3 @@ -/** - * \file src/mge/common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/src/mge/common.h b/lite/src/mge/common.h index 97bc4777..72165e07 100644 --- a/lite/src/mge/common.h +++ b/lite/src/mge/common.h @@ -1,14 +1,3 @@ -/** - * \file src/mge/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/src/mge/function_dft.h b/lite/src/mge/function_dft.h index f44e132c..2658b9aa 100644 --- a/lite/src/mge/function_dft.h +++ b/lite/src/mge/function_dft.h @@ -1,15 +1,4 @@ -/** - * \file src/mge/function_dft.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #if LITE_BUILD_WITH_MGE #include "function_base.h" diff --git a/lite/src/mge/memory_allocator.h b/lite/src/mge/memory_allocator.h index 9cf5d342..5f07bc5c 100644 --- a/lite/src/mge/memory_allocator.h +++ b/lite/src/mge/memory_allocator.h @@ -1,14 +1,3 @@ -/** - * \file src/mge/memory_alloctor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/src/mge/network_impl.cpp b/lite/src/mge/network_impl.cpp index 0df72d40..e46dd14a 100644 --- a/lite/src/mge/network_impl.cpp +++ b/lite/src/mge/network_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/mge/network_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/src/mge/network_impl.h b/lite/src/mge/network_impl.h index 4a99c978..0c83853a 100644 --- a/lite/src/mge/network_impl.h +++ b/lite/src/mge/network_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/mge/network_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/src/mge/tensor_impl.cpp b/lite/src/mge/tensor_impl.cpp index 8d502d6f..4816a989 100644 --- a/lite/src/mge/tensor_impl.cpp +++ b/lite/src/mge/tensor_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file inlude/mge/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/src/mge/tensor_impl.h b/lite/src/mge/tensor_impl.h index 06781a3f..395346e0 100644 --- a/lite/src/mge/tensor_impl.h +++ b/lite/src/mge/tensor_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/mge/tensor_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/src/misc.cpp b/lite/src/misc.cpp index 186f616c..ecb882fe 100644 --- a/lite/src/misc.cpp +++ b/lite/src/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file inlude/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./misc.h" #include "lite/global.h" diff --git a/lite/src/misc.h b/lite/src/misc.h index 8d04c38c..2f0799f8 100644 --- a/lite/src/misc.h +++ b/lite/src/misc.h @@ -1,15 +1,3 @@ -/** - * \file include/misc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/src/network.cpp b/lite/src/network.cpp index 44cc8b4e..b77c0ae9 100644 --- a/lite/src/network.cpp +++ b/lite/src/network.cpp @@ -1,14 +1,3 @@ -/** - * \file src/network.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/network.h" #include "function_base.h" #include "network_impl_base.h" diff --git a/lite/src/network_impl_base.h b/lite/src/network_impl_base.h index 0d1e4243..0760c81a 100644 --- a/lite/src/network_impl_base.h +++ b/lite/src/network_impl_base.h @@ -1,14 +1,3 @@ -/** - * \file src/network_impl_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite/network.h" diff --git a/lite/src/parse_info/default_parse.h b/lite/src/parse_info/default_parse.h index 16815df8..aede687d 100644 --- a/lite/src/parse_info/default_parse.h +++ b/lite/src/parse_info/default_parse.h @@ -1,14 +1,3 @@ -/** - * \file src/parse_info/default_parse.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../misc.h" diff --git a/lite/src/parse_info/parse_info_base.h b/lite/src/parse_info/parse_info_base.h index 8c97334e..34d53a1c 100644 --- a/lite/src/parse_info/parse_info_base.h +++ b/lite/src/parse_info/parse_info_base.h @@ -1,14 +1,3 @@ -/** - * \file src/parse_info/parse_info_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite/global.h" #include "mutex" diff --git a/lite/src/parse_model/model_parser.cpp b/lite/src/parse_model/model_parser.cpp index 15fd91ab..09f0784b 100644 --- a/lite/src/parse_model/model_parser.cpp +++ b/lite/src/parse_model/model_parser.cpp @@ -1,14 +1,3 @@ -/** - * \file src/model_parser.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "model_parser.h" #include "decryption/decrypt_base.h" #include "parse_info/cache_parse.h" diff --git a/lite/src/parse_model/model_parser.h b/lite/src/parse_model/model_parser.h index b7d703af..10a80efc 100644 --- a/lite/src/parse_model/model_parser.h +++ b/lite/src/parse_model/model_parser.h @@ -1,14 +1,3 @@ -/** - * \file src/model_parser.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../network_impl_base.h" #include "lite/global.h" diff --git a/lite/src/tensor.cpp b/lite/src/tensor.cpp index 9becbb98..c80c5af1 100644 --- a/lite/src/tensor.cpp +++ b/lite/src/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite/tensor.h" #include "function_base.h" #include "tensor_impl_base.h" diff --git a/lite/src/tensor_impl_base.h b/lite/src/tensor_impl_base.h index 4f43eff9..04bf9a78 100644 --- a/lite/src/tensor_impl_base.h +++ b/lite/src/tensor_impl_base.h @@ -1,14 +1,3 @@ -/** - * \file src/tensor_impl_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite/tensor.h" diff --git a/lite/src/type_info.h b/lite/src/type_info.h index 1424f078..dd4e432c 100644 --- a/lite/src/type_info.h +++ b/lite/src/type_info.h @@ -1,14 +1,3 @@ -/** - * \file src/type_info.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "misc.h" diff --git a/lite/test/main.cpp b/lite/test/main.cpp index 3eb9478b..66c69bb7 100644 --- a/lite/test/main.cpp +++ b/lite/test/main.cpp @@ -1,14 +1,3 @@ -/** - * \file test/main.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "../src/misc.h" #include "lite/global.h" diff --git a/lite/test/test_common.h b/lite/test/test_common.h index af815de5..95a784d4 100644 --- a/lite/test/test_common.h +++ b/lite/test/test_common.h @@ -1,14 +1,3 @@ -/** - * \file test/test_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "lite_build_config.h" diff --git a/lite/test/test_misc.cpp b/lite/test/test_misc.cpp index 7e99ee87..2101ad5b 100644 --- a/lite/test/test_misc.cpp +++ b/lite/test/test_misc.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/test/test_network.cpp b/lite/test/test_network.cpp index edc39f3e..ec313332 100644 --- a/lite/test/test_network.cpp +++ b/lite/test/test_network.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_network.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/test/test_network_c.cpp b/lite/test/test_network_c.cpp index d34f6c3a..0b76467f 100644 --- a/lite/test/test_network_c.cpp +++ b/lite/test/test_network_c.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_network_c.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../src/misc.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/test/test_network_options.cpp b/lite/test/test_network_options.cpp index 51276709..4513cf7c 100644 --- a/lite/test/test_network_options.cpp +++ b/lite/test/test_network_options.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_network_options.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/test/test_tensor.cpp b/lite/test/test_tensor.cpp index 0ddc19cc..f312b37a 100644 --- a/lite/test/test_tensor.cpp +++ b/lite/test/test_tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/test/test_tensor_c.cpp b/lite/test/test_tensor_c.cpp index 5b1950e7..6d71dbd1 100644 --- a/lite/test/test_tensor_c.cpp +++ b/lite/test/test_tensor_c.cpp @@ -1,14 +1,3 @@ -/** - * \file test/test_tensor_c.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "lite_build_config.h" #if LITE_BUILD_WITH_MGE diff --git a/lite/tools/dump_model_mgb.py b/lite/tools/dump_model_mgb.py index 9ef3f712..f52659a3 100755 --- a/lite/tools/dump_model_mgb.py +++ b/lite/tools/dump_model_mgb.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. from megskull.graph import NodeFilter, FpropEnv from megskull.opr.all import AssertEqual, DataProvider, BatchNormalization diff --git a/lite/tools/pack_model/pack_model_and_info.py b/lite/tools/pack_model/pack_model_and_info.py index 773ac1c0..6c3915eb 100755 --- a/lite/tools/pack_model/pack_model_and_info.py +++ b/lite/tools/pack_model/pack_model_and_info.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import struct diff --git a/lite/tools/rc4_encrypt.cpp b/lite/tools/rc4_encrypt.cpp index c05dac6e..57fc2290 100644 --- a/lite/tools/rc4_encrypt.cpp +++ b/lite/tools/rc4_encrypt.cpp @@ -1,13 +1,3 @@ -/** \file tools/rc4_encrypt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/sdk/c-opr-loaders/mace/Makefile b/sdk/c-opr-loaders/mace/Makefile index f8c64591..0afea74b 100644 --- a/sdk/c-opr-loaders/mace/Makefile +++ b/sdk/c-opr-loaders/mace/Makefile @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ifeq ($(SDKPATH),) CURDIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) diff --git a/sdk/c-opr-loaders/mace/dump_model.py b/sdk/c-opr-loaders/mace/dump_model.py index cdc7afee..bcb04aec 100644 --- a/sdk/c-opr-loaders/mace/dump_model.py +++ b/sdk/c-opr-loaders/mace/dump_model.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import numpy as np diff --git a/sdk/c-opr-loaders/mace/mace_loader.cpp b/sdk/c-opr-loaders/mace/mace_loader.cpp index 57d3c8eb..475e075a 100644 --- a/sdk/c-opr-loaders/mace/mace_loader.cpp +++ b/sdk/c-opr-loaders/mace/mace_loader.cpp @@ -1,14 +1,3 @@ -/** - * \file sdk/c-opr-loaders/mace/mace_loader.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include #include diff --git a/src/bin_reduce_cmake.h b/src/bin_reduce_cmake.h index c240b676..1ddcbefc 100644 --- a/src/bin_reduce_cmake.h +++ b/src/bin_reduce_cmake.h @@ -1,14 +1,3 @@ -/** - * \file src/bin_reduce_cmake.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - /* * always empty, override by ../tools/gen_header_for_bin_reduce.py */ diff --git a/src/cambricon/impl/cambricon_runtime_opr.cpp b/src/cambricon/impl/cambricon_runtime_opr.cpp index 03fa26e4..ebbd716c 100644 --- a/src/cambricon/impl/cambricon_runtime_opr.cpp +++ b/src/cambricon/impl/cambricon_runtime_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/impl/cambricon_runtime_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/cambricon/cambricon_runtime_opr.h" #include "megbrain/common.h" diff --git a/src/cambricon/impl/cambricon_runtime_opr.sereg.h b/src/cambricon/impl/cambricon_runtime_opr.sereg.h index 59adea38..fc49ed9c 100644 --- a/src/cambricon/impl/cambricon_runtime_opr.sereg.h +++ b/src/cambricon/impl/cambricon_runtime_opr.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/impl/cambricon_runtime_opr.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/cambricon/cambricon_runtime_opr.h" #include "megbrain/serialization/sereg.h" diff --git a/src/cambricon/impl/magicmind_runtime_opr.cpp b/src/cambricon/impl/magicmind_runtime_opr.cpp index 569e0e7f..fe5fa9e9 100644 --- a/src/cambricon/impl/magicmind_runtime_opr.cpp +++ b/src/cambricon/impl/magicmind_runtime_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/impl/magicmind_runtime_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/cambricon/magicmind_runtime_opr.h" #include "megbrain/common.h" #include "megbrain/comp_node_env.h" diff --git a/src/cambricon/impl/magicmind_runtime_opr.sereg.h b/src/cambricon/impl/magicmind_runtime_opr.sereg.h index ec2de366..5febc99f 100644 --- a/src/cambricon/impl/magicmind_runtime_opr.sereg.h +++ b/src/cambricon/impl/magicmind_runtime_opr.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/impl/magicmind_runtime_opr.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/cambricon/magicmind_runtime_opr.h" #include "megbrain/serialization/sereg.h" diff --git a/src/cambricon/include/megbrain/cambricon/cambricon_runtime_opr.h b/src/cambricon/include/megbrain/cambricon/cambricon_runtime_opr.h index c2756199..230cf978 100644 --- a/src/cambricon/include/megbrain/cambricon/cambricon_runtime_opr.h +++ b/src/cambricon/include/megbrain/cambricon/cambricon_runtime_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/include/megbrain/cambricon/cambricon_runtime_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node_env.h" diff --git a/src/cambricon/include/megbrain/cambricon/magicmind_runtime_opr.h b/src/cambricon/include/megbrain/cambricon/magicmind_runtime_opr.h index 0c80d2c4..354da207 100644 --- a/src/cambricon/include/megbrain/cambricon/magicmind_runtime_opr.h +++ b/src/cambricon/include/megbrain/cambricon/magicmind_runtime_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/include/megbrain/cambricon/magicmind_runtime_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/cambricon/test/cambricon_runtime_opr.cpp b/src/cambricon/test/cambricon_runtime_opr.cpp index 0cfdc8d9..84c211c1 100644 --- a/src/cambricon/test/cambricon_runtime_opr.cpp +++ b/src/cambricon/test/cambricon_runtime_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/test/cambricon_runtime_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/cambricon/test/magicmind_runtime_opr.cpp b/src/cambricon/test/magicmind_runtime_opr.cpp index 38ce0d9b..24dfc9e9 100644 --- a/src/cambricon/test/magicmind_runtime_opr.cpp +++ b/src/cambricon/test/magicmind_runtime_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/cambricon/test/magicmind_runtime_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/core/impl/common.cpp b/src/core/impl/common.cpp index 3e3805f1..0d972219 100644 --- a/src/core/impl/common.cpp +++ b/src/core/impl/common.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #include "megbrain/exception.h" #include "megbrain/system.h" diff --git a/src/core/impl/comp_node/atlas/comp_node.cpp b/src/core/impl/comp_node/atlas/comp_node.cpp index 94171b5a..bbc58b48 100644 --- a/src/core/impl/comp_node/atlas/comp_node.cpp +++ b/src/core/impl/comp_node/atlas/comp_node.cpp @@ -1,15 +1,3 @@ -/** - * \file src/core/impl/comp_node/atlas/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./comp_node.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/comp_node/atlas/comp_node.h b/src/core/impl/comp_node/atlas/comp_node.h index 948868a2..a1145a81 100644 --- a/src/core/impl/comp_node/atlas/comp_node.h +++ b/src/core/impl/comp_node/atlas/comp_node.h @@ -1,15 +1,3 @@ -/** - * \file src/core/impl/comp_node/atlas/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/src/core/impl/comp_node/cambricon/comp_node.cpp b/src/core/impl/comp_node/cambricon/comp_node.cpp index 2b7217b8..6d222085 100644 --- a/src/core/impl/comp_node/cambricon/comp_node.cpp +++ b/src/core/impl/comp_node/cambricon/comp_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/cambricon/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./comp_node.h" #include "megbrain/comp_node_env.h" #include "megbrain/utils/thread.h" diff --git a/src/core/impl/comp_node/cambricon/comp_node.h b/src/core/impl/comp_node/cambricon/comp_node.h index 5125b848..d9a97ae3 100644 --- a/src/core/impl/comp_node/cambricon/comp_node.h +++ b/src/core/impl/comp_node/cambricon/comp_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/cambricon/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_helper.h" diff --git a/src/core/impl/comp_node/comp_node.cpp b/src/core/impl/comp_node/comp_node.cpp index f973c343..46ef3fbd 100644 --- a/src/core/impl/comp_node/comp_node.cpp +++ b/src/core/impl/comp_node/comp_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node.h" #include "megbrain/common.h" #include "megbrain/comp_node/alloc.h" diff --git a/src/core/impl/comp_node/cpu/comp_node.cpp b/src/core/impl/comp_node/cpu/comp_node.cpp index 5362321c..ce26dcfb 100644 --- a/src/core/impl/comp_node/cpu/comp_node.cpp +++ b/src/core/impl/comp_node/cpu/comp_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/cpu/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./comp_node.h" #include "megbrain/common.h" diff --git a/src/core/impl/comp_node/cpu/comp_node.h b/src/core/impl/comp_node/cpu/comp_node.h index 8d9ad437..e80c91c8 100644 --- a/src/core/impl/comp_node/cpu/comp_node.h +++ b/src/core/impl/comp_node/cpu/comp_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/cpu/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_helper.h" diff --git a/src/core/impl/comp_node/cuda/comp_node.cpp b/src/core/impl/comp_node/cuda/comp_node.cpp index c5baa117..3a695756 100644 --- a/src/core/impl/comp_node/cuda/comp_node.cpp +++ b/src/core/impl/comp_node/cuda/comp_node.cpp @@ -1,15 +1,3 @@ -/** - * \file src/core/impl/comp_node/cuda/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./comp_node.h" #include "megbrain/comp_node_env.h" #include "megbrain/utils/thread.h" diff --git a/src/core/impl/comp_node/cuda/comp_node.h b/src/core/impl/comp_node/cuda/comp_node.h index 5199c4f8..73ec9ebc 100644 --- a/src/core/impl/comp_node/cuda/comp_node.h +++ b/src/core/impl/comp_node/cuda/comp_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/cuda/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_helper.h" diff --git a/src/core/impl/comp_node/impl_helper.cpp b/src/core/impl/comp_node/impl_helper.cpp index 67fac48a..7c787af1 100644 --- a/src/core/impl/comp_node/impl_helper.cpp +++ b/src/core/impl/comp_node/impl_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/impl_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./impl_helper.h" using namespace mgb; diff --git a/src/core/impl/comp_node/impl_helper.h b/src/core/impl/comp_node/impl_helper.h index ff7f24a2..9bee95a9 100644 --- a/src/core/impl/comp_node/impl_helper.h +++ b/src/core/impl/comp_node/impl_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/impl_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/impl/comp_node/mem_alloc/alloc.cpp b/src/core/impl/comp_node/mem_alloc/alloc.cpp index 549a084d..4c822fd6 100644 --- a/src/core/impl/comp_node/mem_alloc/alloc.cpp +++ b/src/core/impl/comp_node/mem_alloc/alloc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/mem_alloc/alloc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #include "./impl.h" diff --git a/src/core/impl/comp_node/mem_alloc/impl.cpp b/src/core/impl/comp_node/mem_alloc/impl.cpp index 175b5e86..048f3860 100644 --- a/src/core/impl/comp_node/mem_alloc/impl.cpp +++ b/src/core/impl/comp_node/mem_alloc/impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/mem_alloc/impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #include "./impl.h" diff --git a/src/core/impl/comp_node/mem_alloc/impl.h b/src/core/impl/comp_node/mem_alloc/impl.h index 5858c09a..29e8d969 100644 --- a/src/core/impl/comp_node/mem_alloc/impl.h +++ b/src/core/impl/comp_node/mem_alloc/impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/mem_alloc/impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node/alloc.h" diff --git a/src/core/impl/comp_node/rocm/comp_node.cpp b/src/core/impl/comp_node/rocm/comp_node.cpp index 8d7fd605..5a639174 100644 --- a/src/core/impl/comp_node/rocm/comp_node.cpp +++ b/src/core/impl/comp_node/rocm/comp_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/rocm/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./comp_node.h" #include "megbrain/comp_node_env.h" #include "megbrain/utils/thread.h" diff --git a/src/core/impl/comp_node/rocm/comp_node.h b/src/core/impl/comp_node/rocm/comp_node.h index 27d487c2..6d3af4c1 100644 --- a/src/core/impl/comp_node/rocm/comp_node.h +++ b/src/core/impl/comp_node/rocm/comp_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/comp_node/rocm/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_helper.h" diff --git a/src/core/impl/comp_node_env.cpp b/src/core/impl/comp_node_env.cpp index dbb80063..748317ac 100644 --- a/src/core/impl/comp_node_env.cpp +++ b/src/core/impl/comp_node_env.cpp @@ -1,13 +1,3 @@ -/** - * \file src/core/impl/comp_node_env.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/comp_node_env.h" #include "megbrain/exception.h" #include "megbrain/system.h" diff --git a/src/core/impl/dtype.cpp b/src/core/impl/dtype.cpp index 6bb70e03..025b631c 100644 --- a/src/core/impl/dtype.cpp +++ b/src/core/impl/dtype.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/dtype.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/dtype.h" #include "megbrain/common.h" #include "megbrain/exception.h" diff --git a/src/core/impl/exception.cpp b/src/core/impl/exception.cpp index 11022c11..f2c01548 100644 --- a/src/core/impl/exception.cpp +++ b/src/core/impl/exception.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/exception.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/exception.h" #include "megbrain/common.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/graph/bases.cpp b/src/core/impl/graph/bases.cpp index 9fff48d2..a49e5443 100644 --- a/src/core/impl/graph/bases.cpp +++ b/src/core/impl/graph/bases.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/bases.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/bases.h" #include "./cg_impl.h" diff --git a/src/core/impl/graph/cg_impl.cpp b/src/core/impl/graph/cg_impl.cpp index 59979a16..d96a0ed2 100644 --- a/src/core/impl/graph/cg_impl.cpp +++ b/src/core/impl/graph/cg_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "./cg_impl_partial.h" #include "./cg_impl_seq.h" diff --git a/src/core/impl/graph/cg_impl.h b/src/core/impl/graph/cg_impl.h index 00fadd40..5175e3de 100644 --- a/src/core/impl/graph/cg_impl.h +++ b/src/core/impl/graph/cg_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./eager_eval.h" diff --git a/src/core/impl/graph/cg_impl_partial.cpp b/src/core/impl/graph/cg_impl_partial.cpp index 9f169f39..a09c46ee 100644 --- a/src/core/impl/graph/cg_impl_partial.cpp +++ b/src/core/impl/graph/cg_impl_partial.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl_partial.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl_partial.h" #include "megbrain/graph/event.h" #include "megbrain/opr/io.h" diff --git a/src/core/impl/graph/cg_impl_partial.h b/src/core/impl/graph/cg_impl_partial.h index 1712e83e..f182ec91 100644 --- a/src/core/impl/graph/cg_impl_partial.h +++ b/src/core/impl/graph/cg_impl_partial.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl_partial.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./cg_impl_seq.h" diff --git a/src/core/impl/graph/cg_impl_seq.cpp b/src/core/impl/graph/cg_impl_seq.cpp index 4a1c731d..12de02c4 100644 --- a/src/core/impl/graph/cg_impl_seq.cpp +++ b/src/core/impl/graph/cg_impl_seq.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl_seq.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl_seq.h" #include "megbrain/graph/exc_extra_info.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/core/impl/graph/cg_impl_seq.h b/src/core/impl/graph/cg_impl_seq.h index 7574c87c..8d0a974f 100644 --- a/src/core/impl/graph/cg_impl_seq.h +++ b/src/core/impl/graph/cg_impl_seq.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/cg_impl_seq.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./cg_impl.h" diff --git a/src/core/impl/graph/eager_eval.cpp b/src/core/impl/graph/eager_eval.cpp index 551dbc4b..4d300adb 100644 --- a/src/core/impl/graph/eager_eval.cpp +++ b/src/core/impl/graph/eager_eval.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/eager_eval.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./eager_eval.h" #include "./cg_impl.h" diff --git a/src/core/impl/graph/eager_eval.h b/src/core/impl/graph/eager_eval.h index a3bfca6e..64b8e1b4 100644 --- a/src/core/impl/graph/eager_eval.h +++ b/src/core/impl/graph/eager_eval.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/eager_eval.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/event.cpp b/src/core/impl/graph/event.cpp index 67af2f65..81cac1a6 100644 --- a/src/core/impl/graph/event.cpp +++ b/src/core/impl/graph/event.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/event.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/event.h" #include "./cg_impl.h" diff --git a/src/core/impl/graph/execution_mask.cpp b/src/core/impl/graph/execution_mask.cpp index 481a0689..587256cf 100644 --- a/src/core/impl/graph/execution_mask.cpp +++ b/src/core/impl/graph/execution_mask.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/execution_mask.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "megbrain/common.h" diff --git a/src/core/impl/graph/grad_manager.cpp b/src/core/impl/graph/grad_manager.cpp index f44ef066..2e354a13 100644 --- a/src/core/impl/graph/grad_manager.cpp +++ b/src/core/impl/graph/grad_manager.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/grad_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad_manager.h" #include "./cg_impl.h" diff --git a/src/core/impl/graph/grad_manager.h b/src/core/impl/graph/grad_manager.h index 59909696..9726c8da 100644 --- a/src/core/impl/graph/grad_manager.h +++ b/src/core/impl/graph/grad_manager.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/grad_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/graph_opt.cpp b/src/core/impl/graph/graph_opt.cpp index f2096d8d..ebfb6183 100644 --- a/src/core/impl/graph/graph_opt.cpp +++ b/src/core/impl/graph/graph_opt.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/graph_opt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./graph_opt.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/core/impl/graph/graph_opt.h b/src/core/impl/graph/graph_opt.h index d6b883dd..fe74bfaa 100644 --- a/src/core/impl/graph/graph_opt.h +++ b/src/core/impl/graph/graph_opt.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/graph_opt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/core/impl/graph/helper.cpp b/src/core/impl/graph/helper.cpp index 36f21260..2e55c28b 100644 --- a/src/core/impl/graph/helper.cpp +++ b/src/core/impl/graph/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/helper.h" #include "./cg_impl.h" #include "megbrain/gopt/framework.h" diff --git a/src/core/impl/graph/impl_common.h b/src/core/impl/graph/impl_common.h index 3ae6535c..00472efa 100644 --- a/src/core/impl/graph/impl_common.h +++ b/src/core/impl/graph/impl_common.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/impl_common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./static_infer_impl.h" diff --git a/src/core/impl/graph/memory_optimizer.cpp b/src/core/impl/graph/memory_optimizer.cpp index 956c28b5..19b96ea5 100644 --- a/src/core/impl/graph/memory_optimizer.cpp +++ b/src/core/impl/graph/memory_optimizer.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/memory_optimizer.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./memory_optimizer.h" #include "./cg_impl.h" diff --git a/src/core/impl/graph/memory_optimizer.h b/src/core/impl/graph/memory_optimizer.h index 6fe65162..176516c3 100644 --- a/src/core/impl/graph/memory_optimizer.h +++ b/src/core/impl/graph/memory_optimizer.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/memory_optimizer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/normal_exec_env.cpp b/src/core/impl/graph/normal_exec_env.cpp index 16df83c8..cc6b5b6c 100644 --- a/src/core/impl/graph/normal_exec_env.cpp +++ b/src/core/impl/graph/normal_exec_env.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/normal_exec_env.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./normal_exec_env.h" #include "megbrain/graph/exc_extra_info.h" diff --git a/src/core/impl/graph/normal_exec_env.h b/src/core/impl/graph/normal_exec_env.h index 8bb87cc5..74cbd7a4 100644 --- a/src/core/impl/graph/normal_exec_env.h +++ b/src/core/impl/graph/normal_exec_env.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/normal_exec_env.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/execution_mask.h" diff --git a/src/core/impl/graph/operator_node.cpp b/src/core/impl/graph/operator_node.cpp index ea91e108..5b2880b5 100644 --- a/src/core/impl/graph/operator_node.cpp +++ b/src/core/impl/graph/operator_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/operator_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/graph/seq_comp_node_opt_impl.cpp b/src/core/impl/graph/seq_comp_node_opt_impl.cpp index 3231be72..2d5931f8 100644 --- a/src/core/impl/graph/seq_comp_node_opt_impl.cpp +++ b/src/core/impl/graph/seq_comp_node_opt_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_comp_node_opt_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./seq_comp_node_opt_impl.h" #include "./cg_impl.h" #include "./var_node_mem_mgr.h" diff --git a/src/core/impl/graph/seq_comp_node_opt_impl.h b/src/core/impl/graph/seq_comp_node_opt_impl.h index 4e80e4e1..d3fd8b44 100644 --- a/src/core/impl/graph/seq_comp_node_opt_impl.h +++ b/src/core/impl/graph/seq_comp_node_opt_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_comp_node_opt_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/seq_dtr.cpp b/src/core/impl/graph/seq_dtr.cpp index a701e32a..7498d8e3 100644 --- a/src/core/impl/graph/seq_dtr.cpp +++ b/src/core/impl/graph/seq_dtr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_dtr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./seq_dtr.h" #if MGB_ENABLE_DTR diff --git a/src/core/impl/graph/seq_dtr.h b/src/core/impl/graph/seq_dtr.h index de13cc8f..4ca0e3b4 100644 --- a/src/core/impl/graph/seq_dtr.h +++ b/src/core/impl/graph/seq_dtr.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_dtr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./memory_optimizer.h" diff --git a/src/core/impl/graph/seq_modifier_base.cpp b/src/core/impl/graph/seq_modifier_base.cpp index 4413e29e..50a4c92d 100644 --- a/src/core/impl/graph/seq_modifier_base.cpp +++ b/src/core/impl/graph/seq_modifier_base.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_modifier_base.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./seq_modifier_base.h" #if MGB_ENABLE_SUBLINEAR || MGB_ENABLE_DTR diff --git a/src/core/impl/graph/seq_modifier_base.h b/src/core/impl/graph/seq_modifier_base.h index 407349d2..b0f1aac0 100644 --- a/src/core/impl/graph/seq_modifier_base.h +++ b/src/core/impl/graph/seq_modifier_base.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_modifier_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./memory_optimizer.h" diff --git a/src/core/impl/graph/seq_sublinear_memory.cpp b/src/core/impl/graph/seq_sublinear_memory.cpp index f02726e1..ddb5090c 100644 --- a/src/core/impl/graph/seq_sublinear_memory.cpp +++ b/src/core/impl/graph/seq_sublinear_memory.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_sublinear_memory.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./seq_sublinear_memory.h" #if MGB_ENABLE_SUBLINEAR diff --git a/src/core/impl/graph/seq_sublinear_memory.h b/src/core/impl/graph/seq_sublinear_memory.h index 4f6f1705..df31df9b 100644 --- a/src/core/impl/graph/seq_sublinear_memory.h +++ b/src/core/impl/graph/seq_sublinear_memory.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/seq_sublinear_memory.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./memory_optimizer.h" diff --git a/src/core/impl/graph/static_infer_impl.cpp b/src/core/impl/graph/static_infer_impl.cpp index 5aa84a0e..e1678349 100644 --- a/src/core/impl/graph/static_infer_impl.cpp +++ b/src/core/impl/graph/static_infer_impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/static_infer_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #define LOG_INFER_RESULT 0 #include "./static_infer_impl.h" diff --git a/src/core/impl/graph/static_infer_impl.h b/src/core/impl/graph/static_infer_impl.h index e7854302..a468ab9a 100644 --- a/src/core/impl/graph/static_infer_impl.h +++ b/src/core/impl/graph/static_infer_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/static_infer_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/impl/graph/swap/memory_swap.cpp b/src/core/impl/graph/swap/memory_swap.cpp index 4a36e41e..182c7ae0 100644 --- a/src/core/impl/graph/swap/memory_swap.cpp +++ b/src/core/impl/graph/swap/memory_swap.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/swap/memory_swap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./memory_swap.h" #include "./swap_opr.h" diff --git a/src/core/impl/graph/swap/memory_swap.h b/src/core/impl/graph/swap/memory_swap.h index 97dacbc1..5aa5ad2f 100644 --- a/src/core/impl/graph/swap/memory_swap.h +++ b/src/core/impl/graph/swap/memory_swap.h @@ -1,13 +1,3 @@ -/** - * \file src/core/impl/graph/swap/memory_swap.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/graph.h" diff --git a/src/core/impl/graph/swap/swap_helper.cpp b/src/core/impl/graph/swap/swap_helper.cpp index ee825833..dc0b3f7d 100644 --- a/src/core/impl/graph/swap/swap_helper.cpp +++ b/src/core/impl/graph/swap/swap_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/swap/swap_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./swap_helper.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/graph/swap/swap_helper.h b/src/core/impl/graph/swap/swap_helper.h index ecda0113..9e4967e4 100644 --- a/src/core/impl/graph/swap/swap_helper.h +++ b/src/core/impl/graph/swap/swap_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/swap/swap_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/src/core/impl/graph/swap/swap_opr.cpp b/src/core/impl/graph/swap/swap_opr.cpp index b312322e..861a44d6 100644 --- a/src/core/impl/graph/swap/swap_opr.cpp +++ b/src/core/impl/graph/swap/swap_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/swap/swap_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./swap_opr.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/graph/swap/swap_opr.h b/src/core/impl/graph/swap/swap_opr.h index 583f997d..a2e40f30 100644 --- a/src/core/impl/graph/swap/swap_opr.h +++ b/src/core/impl/graph/swap/swap_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/swap/swap_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./swap_helper.h" diff --git a/src/core/impl/graph/symbol_var.cpp b/src/core/impl/graph/symbol_var.cpp index 63c05717..6d178e27 100644 --- a/src/core/impl/graph/symbol_var.cpp +++ b/src/core/impl/graph/symbol_var.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/symbol_var.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "megbrain/graph/symbol_var.h" diff --git a/src/core/impl/graph/topo_sort.cpp b/src/core/impl/graph/topo_sort.cpp index 22fc3a7f..95a772f0 100644 --- a/src/core/impl/graph/topo_sort.cpp +++ b/src/core/impl/graph/topo_sort.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/topo_sort.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "megbrain/graph/exc_extra_info.h" #include "megbrain/graph/execution_mask.h" diff --git a/src/core/impl/graph/topo_sort.h b/src/core/impl/graph/topo_sort.h index 3940f362..bc5fcf0b 100644 --- a/src/core/impl/graph/topo_sort.h +++ b/src/core/impl/graph/topo_sort.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/topo_sort.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/var_node.cpp b/src/core/impl/graph/var_node.cpp index 2abec6ee..863354ee 100644 --- a/src/core/impl/graph/var_node.cpp +++ b/src/core/impl/graph/var_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/var_node.h" #include "./cg_impl.h" #include "megbrain/graph/helper.h" diff --git a/src/core/impl/graph/var_node_mem_mgr.cpp b/src/core/impl/graph/var_node_mem_mgr.cpp index 479d6656..caff321c 100644 --- a/src/core/impl/graph/var_node_mem_mgr.cpp +++ b/src/core/impl/graph/var_node_mem_mgr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./cg_impl.h" #include "./cg_impl_seq.h" diff --git a/src/core/impl/graph/var_node_mem_mgr.h b/src/core/impl/graph/var_node_mem_mgr.h index 2bbfc385..4af9e78e 100644 --- a/src/core/impl/graph/var_node_mem_mgr.h +++ b/src/core/impl/graph/var_node_mem_mgr.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl_common.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/defrag.cpp b/src/core/impl/graph/var_node_mem_mgr/defrag.cpp index 549a1be3..664c70e0 100644 --- a/src/core/impl/graph/var_node_mem_mgr/defrag.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/defrag.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/defrag.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./defrag.h" #include "../cg_impl.h" #include "megbrain/utils/arith_helper.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/defrag.h b/src/core/impl/graph/var_node_mem_mgr/defrag.h index 31dde3ff..f43dde3b 100644 --- a/src/core/impl/graph/var_node_mem_mgr/defrag.h +++ b/src/core/impl/graph/var_node_mem_mgr/defrag.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/defrag.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_common.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.cpp b/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.cpp index 39a4d7fb..52d5721f 100644 --- a/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./seq_mem_opt.h" #include "../cg_impl.h" #include "./static_mem_alloc.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h b/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h index 23a11b87..553a5fef 100644 --- a/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h +++ b/src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/seq_mem_opt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../impl_common.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc.h index 0e64bfa9..00ab182e 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/plugin/static_mem_record.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.cpp b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.cpp index bc32ccbc..0bfcdcd2 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./best_fit.h" #include "./best_fit_helper.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.h index a0a68008..deb8ac97 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.cpp b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.cpp index 795b6e5e..cf0a9181 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./best_fit_helper.h" #include diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.h index 2e5b4e2a..7a210d54 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/best_fit_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.cpp b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.cpp index 4355ee55..b5c4e856 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./impl.h" #include "./best_fit.h" #include "./interval_move.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.h index 1d47eb3c..b00f35a1 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "../static_mem_alloc.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.cpp b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.cpp index 8000173a..d64c78b1 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./interval_move.h" #include "./impl.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.h index 5d7f4d6d..7b8fff5a 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/interval_move.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.cpp b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.cpp index b9241d50..c187bcb0 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.cpp +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./pushdown.h" #include "./best_fit_helper.h" diff --git a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.h b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.h index ecd4875a..023ed217 100644 --- a/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.h +++ b/src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.h @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/graph/var_node_mem_mgr/static_mem_alloc/pushdown.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl.h" diff --git a/src/core/impl/system.cpp b/src/core/impl/system.cpp index b22db895..30372171 100644 --- a/src/core/impl/system.cpp +++ b/src/core/impl/system.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/system.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/system.h" #include "megbrain/common.h" #include "megbrain/utils/thin/hash_table.h" diff --git a/src/core/impl/tensor.cpp b/src/core/impl/tensor.cpp index 103be5cf..d5ba1882 100644 --- a/src/core/impl/tensor.cpp +++ b/src/core/impl/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/tensor.h" #include "megbrain/comp_node_env.h" #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/core/impl/utils/async_worker.cpp b/src/core/impl/utils/async_worker.cpp index 271a3278..f502f22f 100644 --- a/src/core/impl/utils/async_worker.cpp +++ b/src/core/impl/utils/async_worker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/async_worker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/async_worker.h" #include "megbrain/common.h" diff --git a/src/core/impl/utils/comp_node_sync_manager.cpp b/src/core/impl/utils/comp_node_sync_manager.cpp index 9ef08d1c..109dc3a9 100644 --- a/src/core/impl/utils/comp_node_sync_manager.cpp +++ b/src/core/impl/utils/comp_node_sync_manager.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/comp_node_sync_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/comp_node_sync_manager.h" #include "megbrain/utils/thread.h" diff --git a/src/core/impl/utils/cuda_helper.cpp b/src/core/impl/utils/cuda_helper.cpp index bb97ade1..b92f7f14 100644 --- a/src/core/impl/utils/cuda_helper.cpp +++ b/src/core/impl/utils/cuda_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/cuda_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/cuda_helper.h" #include "megbrain/common.h" #include "megbrain/exception.h" diff --git a/src/core/impl/utils/debug.cpp b/src/core/impl/utils/debug.cpp index b00a2b07..4fe4a878 100644 --- a/src/core/impl/utils/debug.cpp +++ b/src/core/impl/utils/debug.cpp @@ -1,15 +1,3 @@ -/** - * \file src/core/impl/utils/debug.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/utils/debug.h" #include #include diff --git a/src/core/impl/utils/event.cpp b/src/core/impl/utils/event.cpp index 9c7263b1..ee93395e 100644 --- a/src/core/impl/utils/event.cpp +++ b/src/core/impl/utils/event.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/event.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/event.h" #include diff --git a/src/core/impl/utils/hash.cpp b/src/core/impl/utils/hash.cpp index 3f3106e8..10819e7d 100644 --- a/src/core/impl/utils/hash.cpp +++ b/src/core/impl/utils/hash.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/hash.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./xxhash/xxhash.h" #include diff --git a/src/core/impl/utils/hashable.cpp b/src/core/impl/utils/hashable.cpp index 229350e7..76aa6fbd 100644 --- a/src/core/impl/utils/hashable.cpp +++ b/src/core/impl/utils/hashable.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/hashable.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/hashable.h" using namespace mgb; diff --git a/src/core/impl/utils/infile_persistent_cache.cpp b/src/core/impl/utils/infile_persistent_cache.cpp index be96dfaf..9604f665 100644 --- a/src/core/impl/utils/infile_persistent_cache.cpp +++ b/src/core/impl/utils/infile_persistent_cache.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/infile_persistent_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/infile_persistent_cache.h" #if defined(_WIN32) diff --git a/src/core/impl/utils/json.cpp b/src/core/impl/utils/json.cpp index de40862d..19ba7cb0 100644 --- a/src/core/impl/utils/json.cpp +++ b/src/core/impl/utils/json.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/json.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/json.h" #include "megbrain/utils/debug.h" #include "megbrain/utils/thread.h" diff --git a/src/core/impl/utils/mempool.cpp b/src/core/impl/utils/mempool.cpp index 8a29702b..2af98c53 100644 --- a/src/core/impl/utils/mempool.cpp +++ b/src/core/impl/utils/mempool.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/mempool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/mempool.h" #include "megbrain/common.h" diff --git a/src/core/impl/utils/metahelper.cpp b/src/core/impl/utils/metahelper.cpp index 9981752e..3387b199 100644 --- a/src/core/impl/utils/metahelper.cpp +++ b/src/core/impl/utils/metahelper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/metahelper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/metahelper.h" using namespace mgb; diff --git a/src/core/impl/utils/persistent_cache.cpp b/src/core/impl/utils/persistent_cache.cpp index 2d4f7c29..026e025c 100644 --- a/src/core/impl/utils/persistent_cache.cpp +++ b/src/core/impl/utils/persistent_cache.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/persistent_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/persistent_cache.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/impl/utils/thread.cpp b/src/core/impl/utils/thread.cpp index 3dca4bbd..c025cd61 100644 --- a/src/core/impl/utils/thread.cpp +++ b/src/core/impl/utils/thread.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/thread.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/thread.h" #include #include diff --git a/src/core/impl/utils/thread_pool.cpp b/src/core/impl/utils/thread_pool.cpp index bb03dac6..cad2d41c 100644 --- a/src/core/impl/utils/thread_pool.cpp +++ b/src/core/impl/utils/thread_pool.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/thread_pool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/thread_pool.h" #include diff --git a/src/core/impl/utils/timer.cpp b/src/core/impl/utils/timer.cpp index fe8619f2..ac501643 100644 --- a/src/core/impl/utils/timer.cpp +++ b/src/core/impl/utils/timer.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/utils/timer.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/timer.h" #include "megbrain/common.h" #include "megbrain/exception.h" diff --git a/src/core/impl/utils/visable_data_set.cpp b/src/core/impl/utils/visable_data_set.cpp index b41ec43d..9b5070be 100644 --- a/src/core/impl/utils/visable_data_set.cpp +++ b/src/core/impl/utils/visable_data_set.cpp @@ -1,15 +1,3 @@ -/** - * \file src/core/impl/utils/tensorboard.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/utils/visable_data_set.h" #if MGB_ENABLE_JSON #include diff --git a/src/core/impl/version.cpp b/src/core/impl/version.cpp index 2a59f6a8..b49c95db 100644 --- a/src/core/impl/version.cpp +++ b/src/core/impl/version.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/impl/version.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/version.h" #include "megbrain/common.h" diff --git a/src/core/include/megbrain/common.h b/src/core/include/megbrain/common.h index bf81a27c..e76fd81b 100644 --- a/src/core/include/megbrain/common.h +++ b/src/core/include/megbrain/common.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/core/include/megbrain/comp_node.h b/src/core/include/megbrain/comp_node.h index a068fd35..c46d2e00 100644 --- a/src/core/include/megbrain/comp_node.h +++ b/src/core/include/megbrain/comp_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/comp_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/hash.h" diff --git a/src/core/include/megbrain/comp_node/alloc.h b/src/core/include/megbrain/comp_node/alloc.h index 601a3330..f6975116 100644 --- a/src/core/include/megbrain/comp_node/alloc.h +++ b/src/core/include/megbrain/comp_node/alloc.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/comp_node/alloc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/comp_node_env.h b/src/core/include/megbrain/comp_node_env.h index 3f4623c3..02449d06 100644 --- a/src/core/include/megbrain/comp_node_env.h +++ b/src/core/include/megbrain/comp_node_env.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/comp_node_env.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/dtype.h b/src/core/include/megbrain/dtype.h index 0fdfc15f..a379c9a5 100644 --- a/src/core/include/megbrain/dtype.h +++ b/src/core/include/megbrain/dtype.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/dtype.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/exception.h b/src/core/include/megbrain/exception.h index 0a210f16..bdddb29b 100644 --- a/src/core/include/megbrain/exception.h +++ b/src/core/include/megbrain/exception.h @@ -1,15 +1,3 @@ -/** - * \file src/core/include/megbrain/exception.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/core/include/megbrain/graph.h b/src/core/include/megbrain/graph.h index ee30cf5c..cb98c6b2 100644 --- a/src/core/include/megbrain/graph.h +++ b/src/core/include/megbrain/graph.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/cg.h" diff --git a/src/core/include/megbrain/graph/bases.h b/src/core/include/megbrain/graph/bases.h index 5d9fd8f2..aa8c7fac 100644 --- a/src/core/include/megbrain/graph/bases.h +++ b/src/core/include/megbrain/graph/bases.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/bases.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/src/core/include/megbrain/graph/cg.h b/src/core/include/megbrain/graph/cg.h index 49a6eaf0..57e1a229 100644 --- a/src/core/include/megbrain/graph/cg.h +++ b/src/core/include/megbrain/graph/cg.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/cg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/core/include/megbrain/graph/event.h b/src/core/include/megbrain/graph/event.h index e60a29f0..5c2800ef 100644 --- a/src/core/include/megbrain/graph/event.h +++ b/src/core/include/megbrain/graph/event.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/event.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/core/include/megbrain/graph/exc_extra_info.h b/src/core/include/megbrain/graph/exc_extra_info.h index 6cc6603d..245c42af 100644 --- a/src/core/include/megbrain/graph/exc_extra_info.h +++ b/src/core/include/megbrain/graph/exc_extra_info.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/exc_extra_info.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/graph/execution_mask.h b/src/core/include/megbrain/graph/execution_mask.h index 6577ab33..d057108c 100644 --- a/src/core/include/megbrain/graph/execution_mask.h +++ b/src/core/include/megbrain/graph/execution_mask.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/execution_mask.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/core/include/megbrain/graph/extern_copr_api.h b/src/core/include/megbrain/graph/extern_copr_api.h index 680b31e3..74983ae9 100644 --- a/src/core/include/megbrain/graph/extern_copr_api.h +++ b/src/core/include/megbrain/graph/extern_copr_api.h @@ -1,15 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/extern_copr_api.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph/bases.h" diff --git a/src/core/include/megbrain/graph/grad_impl.h b/src/core/include/megbrain/graph/grad_impl.h index ab28d7b8..ba58668c 100644 --- a/src/core/include/megbrain/graph/grad_impl.h +++ b/src/core/include/megbrain/graph/grad_impl.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/grad_impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/cg.h" diff --git a/src/core/include/megbrain/graph/helper.h b/src/core/include/megbrain/graph/helper.h index 63f905c5..b01825b1 100644 --- a/src/core/include/megbrain/graph/helper.h +++ b/src/core/include/megbrain/graph/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/graph/operator_node.h b/src/core/include/megbrain/graph/operator_node.h index df410da8..6fd6f18c 100644 --- a/src/core/include/megbrain/graph/operator_node.h +++ b/src/core/include/megbrain/graph/operator_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/operator_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/static_infer.h" diff --git a/src/core/include/megbrain/graph/seq_comp_node_opt.h b/src/core/include/megbrain/graph/seq_comp_node_opt.h index d50e7734..09299826 100644 --- a/src/core/include/megbrain/graph/seq_comp_node_opt.h +++ b/src/core/include/megbrain/graph/seq_comp_node_opt.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/seq_comp_node_opt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/src/core/include/megbrain/graph/static_infer.h b/src/core/include/megbrain/graph/static_infer.h index 05a40362..d3d8a012 100644 --- a/src/core/include/megbrain/graph/static_infer.h +++ b/src/core/include/megbrain/graph/static_infer.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/static_infer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/tensor.h" diff --git a/src/core/include/megbrain/graph/symbol_var.h b/src/core/include/megbrain/graph/symbol_var.h index dd8d88e6..babbecb4 100644 --- a/src/core/include/megbrain/graph/symbol_var.h +++ b/src/core/include/megbrain/graph/symbol_var.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/symbol_var.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/var_node.h" diff --git a/src/core/include/megbrain/graph/var_node.h b/src/core/include/megbrain/graph/var_node.h index 271581af..e5778456 100644 --- a/src/core/include/megbrain/graph/var_node.h +++ b/src/core/include/megbrain/graph/var_node.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/graph/var_node.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/bases.h" diff --git a/src/core/include/megbrain/ir/base.td b/src/core/include/megbrain/ir/base.td index ee6b75fc..0bdf0f98 100644 --- a/src/core/include/megbrain/ir/base.td +++ b/src/core/include/megbrain/ir/base.td @@ -1,15 +1,3 @@ -/** - * \file src/core/include/megbrain/ir/base.td - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #ifndef MGB_BASE #define MGB_BASE diff --git a/src/core/include/megbrain/ir/ops.td b/src/core/include/megbrain/ir/ops.td index 47f1c826..7e540c93 100644 --- a/src/core/include/megbrain/ir/ops.td +++ b/src/core/include/megbrain/ir/ops.td @@ -1,15 +1,3 @@ -/** - * \file src/core/include/megbrain/ir/ops.td - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #ifndef MGB_OPS #define MGB_OPS diff --git a/src/core/include/megbrain/system.h b/src/core/include/megbrain/system.h index aaf8f948..5ee38131 100644 --- a/src/core/include/megbrain/system.h +++ b/src/core/include/megbrain/system.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/system.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/metahelper.h" diff --git a/src/core/include/megbrain/tensor.h b/src/core/include/megbrain/tensor.h index d60e3f2a..8c2c5cc8 100644 --- a/src/core/include/megbrain/tensor.h +++ b/src/core/include/megbrain/tensor.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/arith_helper.h b/src/core/include/megbrain/utils/arith_helper.h index f661f0a4..78f708ab 100644 --- a/src/core/include/megbrain/utils/arith_helper.h +++ b/src/core/include/megbrain/utils/arith_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/arith_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/async_worker.h b/src/core/include/megbrain/utils/async_worker.h index e36c7f16..8ba331ec 100644 --- a/src/core/include/megbrain/utils/async_worker.h +++ b/src/core/include/megbrain/utils/async_worker.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/async_worker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/core/include/megbrain/utils/async_worker_impl_0.h b/src/core/include/megbrain/utils/async_worker_impl_0.h index 04980965..32c9c078 100644 --- a/src/core/include/megbrain/utils/async_worker_impl_0.h +++ b/src/core/include/megbrain/utils/async_worker_impl_0.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/async_worker_impl_0.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/metahelper.h" diff --git a/src/core/include/megbrain/utils/async_worker_impl_1.h b/src/core/include/megbrain/utils/async_worker_impl_1.h index 852c485a..7727f373 100644 --- a/src/core/include/megbrain/utils/async_worker_impl_1.h +++ b/src/core/include/megbrain/utils/async_worker_impl_1.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/async_worker_impl_1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/big_key_hashmap.h b/src/core/include/megbrain/utils/big_key_hashmap.h index c2199fbb..d3ad71b2 100644 --- a/src/core/include/megbrain/utils/big_key_hashmap.h +++ b/src/core/include/megbrain/utils/big_key_hashmap.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/big_key_hashmap.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/comp_node_sync_manager.h b/src/core/include/megbrain/utils/comp_node_sync_manager.h index 8bae1ea3..cfbcd986 100644 --- a/src/core/include/megbrain/utils/comp_node_sync_manager.h +++ b/src/core/include/megbrain/utils/comp_node_sync_manager.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/comp_node_sync_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node.h" diff --git a/src/core/include/megbrain/utils/cuda_helper.h b/src/core/include/megbrain/utils/cuda_helper.h index 80221196..682ed692 100644 --- a/src/core/include/megbrain/utils/cuda_helper.h +++ b/src/core/include/megbrain/utils/cuda_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/cuda_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/debug.h b/src/core/include/megbrain/utils/debug.h index d4a0834a..3dd92f13 100644 --- a/src/core/include/megbrain/utils/debug.h +++ b/src/core/include/megbrain/utils/debug.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/debug.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/exception.h" diff --git a/src/core/include/megbrain/utils/event.h b/src/core/include/megbrain/utils/event.h index aa2e5d99..e03444f7 100644 --- a/src/core/include/megbrain/utils/event.h +++ b/src/core/include/megbrain/utils/event.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/event.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/hash.h b/src/core/include/megbrain/utils/hash.h index 6abe9c24..9395251f 100644 --- a/src/core/include/megbrain/utils/hash.h +++ b/src/core/include/megbrain/utils/hash.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/hash.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/hashable.h b/src/core/include/megbrain/utils/hashable.h index 6c9bd0ef..e06d16e7 100644 --- a/src/core/include/megbrain/utils/hashable.h +++ b/src/core/include/megbrain/utils/hashable.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/hashable.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/hash.h" diff --git a/src/core/include/megbrain/utils/infile_persistent_cache.h b/src/core/include/megbrain/utils/infile_persistent_cache.h index 2d212049..926c525d 100644 --- a/src/core/include/megbrain/utils/infile_persistent_cache.h +++ b/src/core/include/megbrain/utils/infile_persistent_cache.h @@ -1,13 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/infile_persistent_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/utils/persistent_cache.h" diff --git a/src/core/include/megbrain/utils/json.h b/src/core/include/megbrain/utils/json.h index 4ef2f914..a33db07b 100644 --- a/src/core/include/megbrain/utils/json.h +++ b/src/core/include/megbrain/utils/json.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/json.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/mempool.h b/src/core/include/megbrain/utils/mempool.h index d6babd99..e776c0c6 100644 --- a/src/core/include/megbrain/utils/mempool.h +++ b/src/core/include/megbrain/utils/mempool.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/mempool.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/metahelper.h b/src/core/include/megbrain/utils/metahelper.h index 9f886f1a..4082edc1 100644 --- a/src/core/include/megbrain/utils/metahelper.h +++ b/src/core/include/megbrain/utils/metahelper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/metahelper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/exception.h" diff --git a/src/core/include/megbrain/utils/metahelper_basic.h b/src/core/include/megbrain/utils/metahelper_basic.h index 49aab4f7..4b614679 100644 --- a/src/core/include/megbrain/utils/metahelper_basic.h +++ b/src/core/include/megbrain/utils/metahelper_basic.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/metahelper_basic.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/obfuscator_ct.h b/src/core/include/megbrain/utils/obfuscator_ct.h index d0a7d670..e6cd4944 100644 --- a/src/core/include/megbrain/utils/obfuscator_ct.h +++ b/src/core/include/megbrain/utils/obfuscator_ct.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/obfuscator_ct.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/persistent_cache.h b/src/core/include/megbrain/utils/persistent_cache.h index 384deae2..8e7b68b5 100644 --- a/src/core/include/megbrain/utils/persistent_cache.h +++ b/src/core/include/megbrain/utils/persistent_cache.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/persistent_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/tensor.h" diff --git a/src/core/include/megbrain/utils/shared_set.h b/src/core/include/megbrain/utils/shared_set.h index 482dc446..a592ddfe 100644 --- a/src/core/include/megbrain/utils/shared_set.h +++ b/src/core/include/megbrain/utils/shared_set.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/shared_set.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/metahelper.h" diff --git a/src/core/include/megbrain/utils/small_vector.h b/src/core/include/megbrain/utils/small_vector.h index 7f687970..6022aef5 100644 --- a/src/core/include/megbrain/utils/small_vector.h +++ b/src/core/include/megbrain/utils/small_vector.h @@ -1,13 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/small_vector.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #pragma once diff --git a/src/core/include/megbrain/utils/thin/function.h b/src/core/include/megbrain/utils/thin/function.h index d46062b9..f367989d 100644 --- a/src/core/include/megbrain/utils/thin/function.h +++ b/src/core/include/megbrain/utils/thin/function.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thin/function.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/function.h" diff --git a/src/core/include/megbrain/utils/thin/hash_table.h b/src/core/include/megbrain/utils/thin/hash_table.h index d85a5da6..20a17fe8 100644 --- a/src/core/include/megbrain/utils/thin/hash_table.h +++ b/src/core/include/megbrain/utils/thin/hash_table.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thin/hash_table.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/core/include/megbrain/utils/thin/nullable_hash_map.h b/src/core/include/megbrain/utils/thin/nullable_hash_map.h index 0bf5445b..3f8d02b9 100644 --- a/src/core/include/megbrain/utils/thin/nullable_hash_map.h +++ b/src/core/include/megbrain/utils/thin/nullable_hash_map.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thin/nullable_hash_map.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/metahelper.h" diff --git a/src/core/include/megbrain/utils/thread.h b/src/core/include/megbrain/utils/thread.h index d961084d..be089c50 100644 --- a/src/core/include/megbrain/utils/thread.h +++ b/src/core/include/megbrain/utils/thread.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/core/include/megbrain/utils/thread_impl_0.h b/src/core/include/megbrain/utils/thread_impl_0.h index 332a1732..6bf83074 100644 --- a/src/core/include/megbrain/utils/thread_impl_0.h +++ b/src/core/include/megbrain/utils/thread_impl_0.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread_impl_0.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/thread_impl_1.h b/src/core/include/megbrain/utils/thread_impl_1.h index 3c967be3..2b66bc7c 100644 --- a/src/core/include/megbrain/utils/thread_impl_1.h +++ b/src/core/include/megbrain/utils/thread_impl_1.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread_impl_1.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./thread_impl_spinlock.h" diff --git a/src/core/include/megbrain/utils/thread_impl_spinlock.h b/src/core/include/megbrain/utils/thread_impl_spinlock.h index 4f852e1d..724c8820 100644 --- a/src/core/include/megbrain/utils/thread_impl_spinlock.h +++ b/src/core/include/megbrain/utils/thread_impl_spinlock.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread_impl_spinlock.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/thread_local.h b/src/core/include/megbrain/utils/thread_local.h index 134e336d..fd62d120 100644 --- a/src/core/include/megbrain/utils/thread_local.h +++ b/src/core/include/megbrain/utils/thread_local.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread_local.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include #include diff --git a/src/core/include/megbrain/utils/thread_pool.h b/src/core/include/megbrain/utils/thread_pool.h index e0293697..29f3ff08 100644 --- a/src/core/include/megbrain/utils/thread_pool.h +++ b/src/core/include/megbrain/utils/thread_pool.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/thread_pool.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" #include "megbrain/comp_node.h" diff --git a/src/core/include/megbrain/utils/timer.h b/src/core/include/megbrain/utils/timer.h index f64ff8d6..7f7104d8 100644 --- a/src/core/include/megbrain/utils/timer.h +++ b/src/core/include/megbrain/utils/timer.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/timer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/core/include/megbrain/utils/visable_data_set.h b/src/core/include/megbrain/utils/visable_data_set.h index 6b0ac105..d548496c 100644 --- a/src/core/include/megbrain/utils/visable_data_set.h +++ b/src/core/include/megbrain/utils/visable_data_set.h @@ -1,15 +1,3 @@ -/** - * \file src/core/include/megbrain/utils/visable_data_set.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/utils/json.h" #if MGB_ENABLE_JSON diff --git a/src/core/include/megbrain/version.h b/src/core/include/megbrain/version.h index 8dc7645c..c3b21e7a 100644 --- a/src/core/include/megbrain/version.h +++ b/src/core/include/megbrain/version.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/version.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/core/include/megbrain/version_symbol.h b/src/core/include/megbrain/version_symbol.h index d4806ff6..39b02e0c 100644 --- a/src/core/include/megbrain/version_symbol.h +++ b/src/core/include/megbrain/version_symbol.h @@ -1,14 +1,3 @@ -/** - * \file src/core/include/megbrain/version_symbol.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #define MGB_VERSION_SYMBOL_(name, ver) \ diff --git a/src/core/test/comp_node.cpp b/src/core/test/comp_node.cpp index b39a4a3f..38ec36fd 100644 --- a/src/core/test/comp_node.cpp +++ b/src/core/test/comp_node.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/comp_node.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./comp_node_helper.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/test/comp_node_helper.cpp b/src/core/test/comp_node_helper.cpp index a3d84cfa..de2c509b 100644 --- a/src/core/test/comp_node_helper.cpp +++ b/src/core/test/comp_node_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/comp_node_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./comp_node_helper.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/core/test/comp_node_helper.h b/src/core/test/comp_node_helper.h index b449ebde..254dc005 100644 --- a/src/core/test/comp_node_helper.h +++ b/src/core/test/comp_node_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/core/test/comp_node_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node.h" #include "megbrain/opr/dnn/convolution.h" #include "megbrain/opr/io.h" diff --git a/src/core/test/dtype.cpp b/src/core/test/dtype.cpp index 522135ba..7ff7fde9 100644 --- a/src/core/test/dtype.cpp +++ b/src/core/test/dtype.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/dtype.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/dtype.h" #include "megbrain/test/helper.h" diff --git a/src/core/test/graph/add_update.cpp b/src/core/test/graph/add_update.cpp index 41bf59b5..c8e8f98d 100644 --- a/src/core/test/graph/add_update.cpp +++ b/src/core/test/graph/add_update.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/add_update.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/io.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/core/test/graph/defrag.cpp b/src/core/test/graph/defrag.cpp index ca4b8be2..a97d9564 100644 --- a/src/core/test/graph/defrag.cpp +++ b/src/core/test/graph/defrag.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/defrag.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/io.h" diff --git a/src/core/test/graph/eager_eval.cpp b/src/core/test/graph/eager_eval.cpp index 09c91c87..d7af234e 100644 --- a/src/core/test/graph/eager_eval.cpp +++ b/src/core/test/graph/eager_eval.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/eager_eval.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megbrain/comp_node_env.h" #include "megbrain/graph/symbol_var.h" diff --git a/src/core/test/graph/mem_fwd.cpp b/src/core/test/graph/mem_fwd.cpp index fa9a0de3..c6442bda 100644 --- a/src/core/test/graph/mem_fwd.cpp +++ b/src/core/test/graph/mem_fwd.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/mem_fwd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/event.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/core/test/graph/misc.cpp b/src/core/test/graph/misc.cpp index 1a0901eb..72b8412f 100644 --- a/src/core/test/graph/misc.cpp +++ b/src/core/test/graph/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/misc.h" #include "megbrain/comp_node_env.h" #include "megbrain/gopt/inference.h" diff --git a/src/core/test/graph/multi_thread.cpp b/src/core/test/graph/multi_thread.cpp index 5f52650d..6a597766 100644 --- a/src/core/test/graph/multi_thread.cpp +++ b/src/core/test/graph/multi_thread.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/multi_thread.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/convolution.h" #include "megbrain/opr/io.h" #include "megbrain/opr/utility.h" diff --git a/src/core/test/graph/partial_execution.cpp b/src/core/test/graph/partial_execution.cpp index 15ea7b0f..e3393964 100644 --- a/src/core/test/graph/partial_execution.cpp +++ b/src/core/test/graph/partial_execution.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/graph/partial_execution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph.h" #if MGB_ENABLE_PARTIAL_EXECUTION diff --git a/src/core/test/mem_alloc.cpp b/src/core/test/mem_alloc.cpp index 2bd5d090..0812b9bf 100644 --- a/src/core/test/mem_alloc.cpp +++ b/src/core/test/mem_alloc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/mem_alloc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #include "megbrain/comp_node/alloc.h" diff --git a/src/core/test/mem_reuse.cpp b/src/core/test/mem_reuse.cpp index 4161236e..ed9ed712 100644 --- a/src/core/test/mem_reuse.cpp +++ b/src/core/test/mem_reuse.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/mem_reuse.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/event.h" #include "megbrain/opr/blas.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/core/test/memory_swap.cpp b/src/core/test/memory_swap.cpp index de5b12e4..65ab4af2 100644 --- a/src/core/test/memory_swap.cpp +++ b/src/core/test/memory_swap.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/memory_swap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/core/test/static_infer.cpp b/src/core/test/static_infer.cpp index f36dc4a2..0ff1ee95 100644 --- a/src/core/test/static_infer.cpp +++ b/src/core/test/static_infer.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/static_infer.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/io.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/core/test/static_mem_alloc.cpp b/src/core/test/static_mem_alloc.cpp index eca6269a..cf78b2ba 100644 --- a/src/core/test/static_mem_alloc.cpp +++ b/src/core/test/static_mem_alloc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/static_mem_alloc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "../impl/graph/var_node_mem_mgr/static_mem_alloc.h" #include "megbrain/test/helper.h" #include "megbrain/utils/arith_helper.h" diff --git a/src/core/test/sublinear_memory.cpp b/src/core/test/sublinear_memory.cpp index 238bb599..d65f5b33 100644 --- a/src/core/test/sublinear_memory.cpp +++ b/src/core/test/sublinear_memory.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/sublinear_memory.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph.h" #include "megbrain/graph/event.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/core/test/system.cpp b/src/core/test/system.cpp index bc769cce..235f1aab 100644 --- a/src/core/test/system.cpp +++ b/src/core/test/system.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/system.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/system.h" #include "megbrain/test/helper.h" #include "megbrain/utils/timer.h" diff --git a/src/core/test/tensor.cpp b/src/core/test/tensor.cpp index 665ed4ea..d1ac88df 100644 --- a/src/core/test/tensor.cpp +++ b/src/core/test/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/comp_node_env.h" diff --git a/src/core/test/train.cpp b/src/core/test/train.cpp index ac3a66f2..4c9c51be 100644 --- a/src/core/test/train.cpp +++ b/src/core/test/train.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/train.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" #include "megbrain/opr/io.h" diff --git a/src/core/test/utils/async_worker.cpp b/src/core/test/utils/async_worker.cpp index 9521708f..7fb6eac7 100644 --- a/src/core/test/utils/async_worker.cpp +++ b/src/core/test/utils/async_worker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/async_worker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/async_worker.h" #include "megbrain/test/helper.h" #include "megbrain/utils/timer.h" diff --git a/src/core/test/utils/big_key_hashmap.cpp b/src/core/test/utils/big_key_hashmap.cpp index 2409623a..0b9b41be 100644 --- a/src/core/test/utils/big_key_hashmap.cpp +++ b/src/core/test/utils/big_key_hashmap.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/big_key_hashmap.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/big_key_hashmap.h" #include "megbrain/test/helper.h" diff --git a/src/core/test/utils/cuda_helper.cpp b/src/core/test/utils/cuda_helper.cpp index 094e61de..0100145a 100644 --- a/src/core/test/utils/cuda_helper.cpp +++ b/src/core/test/utils/cuda_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/cuda_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/cuda_helper.h" #include "megbrain/test/helper.h" #include "megbrain_build_config.h" diff --git a/src/core/test/utils/event.cpp b/src/core/test/utils/event.cpp index 529ef9e3..aaab810b 100644 --- a/src/core/test/utils/event.cpp +++ b/src/core/test/utils/event.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/event.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/event.h" #include "megbrain/test/helper.h" diff --git a/src/core/test/utils/metahelper.cpp b/src/core/test/utils/metahelper.cpp index af1b1ff6..006c7239 100644 --- a/src/core/test/utils/metahelper.cpp +++ b/src/core/test/utils/metahelper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/metahelper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/metahelper.h" #include "megbrain/test/helper.h" diff --git a/src/core/test/utils/obfuscator_ct.cpp b/src/core/test/utils/obfuscator_ct.cpp index b2106cf3..048ac2c4 100644 --- a/src/core/test/utils/obfuscator_ct.cpp +++ b/src/core/test/utils/obfuscator_ct.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/obfuscator_ct.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/obfuscator_ct.h" #include "megbrain/test/helper.h" diff --git a/src/core/test/utils/thin.cpp b/src/core/test/utils/thin.cpp index 26040d04..1b0dcb35 100644 --- a/src/core/test/utils/thin.cpp +++ b/src/core/test/utils/thin.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/thin.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/utils/thin/hash_table.h" #include "megbrain/utils/thin/nullable_hash_map.h" diff --git a/src/core/test/utils/thread.cpp b/src/core/test/utils/thread.cpp index 8aab68e6..d46e0fba 100644 --- a/src/core/test/utils/thread.cpp +++ b/src/core/test/utils/thread.cpp @@ -1,14 +1,3 @@ -/** - * \file src/core/test/utils/thread.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/utils/thread.h" #include #include diff --git a/src/core/test/utils/thread_pool.cpp b/src/core/test/utils/thread_pool.cpp index d670777e..66721ef7 100644 --- a/src/core/test/utils/thread_pool.cpp +++ b/src/core/test/utils/thread_pool.cpp @@ -1,13 +1,3 @@ -/** - * \file src/core/test/utils/thread_pool.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/utils/thread_pool.h" #include #include diff --git a/src/custom/impl/manager.cpp b/src/custom/impl/manager.cpp index 39419d7e..bdfc09b4 100644 --- a/src/custom/impl/manager.cpp +++ b/src/custom/impl/manager.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/impl/op.cpp b/src/custom/impl/op.cpp index 4c8d76f6..e3e29f05 100644 --- a/src/custom/impl/op.cpp +++ b/src/custom/impl/op.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/op.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/impl/param.cpp b/src/custom/impl/param.cpp index c9733249..3adf1770 100644 --- a/src/custom/impl/param.cpp +++ b/src/custom/impl/param.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/param.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/impl/param_val.cpp b/src/custom/impl/param_val.cpp index aa503bd3..82fe5390 100644 --- a/src/custom/impl/param_val.cpp +++ b/src/custom/impl/param_val.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/param_val.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/impl/tensor.cpp b/src/custom/impl/tensor.cpp index 30f8f13a..d067227f 100644 --- a/src/custom/impl/tensor.cpp +++ b/src/custom/impl/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/impl/utils.cpp b/src/custom/impl/utils.cpp index b0e9140e..d97ee0d1 100644 --- a/src/custom/impl/utils.cpp +++ b/src/custom/impl/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/impl/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/common.h" #if MGB_CUSTOM_OP diff --git a/src/custom/include/megbrain/custom/accessor.h b/src/custom/include/megbrain/custom/accessor.h index b3a4c07a..a610a0db 100644 --- a/src/custom/include/megbrain/custom/accessor.h +++ b/src/custom/include/megbrain/custom/accessor.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/accessor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/custom/include/megbrain/custom/custom.h b/src/custom/include/megbrain/custom/custom.h index 726076a7..f1a5017e 100644 --- a/src/custom/include/megbrain/custom/custom.h +++ b/src/custom/include/megbrain/custom/custom.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/custom.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "op.h" diff --git a/src/custom/include/megbrain/custom/data_adaptor.h b/src/custom/include/megbrain/custom/data_adaptor.h index 172bdcaf..f534f15a 100644 --- a/src/custom/include/megbrain/custom/data_adaptor.h +++ b/src/custom/include/megbrain/custom/data_adaptor.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/data_adaptor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megdnn/thin/small_vector.h" diff --git a/src/custom/include/megbrain/custom/manager.h b/src/custom/include/megbrain/custom/manager.h index db89533f..0399f053 100644 --- a/src/custom/include/megbrain/custom/manager.h +++ b/src/custom/include/megbrain/custom/manager.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "custom.h" diff --git a/src/custom/include/megbrain/custom/op.h b/src/custom/include/megbrain/custom/op.h index b1afc801..69c46bf0 100644 --- a/src/custom/include/megbrain/custom/op.h +++ b/src/custom/include/megbrain/custom/op.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/op.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/custom/include/megbrain/custom/param.h b/src/custom/include/megbrain/custom/param.h index f90a2674..b8210ac1 100644 --- a/src/custom/include/megbrain/custom/param.h +++ b/src/custom/include/megbrain/custom/param.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/param.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/custom/include/megbrain/custom/param_val.h b/src/custom/include/megbrain/custom/param_val.h index d7f3b521..7d81b0b6 100644 --- a/src/custom/include/megbrain/custom/param_val.h +++ b/src/custom/include/megbrain/custom/param_val.h @@ -1,14 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/param_val.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/custom/include/megbrain/custom/tensor.h b/src/custom/include/megbrain/custom/tensor.h index 53c54dc8..990028b5 100644 --- a/src/custom/include/megbrain/custom/tensor.h +++ b/src/custom/include/megbrain/custom/tensor.h @@ -1,15 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/tensor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/src/custom/include/megbrain/custom/utils.h b/src/custom/include/megbrain/custom/utils.h index 1bc64c6a..027b1f2c 100644 --- a/src/custom/include/megbrain/custom/utils.h +++ b/src/custom/include/megbrain/custom/utils.h @@ -1,15 +1,3 @@ -/** - * \file src/custom/include/megbrain/custom/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/src/custom/test/manager.cpp b/src/custom/test/manager.cpp index f0cb2c4c..59cdca60 100644 --- a/src/custom/test/manager.cpp +++ b/src/custom/test/manager.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/test/manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_CUSTOM_OP diff --git a/src/custom/test/op.cpp b/src/custom/test/op.cpp index b7854b73..b47a5d74 100644 --- a/src/custom/test/op.cpp +++ b/src/custom/test/op.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/test/op.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_CUSTOM_OP diff --git a/src/custom/test/param.cpp b/src/custom/test/param.cpp index dfd440b3..75e50b46 100644 --- a/src/custom/test/param.cpp +++ b/src/custom/test/param.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/test/param.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_CUSTOM_OP diff --git a/src/custom/test/tensor.cpp b/src/custom/test/tensor.cpp index b13ca74d..236e20fc 100644 --- a/src/custom/test/tensor.cpp +++ b/src/custom/test/tensor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/custom/test/tensor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_CUSTOM_OP diff --git a/src/gopt/impl/basic_arith/chain.cpp b/src/gopt/impl/basic_arith/chain.cpp index 088d192f..06a041b3 100644 --- a/src/gopt/impl/basic_arith/chain.cpp +++ b/src/gopt/impl/basic_arith/chain.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/basic_arith/chain.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/gopt/impl/basic_arith/inplace.cpp b/src/gopt/impl/basic_arith/inplace.cpp index d448f25d..9e3e18c6 100644 --- a/src/gopt/impl/basic_arith/inplace.cpp +++ b/src/gopt/impl/basic_arith/inplace.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/basic_arith/inplace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" diff --git a/src/gopt/impl/basic_arith/trans.cpp b/src/gopt/impl/basic_arith/trans.cpp index 5ff06911..86db7358 100644 --- a/src/gopt/impl/basic_arith/trans.cpp +++ b/src/gopt/impl/basic_arith/trans.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/basic_arith/trans.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/basic_arith.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/serialization/serializer.h" diff --git a/src/gopt/impl/folding_conv_dimshuffle.cpp b/src/gopt/impl/folding_conv_dimshuffle.cpp index c1b74808..bb8a32ca 100644 --- a/src/gopt/impl/folding_conv_dimshuffle.cpp +++ b/src/gopt/impl/folding_conv_dimshuffle.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/folding_conv_dimshuffle.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/inference.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/folding_conv_typecvt.cpp b/src/gopt/impl/folding_conv_typecvt.cpp index 2278323a..76c187b3 100644 --- a/src/gopt/impl/folding_conv_typecvt.cpp +++ b/src/gopt/impl/folding_conv_typecvt.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/folding_conv_typecvt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/inference.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/framework.cpp b/src/gopt/impl/framework.cpp index 7467cd95..c75f83ad 100644 --- a/src/gopt/impl/framework.cpp +++ b/src/gopt/impl/framework.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/framework.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/framework.h" #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" diff --git a/src/gopt/impl/fuse_nchw4_int8_preprocess.cpp b/src/gopt/impl/fuse_nchw4_int8_preprocess.cpp index 0547cd43..40279d4c 100644 --- a/src/gopt/impl/fuse_nchw4_int8_preprocess.cpp +++ b/src/gopt/impl/fuse_nchw4_int8_preprocess.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/fuse_nchw4_int8_preprocess.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/inference.h" #include "megbrain/gopt/misc.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/gopt/impl/global_layout_transform/dynamic_programming_solver.cpp b/src/gopt/impl/global_layout_transform/dynamic_programming_solver.cpp index c2cc3808..28d8e39c 100644 --- a/src/gopt/impl/global_layout_transform/dynamic_programming_solver.cpp +++ b/src/gopt/impl/global_layout_transform/dynamic_programming_solver.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/dynamic_programming_solver.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "./utils.h" #include "megbrain/gopt/layout_transform_context.h" diff --git a/src/gopt/impl/global_layout_transform/layout_transform_context.cpp b/src/gopt/impl/global_layout_transform/layout_transform_context.cpp index 093c6ecf..a02914cb 100644 --- a/src/gopt/impl/global_layout_transform/layout_transform_context.cpp +++ b/src/gopt/impl/global_layout_transform/layout_transform_context.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/layout_transform_context.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/layout_transform_context.h" #include "./utils.h" #include "megbrain/opr/dnn/pooling.h" diff --git a/src/gopt/impl/global_layout_transform/layout_transform_pass.cpp b/src/gopt/impl/global_layout_transform/layout_transform_pass.cpp index 8f03a02e..ddc5cb2d 100644 --- a/src/gopt/impl/global_layout_transform/layout_transform_pass.cpp +++ b/src/gopt/impl/global_layout_transform/layout_transform_pass.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/layout_transform_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/layout_transform_pass.h" #include "./opr_format_modifier.h" #include "./utils.h" diff --git a/src/gopt/impl/global_layout_transform/opr_format_modifier.cpp b/src/gopt/impl/global_layout_transform/opr_format_modifier.cpp index 70e60573..19279f31 100644 --- a/src/gopt/impl/global_layout_transform/opr_format_modifier.cpp +++ b/src/gopt/impl/global_layout_transform/opr_format_modifier.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/opr_format_modifier.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_format_modifier.h" #include "./utils.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/global_layout_transform/opr_format_modifier.h b/src/gopt/impl/global_layout_transform/opr_format_modifier.h index 77b1d292..10c3b726 100644 --- a/src/gopt/impl/global_layout_transform/opr_format_modifier.h +++ b/src/gopt/impl/global_layout_transform/opr_format_modifier.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/opr_format_modifier.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/global_layout_transform/opr_safe_dump.cpp b/src/gopt/impl/global_layout_transform/opr_safe_dump.cpp index 5cf07b3c..905ec550 100644 --- a/src/gopt/impl/global_layout_transform/opr_safe_dump.cpp +++ b/src/gopt/impl/global_layout_transform/opr_safe_dump.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/global_layout_transform/opr_safe_dump.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_safe_dump.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/global_layout_transform/opr_safe_dump.h b/src/gopt/impl/global_layout_transform/opr_safe_dump.h index 5a178de8..befaf28e 100644 --- a/src/gopt/impl/global_layout_transform/opr_safe_dump.h +++ b/src/gopt/impl/global_layout_transform/opr_safe_dump.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/global_layout_transform/opr_safe_dump.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/gopt/impl/global_layout_transform/opr_tensor_formats_config.cpp b/src/gopt/impl/global_layout_transform/opr_tensor_formats_config.cpp index b0e93da8..24925443 100644 --- a/src/gopt/impl/global_layout_transform/opr_tensor_formats_config.cpp +++ b/src/gopt/impl/global_layout_transform/opr_tensor_formats_config.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/opr_tensor_formats_config.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./utils.h" #include "megbrain/gopt/layout_transform_context.h" #include "megbrain/opr/dnn/pooling.h" diff --git a/src/gopt/impl/global_layout_transform/profiler_cache.cpp b/src/gopt/impl/global_layout_transform/profiler_cache.cpp index df3a0dd9..d05b9c07 100644 --- a/src/gopt/impl/global_layout_transform/profiler_cache.cpp +++ b/src/gopt/impl/global_layout_transform/profiler_cache.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/profiler_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_safe_dump.h" #include "megbrain/comp_node_env.h" #include "megbrain/gopt/profiler.h" diff --git a/src/gopt/impl/global_layout_transform/profiler_impl.cpp b/src/gopt/impl/global_layout_transform/profiler_impl.cpp index 6257a24a..73f246b8 100644 --- a/src/gopt/impl/global_layout_transform/profiler_impl.cpp +++ b/src/gopt/impl/global_layout_transform/profiler_impl.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/profiler_impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./opr_format_modifier.h" #include "./utils.h" #include "megbrain/gopt/framework.h" diff --git a/src/gopt/impl/global_layout_transform/profiling_based_solver.cpp b/src/gopt/impl/global_layout_transform/profiling_based_solver.cpp index 43f39ce1..94ead759 100644 --- a/src/gopt/impl/global_layout_transform/profiling_based_solver.cpp +++ b/src/gopt/impl/global_layout_transform/profiling_based_solver.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/profiling_based_solver.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/profiler.h" #include "megbrain/gopt/solver.h" #include "megbrain/opr/dnn/pooling.h" diff --git a/src/gopt/impl/global_layout_transform/reformat_emitter.cpp b/src/gopt/impl/global_layout_transform/reformat_emitter.cpp index b32483bf..a49041c2 100644 --- a/src/gopt/impl/global_layout_transform/reformat_emitter.cpp +++ b/src/gopt/impl/global_layout_transform/reformat_emitter.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/reformat_emitter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/reformat_emitter.h" #include #include "megbrain/opr/io.h" diff --git a/src/gopt/impl/global_layout_transform/reformat_manager.cpp b/src/gopt/impl/global_layout_transform/reformat_manager.cpp index 8d95a12e..92c51403 100644 --- a/src/gopt/impl/global_layout_transform/reformat_manager.cpp +++ b/src/gopt/impl/global_layout_transform/reformat_manager.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/reformat_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/reformat_manager.h" #include "./utils.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/gopt/impl/global_layout_transform/subgraph_extractor.cpp b/src/gopt/impl/global_layout_transform/subgraph_extractor.cpp index 9384f5cf..35111372 100644 --- a/src/gopt/impl/global_layout_transform/subgraph_extractor.cpp +++ b/src/gopt/impl/global_layout_transform/subgraph_extractor.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/subgraph_extractor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/subgraph_extractor.h" #include #include "megbrain/serialization/opr_shallow_copy.h" diff --git a/src/gopt/impl/global_layout_transform/utils.h b/src/gopt/impl/global_layout_transform/utils.h index 731caa0d..208f70dd 100644 --- a/src/gopt/impl/global_layout_transform/utils.h +++ b/src/gopt/impl/global_layout_transform/utils.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/layout_transform_context.h" diff --git a/src/gopt/impl/gtrans.cpp b/src/gopt/impl/gtrans.cpp index 6669ac70..d336f4b4 100644 --- a/src/gopt/impl/gtrans.cpp +++ b/src/gopt/impl/gtrans.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/gtrans.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/gtrans.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/gopt/impl/inference.cpp b/src/gopt/impl/inference.cpp index 90365176..8d7b74ee 100644 --- a/src/gopt/impl/inference.cpp +++ b/src/gopt/impl/inference.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/inference.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/inference.h" #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" diff --git a/src/gopt/impl/misc.cpp b/src/gopt/impl/misc.cpp index 1aa41d1a..af2f7daa 100644 --- a/src/gopt/impl/misc.cpp +++ b/src/gopt/impl/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/impl/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/misc.h" #include "../../core/impl/graph/cg_impl.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/gopt/impl/padding_channel.cpp b/src/gopt/impl/padding_channel.cpp index 59071035..7184fce1 100644 --- a/src/gopt/impl/padding_channel.cpp +++ b/src/gopt/impl/padding_channel.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/padding_channel.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/inference.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/impl/tensor_reformat.cpp b/src/gopt/impl/tensor_reformat.cpp index 4972e35b..fbdc84ef 100644 --- a/src/gopt/impl/tensor_reformat.cpp +++ b/src/gopt/impl/tensor_reformat.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/impl/tensor_reformat.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/include/megbrain/gopt/basic_arith.h b/src/gopt/include/megbrain/gopt/basic_arith.h index fe388f82..df83553a 100644 --- a/src/gopt/include/megbrain/gopt/basic_arith.h +++ b/src/gopt/include/megbrain/gopt/basic_arith.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/basic_arith.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/basic_arith.h" diff --git a/src/gopt/include/megbrain/gopt/framework.h b/src/gopt/include/megbrain/gopt/framework.h index 396c9a97..6ab56d7f 100644 --- a/src/gopt/include/megbrain/gopt/framework.h +++ b/src/gopt/include/megbrain/gopt/framework.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/framework.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/gopt/gtrans.h" diff --git a/src/gopt/include/megbrain/gopt/gtrans.h b/src/gopt/include/megbrain/gopt/gtrans.h index 7e4851a5..32f27c50 100644 --- a/src/gopt/include/megbrain/gopt/gtrans.h +++ b/src/gopt/include/megbrain/gopt/gtrans.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/gtrans.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/gopt/include/megbrain/gopt/inference.h b/src/gopt/include/megbrain/gopt/inference.h index 7c8c1aef..b19122b4 100644 --- a/src/gopt/include/megbrain/gopt/inference.h +++ b/src/gopt/include/megbrain/gopt/inference.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/inference.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/gopt/framework.h" diff --git a/src/gopt/include/megbrain/gopt/layout_transform_context.h b/src/gopt/include/megbrain/gopt/layout_transform_context.h index 7dfc907f..1e55965e 100644 --- a/src/gopt/include/megbrain/gopt/layout_transform_context.h +++ b/src/gopt/include/megbrain/gopt/layout_transform_context.h @@ -1,16 +1,3 @@ -/** - * \file - * src/gopt/include/megbrain/gopt/layout_transform_context.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/framework.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/include/megbrain/gopt/layout_transform_pass.h b/src/gopt/include/megbrain/gopt/layout_transform_pass.h index f2ecc142..9d795ae5 100644 --- a/src/gopt/include/megbrain/gopt/layout_transform_pass.h +++ b/src/gopt/include/megbrain/gopt/layout_transform_pass.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/global_layout_transformation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/framework.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/include/megbrain/gopt/misc.h b/src/gopt/include/megbrain/gopt/misc.h index f20a402e..9584a7f1 100644 --- a/src/gopt/include/megbrain/gopt/misc.h +++ b/src/gopt/include/megbrain/gopt/misc.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/misc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/gopt/include/megbrain/gopt/profiler.h b/src/gopt/include/megbrain/gopt/profiler.h index 93b8be72..9ffe69f6 100644 --- a/src/gopt/include/megbrain/gopt/profiler.h +++ b/src/gopt/include/megbrain/gopt/profiler.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/global_layout_transformation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/framework.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/include/megbrain/gopt/reformat_emitter.h b/src/gopt/include/megbrain/gopt/reformat_emitter.h index f8c91892..8f473813 100644 --- a/src/gopt/include/megbrain/gopt/reformat_emitter.h +++ b/src/gopt/include/megbrain/gopt/reformat_emitter.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/reformat_emitter.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include #include "megbrain/graph.h" diff --git a/src/gopt/include/megbrain/gopt/reformat_manager.h b/src/gopt/include/megbrain/gopt/reformat_manager.h index 45091a9a..188b8362 100644 --- a/src/gopt/include/megbrain/gopt/reformat_manager.h +++ b/src/gopt/include/megbrain/gopt/reformat_manager.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/reformat_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/reformat_emitter.h" #include "megbrain/graph.h" diff --git a/src/gopt/include/megbrain/gopt/solver.h b/src/gopt/include/megbrain/gopt/solver.h index 8e03d8de..690f8ca3 100644 --- a/src/gopt/include/megbrain/gopt/solver.h +++ b/src/gopt/include/megbrain/gopt/solver.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/solver.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/gopt/framework.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/include/megbrain/gopt/subgraph_extractor.h b/src/gopt/include/megbrain/gopt/subgraph_extractor.h index 28636e20..1887f57c 100644 --- a/src/gopt/include/megbrain/gopt/subgraph_extractor.h +++ b/src/gopt/include/megbrain/gopt/subgraph_extractor.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/include/megbrain/gopt/subgraph_extractor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/gopt/test/basic_arith.cpp b/src/gopt/test/basic_arith.cpp index 8505d18b..c61ce9eb 100644 --- a/src/gopt/test/basic_arith.cpp +++ b/src/gopt/test/basic_arith.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/test/basic_arith.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/gopt/test/embed_cache.py b/src/gopt/test/embed_cache.py index 7ebb4c15..efb77d04 100644 --- a/src/gopt/test/embed_cache.py +++ b/src/gopt/test/embed_cache.py @@ -1,12 +1,5 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 为了保证全局图优化里的 profiling 结果不受到 ci 环境的影响,所以把写死的 profiling 数据存到了 cache 里去, # 每次跑测试会从内存 cache 里读取 profiling 结果,然后根据 profiling 结果去做全局图优化,这样确保每次运行 diff --git a/src/gopt/test/gtrans.cpp b/src/gopt/test/gtrans.cpp index a012d80b..6ba8ac2d 100644 --- a/src/gopt/test/gtrans.cpp +++ b/src/gopt/test/gtrans.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/test/gtrans.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/gtrans.h" #include "megbrain/opr/blas.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/gopt/test/helper.cpp b/src/gopt/test/helper.cpp index 04b0895e..7dbd64e3 100644 --- a/src/gopt/test/helper.cpp +++ b/src/gopt/test/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/test/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/opr/utility.h" diff --git a/src/gopt/test/helper.h b/src/gopt/test/helper.h index 1d5997e8..6bb3b6a0 100644 --- a/src/gopt/test/helper.h +++ b/src/gopt/test/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/gopt/test/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/test/helper.h" diff --git a/src/gopt/test/inference.cpp b/src/gopt/test/inference.cpp index f49851fc..4c8d5ec1 100644 --- a/src/gopt/test/inference.cpp +++ b/src/gopt/test/inference.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/inference.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/local.h" #include "megbrain/test/helper.h" diff --git a/src/gopt/test/layout_transform_pass.cpp b/src/gopt/test/layout_transform_pass.cpp index dc0b18a2..c826e06f 100644 --- a/src/gopt/test/layout_transform_pass.cpp +++ b/src/gopt/test/layout_transform_pass.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/layout_transform_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/gopt/layout_transform_pass.h" #include "./network.h" #include "megbrain/comp_node_env.h" diff --git a/src/gopt/test/misc.cpp b/src/gopt/test/misc.cpp index 41ea86f1..b1094312 100644 --- a/src/gopt/test/misc.cpp +++ b/src/gopt/test/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/gopt/test/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain/gopt/basic_arith.h" diff --git a/src/gopt/test/network.cpp b/src/gopt/test/network.cpp index 8ed27bd0..98c7f67c 100644 --- a/src/gopt/test/network.cpp +++ b/src/gopt/test/network.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/network.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./network.h" using namespace mgb; diff --git a/src/gopt/test/network.h b/src/gopt/test/network.h index 95c96b87..dd065469 100644 --- a/src/gopt/test/network.h +++ b/src/gopt/test/network.h @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/network.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/test/helper.h" diff --git a/src/gopt/test/profiler.cpp b/src/gopt/test/profiler.cpp index 465a4a56..dcc511b1 100644 --- a/src/gopt/test/profiler.cpp +++ b/src/gopt/test/profiler.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/profiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/plugin/profiler.h" #include "./helper.h" #include "megbrain/gopt/inference.h" diff --git a/src/gopt/test/reformat_emitter.cpp b/src/gopt/test/reformat_emitter.cpp index 4c5e3a80..1357be30 100644 --- a/src/gopt/test/reformat_emitter.cpp +++ b/src/gopt/test/reformat_emitter.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/reformat_emitter.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./helper.h" #include "megbrain/gopt/reformat_emitter.h" diff --git a/src/gopt/test/reformat_manager.cpp b/src/gopt/test/reformat_manager.cpp index ffb3de5e..440915a3 100644 --- a/src/gopt/test/reformat_manager.cpp +++ b/src/gopt/test/reformat_manager.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/reformat_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./helper.h" #include "megbrain/gopt/reformat_manager.h" diff --git a/src/gopt/test/subgraph_extractor.cpp b/src/gopt/test/subgraph_extractor.cpp index 1580eeb5..1ef92cb5 100644 --- a/src/gopt/test/subgraph_extractor.cpp +++ b/src/gopt/test/subgraph_extractor.cpp @@ -1,15 +1,3 @@ -/** - * \file src/gopt/test/subgraph_extractor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "./helper.h" #include "megbrain/gopt/subgraph_extractor.h" diff --git a/src/jit/impl/ast_c.cpp b/src/jit/impl/ast_c.cpp index 3a5ece20..408a3c92 100644 --- a/src/jit/impl/ast_c.cpp +++ b/src/jit/impl/ast_c.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/ast_c.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/jit/ast_c.h" #include "megbrain/jit/executor_opr.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/jit/impl/compiler.cpp b/src/jit/impl/compiler.cpp index 14d3c314..68da3800 100644 --- a/src/jit/impl/compiler.cpp +++ b/src/jit/impl/compiler.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/compiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./mlir/compiler.h" #include "./halide/compiler_cuda.h" #include "./nvrtc/compiler_cuda.h" diff --git a/src/jit/impl/executor_opr.cpp b/src/jit/impl/executor_opr.cpp index 0ba6d207..533f554c 100644 --- a/src/jit/impl/executor_opr.cpp +++ b/src/jit/impl/executor_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/executor_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/jit/executor_opr.h" #include "megbrain/common.h" #include "megbrain/comp_node_env.h" diff --git a/src/jit/impl/fusion_pass.cpp b/src/jit/impl/fusion_pass.cpp index c73eb9f3..2008affa 100644 --- a/src/jit/impl/fusion_pass.cpp +++ b/src/jit/impl/fusion_pass.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/fusion_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/jit/fusion_pass.h" #include "megbrain/common.h" #include "megbrain/gopt/gtrans.h" diff --git a/src/jit/impl/halide/ast_hl.cpp b/src/jit/impl/halide/ast_hl.cpp index 9aa0ca17..1aca7dde 100644 --- a/src/jit/impl/halide/ast_hl.cpp +++ b/src/jit/impl/halide/ast_hl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/ast_hl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./ast_hl.h" #if MGB_JIT_HALIDE diff --git a/src/jit/impl/halide/ast_hl.h b/src/jit/impl/halide/ast_hl.h index be5d8e01..2763770b 100644 --- a/src/jit/impl/halide/ast_hl.h +++ b/src/jit/impl/halide/ast_hl.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/ast_hl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./halide_header.h" diff --git a/src/jit/impl/halide/compiler_cuda.cpp b/src/jit/impl/halide/compiler_cuda.cpp index a432a6c1..8f0002a1 100644 --- a/src/jit/impl/halide/compiler_cuda.cpp +++ b/src/jit/impl/halide/compiler_cuda.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/compiler_cuda.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./compiler_cuda.h" #if MGB_JIT_HALIDE && MGB_CUDA diff --git a/src/jit/impl/halide/compiler_cuda.h b/src/jit/impl/halide/compiler_cuda.h index b1d8b46d..9507ac89 100644 --- a/src/jit/impl/halide/compiler_cuda.h +++ b/src/jit/impl/halide/compiler_cuda.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/compiler_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./halide_header.h" diff --git a/src/jit/impl/halide/halide_executable.cpp b/src/jit/impl/halide/halide_executable.cpp index b30dfb70..d9065d4b 100644 --- a/src/jit/impl/halide/halide_executable.cpp +++ b/src/jit/impl/halide/halide_executable.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/halide_executable.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./halide_executable.h" #if MGB_JIT_HALIDE diff --git a/src/jit/impl/halide/halide_executable.h b/src/jit/impl/halide/halide_executable.h index 0df187d1..bd54aaeb 100644 --- a/src/jit/impl/halide/halide_executable.h +++ b/src/jit/impl/halide/halide_executable.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/halide_executable.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./halide_header.h" diff --git a/src/jit/impl/halide/halide_header.h b/src/jit/impl/halide/halide_header.h index 9ac6d92a..48cf07c5 100644 --- a/src/jit/impl/halide/halide_header.h +++ b/src/jit/impl/halide/halide_header.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/halide/halide_header.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/internal_graph.cpp b/src/jit/impl/internal_graph.cpp index b99af829..80977795 100644 --- a/src/jit/impl/internal_graph.cpp +++ b/src/jit/impl/internal_graph.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/internal_graph.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/gopt/framework.h" #include "megbrain/jit/executor_opr.h" #include "megbrain/opr/tensor_manip.h" diff --git a/src/jit/impl/jit.sereg.h b/src/jit/impl/jit.sereg.h index 1575da42..d8a56f65 100644 --- a/src/jit/impl/jit.sereg.h +++ b/src/jit/impl/jit.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/jit.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/graph/helper.h" #include "megbrain/jit/executor_opr.h" #include "megbrain/serialization/opr_shallow_copy.h" diff --git a/src/jit/impl/mlir/compiler.cpp b/src/jit/impl/mlir/compiler.cpp index c0b0dca6..ec7c9a89 100644 --- a/src/jit/impl/mlir/compiler.cpp +++ b/src/jit/impl/mlir/compiler.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/compiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/compiler.h b/src/jit/impl/mlir/compiler.h index 3d288cf6..ed844bb0 100644 --- a/src/jit/impl/mlir/compiler.h +++ b/src/jit/impl/mlir/compiler.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/mlir/compiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/executable_cpu.cpp b/src/jit/impl/mlir/executable_cpu.cpp index 4e8c65b2..9bdf00d7 100644 --- a/src/jit/impl/mlir/executable_cpu.cpp +++ b/src/jit/impl/mlir/executable_cpu.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/executable_cpu.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/executable_cpu.h b/src/jit/impl/mlir/executable_cpu.h index 32644dff..013fc374 100644 --- a/src/jit/impl/mlir/executable_cpu.h +++ b/src/jit/impl/mlir/executable_cpu.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/executable_cpu.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/executable_cuda.cpp b/src/jit/impl/mlir/executable_cuda.cpp index fb30104a..2a55a5f2 100644 --- a/src/jit/impl/mlir/executable_cuda.cpp +++ b/src/jit/impl/mlir/executable_cuda.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/executable_cuda.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR #if MGB_CUDA diff --git a/src/jit/impl/mlir/executable_cuda.h b/src/jit/impl/mlir/executable_cuda.h index e93c8a70..739a289e 100644 --- a/src/jit/impl/mlir/executable_cuda.h +++ b/src/jit/impl/mlir/executable_cuda.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/executable_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/ir/common.cpp b/src/jit/impl/mlir/ir/common.cpp index e2cadf88..5835ceca 100644 --- a/src/jit/impl/mlir/ir/common.cpp +++ b/src/jit/impl/mlir/ir/common.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/common.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/common.h b/src/jit/impl/mlir/ir/common.h index a9260ce7..ecd01be5 100644 --- a/src/jit/impl/mlir/ir/common.h +++ b/src/jit/impl/mlir/ir/common.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/common.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/ir/dialect.cpp b/src/jit/impl/mlir/ir/dialect.cpp index 4aef6053..ff750f68 100644 --- a/src/jit/impl/mlir/ir/dialect.cpp +++ b/src/jit/impl/mlir/ir/dialect.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/dialect.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/each_mode.cpp b/src/jit/impl/mlir/ir/each_mode.cpp index 850f702f..15a8d812 100644 --- a/src/jit/impl/mlir/ir/each_mode.cpp +++ b/src/jit/impl/mlir/ir/each_mode.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/each_mode.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/each_mode.h b/src/jit/impl/mlir/ir/each_mode.h index cebad4ae..7c2f994f 100644 --- a/src/jit/impl/mlir/ir/each_mode.h +++ b/src/jit/impl/mlir/ir/each_mode.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/each_mode.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/ir/lower_to_affine_pass.cpp b/src/jit/impl/mlir/ir/lower_to_affine_pass.cpp index 76c8a5ea..d2f7f40d 100644 --- a/src/jit/impl/mlir/ir/lower_to_affine_pass.cpp +++ b/src/jit/impl/mlir/ir/lower_to_affine_pass.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/lower_to_affine_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp b/src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp index 8a28fa28..d806a5c9 100644 --- a/src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp +++ b/src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/lower_to_gpu_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp b/src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp index c62fb460..437e8efb 100644 --- a/src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp +++ b/src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/lower_to_llvm_pass.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/numerical.cpp b/src/jit/impl/mlir/ir/numerical.cpp index e48789d6..99a1a523 100644 --- a/src/jit/impl/mlir/ir/numerical.cpp +++ b/src/jit/impl/mlir/ir/numerical.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/numerical.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/numerical.h b/src/jit/impl/mlir/ir/numerical.h index 84554140..d637ba12 100644 --- a/src/jit/impl/mlir/ir/numerical.h +++ b/src/jit/impl/mlir/ir/numerical.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/numerical.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/ir/types.cpp b/src/jit/impl/mlir/ir/types.cpp index e7057708..db3ad02e 100644 --- a/src/jit/impl/mlir/ir/types.cpp +++ b/src/jit/impl/mlir/ir/types.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/types.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/ir/types.h b/src/jit/impl/mlir/ir/types.h index 1790b465..a906c795 100644 --- a/src/jit/impl/mlir/ir/types.h +++ b/src/jit/impl/mlir/ir/types.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/types.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/mlir/ir/utils.cpp b/src/jit/impl/mlir/ir/utils.cpp index c98ce1d1..fca5467c 100644 --- a/src/jit/impl/mlir/ir/utils.cpp +++ b/src/jit/impl/mlir/ir/utils.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/ir/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/mlir_gen.cpp b/src/jit/impl/mlir/mlir_gen.cpp index fc92d93f..961a721f 100644 --- a/src/jit/impl/mlir/mlir_gen.cpp +++ b/src/jit/impl/mlir/mlir_gen.cpp @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/mlir_gen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT && MGB_JIT_MLIR diff --git a/src/jit/impl/mlir/mlir_gen.h b/src/jit/impl/mlir/mlir_gen.h index da507740..3b7770f0 100644 --- a/src/jit/impl/mlir/mlir_gen.h +++ b/src/jit/impl/mlir/mlir_gen.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/impl/mlir/mlir_gen.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/nvrtc/codegen_cuda.cpp b/src/jit/impl/nvrtc/codegen_cuda.cpp index f85b5c83..e7afe63b 100644 --- a/src/jit/impl/nvrtc/codegen_cuda.cpp +++ b/src/jit/impl/nvrtc/codegen_cuda.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/nvrtc/codegen_cuda.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./codegen_cuda.h" #include "megbrain/common.h" diff --git a/src/jit/impl/nvrtc/codegen_cuda.h b/src/jit/impl/nvrtc/codegen_cuda.h index 74624b2a..03cdb5f0 100644 --- a/src/jit/impl/nvrtc/codegen_cuda.h +++ b/src/jit/impl/nvrtc/codegen_cuda.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/nvrtc/codegen_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/nvrtc/compiler_cuda.cpp b/src/jit/impl/nvrtc/compiler_cuda.cpp index cc600f45..09856769 100644 --- a/src/jit/impl/nvrtc/compiler_cuda.cpp +++ b/src/jit/impl/nvrtc/compiler_cuda.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/nvrtc/compiler_cuda.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./compiler_cuda.h" #include #include "./codegen_cuda.h" diff --git a/src/jit/impl/nvrtc/compiler_cuda.h b/src/jit/impl/nvrtc/compiler_cuda.h index 4a709a4e..046dc7a7 100644 --- a/src/jit/impl/nvrtc/compiler_cuda.h +++ b/src/jit/impl/nvrtc/compiler_cuda.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/nvrtc/compiler_cuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/impl/placeholder_opr.cpp b/src/jit/impl/placeholder_opr.cpp index 4247f81f..098a0022 100644 --- a/src/jit/impl/placeholder_opr.cpp +++ b/src/jit/impl/placeholder_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/placeholder_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/jit/placeholder_opr.h" #include "megbrain/common.h" diff --git a/src/jit/impl/utils.cpp b/src/jit/impl/utils.cpp index 22accdba..338f4bf6 100644 --- a/src/jit/impl/utils.cpp +++ b/src/jit/impl/utils.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/impl/utils.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain_build_config.h" #if MGB_JIT diff --git a/src/jit/include/megbrain/jit/ast_c.h b/src/jit/include/megbrain/jit/ast_c.h index ddaf60d6..e379589e 100644 --- a/src/jit/include/megbrain/jit/ast_c.h +++ b/src/jit/include/megbrain/jit/ast_c.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/ast_c.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/include/megbrain/jit/base.h b/src/jit/include/megbrain/jit/base.h index 620a439d..a8792a37 100644 --- a/src/jit/include/megbrain/jit/base.h +++ b/src/jit/include/megbrain/jit/base.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/jit/include/megbrain/jit/compiler.h b/src/jit/include/megbrain/jit/compiler.h index 960e6207..fef4c3b3 100644 --- a/src/jit/include/megbrain/jit/compiler.h +++ b/src/jit/include/megbrain/jit/compiler.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/compiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "internal_graph.h" #include "megbrain/jit/executor_opr.h" diff --git a/src/jit/include/megbrain/jit/executor_opr.h b/src/jit/include/megbrain/jit/executor_opr.h index 8ba3b8a5..39bef6d8 100644 --- a/src/jit/include/megbrain/jit/executor_opr.h +++ b/src/jit/include/megbrain/jit/executor_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/executor_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/jit/include/megbrain/jit/fusion_pass.h b/src/jit/include/megbrain/jit/fusion_pass.h index 01433472..dee13c48 100644 --- a/src/jit/include/megbrain/jit/fusion_pass.h +++ b/src/jit/include/megbrain/jit/fusion_pass.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/fusion_pass.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/gopt/framework.h" diff --git a/src/jit/include/megbrain/jit/internal_graph.h b/src/jit/include/megbrain/jit/internal_graph.h index 5b9594e9..728e74e9 100644 --- a/src/jit/include/megbrain/jit/internal_graph.h +++ b/src/jit/include/megbrain/jit/internal_graph.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/internal_graph.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/gopt/gtrans.h" diff --git a/src/jit/include/megbrain/jit/mlir/ir/dialect.h b/src/jit/include/megbrain/jit/mlir/ir/dialect.h index 860cbeb4..b38615ed 100644 --- a/src/jit/include/megbrain/jit/mlir/ir/dialect.h +++ b/src/jit/include/megbrain/jit/mlir/ir/dialect.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/mlir/ir/dialect.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/include/megbrain/jit/mlir/ir/mgb_dialect.td b/src/jit/include/megbrain/jit/mlir/ir/mgb_dialect.td index 70ed3e4d..1a8d5c39 100644 --- a/src/jit/include/megbrain/jit/mlir/ir/mgb_dialect.td +++ b/src/jit/include/megbrain/jit/mlir/ir/mgb_dialect.td @@ -1,15 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/mlir/ir/mgb_dialect.td - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #ifndef MGB_DIALECT #define MGB_DIALECT diff --git a/src/jit/include/megbrain/jit/mlir/ir/passes.h b/src/jit/include/megbrain/jit/mlir/ir/passes.h index 674ec99e..6752b6f0 100644 --- a/src/jit/include/megbrain/jit/mlir/ir/passes.h +++ b/src/jit/include/megbrain/jit/mlir/ir/passes.h @@ -1,15 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/mlir/ir/passes.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/include/megbrain/jit/mlir/ir/utils.h b/src/jit/include/megbrain/jit/mlir/ir/utils.h index 98e2152e..7e80bbf2 100644 --- a/src/jit/include/megbrain/jit/mlir/ir/utils.h +++ b/src/jit/include/megbrain/jit/mlir/ir/utils.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/mlir/ir/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain_build_config.h" diff --git a/src/jit/include/megbrain/jit/param_elem_visitor.h b/src/jit/include/megbrain/jit/param_elem_visitor.h index 5c08d83e..8daa79d1 100644 --- a/src/jit/include/megbrain/jit/param_elem_visitor.h +++ b/src/jit/include/megbrain/jit/param_elem_visitor.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/param_elem_visitor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once /* diff --git a/src/jit/include/megbrain/jit/placeholder_opr.h b/src/jit/include/megbrain/jit/placeholder_opr.h index ae1f6fae..4a4b57f6 100644 --- a/src/jit/include/megbrain/jit/placeholder_opr.h +++ b/src/jit/include/megbrain/jit/placeholder_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/placeholder_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/jit/include/megbrain/jit/utils.h b/src/jit/include/megbrain/jit/utils.h index fd7d353e..112f8584 100644 --- a/src/jit/include/megbrain/jit/utils.h +++ b/src/jit/include/megbrain/jit/utils.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/include/megbrain/jit/utils.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/utils/metahelper.h" diff --git a/src/jit/test/codegen.cpp b/src/jit/test/codegen.cpp index 93c72224..a363ae9e 100644 --- a/src/jit/test/codegen.cpp +++ b/src/jit/test/codegen.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/test/codegen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "./helper.h" diff --git a/src/jit/test/fusion.cpp b/src/jit/test/fusion.cpp index afb6957e..26d15a4b 100644 --- a/src/jit/test/fusion.cpp +++ b/src/jit/test/fusion.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/test/fusion.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #include "megbrain_build_config.h" diff --git a/src/jit/test/helper.cpp b/src/jit/test/helper.cpp index 15e98de1..fbcdc764 100644 --- a/src/jit/test/helper.cpp +++ b/src/jit/test/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/jit/test/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #if MGB_JIT diff --git a/src/jit/test/helper.h b/src/jit/test/helper.h index 74cf98ff..0d002723 100644 --- a/src/jit/test/helper.h +++ b/src/jit/test/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/jit/test/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/test/helper.h" diff --git a/src/jit/test/mlir/utils/lit.bzl.cfg.py b/src/jit/test/mlir/utils/lit.bzl.cfg.py index fcad5d91..19ae70d2 100644 --- a/src/jit/test/mlir/utils/lit.bzl.cfg.py +++ b/src/jit/test/mlir/utils/lit.bzl.cfg.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform diff --git a/src/jit/test/mlir/utils/lit.bzl.site.cfg.py b/src/jit/test/mlir/utils/lit.bzl.site.cfg.py index 45e27c15..6be6a122 100644 --- a/src/jit/test/mlir/utils/lit.bzl.site.cfg.py +++ b/src/jit/test/mlir/utils/lit.bzl.site.cfg.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """Lit runner site configuration.""" import os diff --git a/src/jit/test/mlir/utils/lit.cfg.py b/src/jit/test/mlir/utils/lit.cfg.py index e8d79811..572c3098 100644 --- a/src/jit/test/mlir/utils/lit.cfg.py +++ b/src/jit/test/mlir/utils/lit.cfg.py @@ -1,11 +1,4 @@ # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import os import platform diff --git a/src/megbrain_build_config.h.in b/src/megbrain_build_config.h.in index dd7c6685..3cab667e 100644 --- a/src/megbrain_build_config.h.in +++ b/src/megbrain_build_config.h.in @@ -1,14 +1,3 @@ -/** - * \file src/megbrain_build_config.h.in - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef _HEADER_MGB_BUILD_CONFIG #define _HEADER_MGB_BUILD_CONFIG diff --git a/src/opr-mm/impl/collective_comm.cpp b/src/opr-mm/impl/collective_comm.cpp index 91e00378..a517ff1f 100644 --- a/src/opr-mm/impl/collective_comm.cpp +++ b/src/opr-mm/impl/collective_comm.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/impl/collective_comm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/collective_comm.h" #include "megbrain/comp_node_env.h" diff --git a/src/opr-mm/impl/group_manager.cpp b/src/opr-mm/impl/group_manager.cpp index 43673539..55516665 100644 --- a/src/opr-mm/impl/group_manager.cpp +++ b/src/opr-mm/impl/group_manager.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/impl/group_manager.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/group_manager.h" using namespace mgb; diff --git a/src/opr-mm/impl/io_remote.cpp b/src/opr-mm/impl/io_remote.cpp index 3305aa26..a4db41de 100644 --- a/src/opr-mm/impl/io_remote.cpp +++ b/src/opr-mm/impl/io_remote.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/impl/io_remote.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/io_remote.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr-mm/impl/lock.cpp b/src/opr-mm/impl/lock.cpp index 15178079..efc83520 100644 --- a/src/opr-mm/impl/lock.cpp +++ b/src/opr-mm/impl/lock.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/impl/lock.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/lock.h" #include diff --git a/src/opr-mm/impl/megray_helper.cpp b/src/opr-mm/impl/megray_helper.cpp index 412e1647..c562f186 100644 --- a/src/opr-mm/impl/megray_helper.cpp +++ b/src/opr-mm/impl/megray_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/impl/megray_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/megray_helper.h" #include "megbrain/comp_node_env.h" #include "megray/common.h" diff --git a/src/opr-mm/include/megbrain/opr/collective_comm.h b/src/opr-mm/include/megbrain/opr/collective_comm.h index ba94e7d6..e4777661 100644 --- a/src/opr-mm/include/megbrain/opr/collective_comm.h +++ b/src/opr-mm/include/megbrain/opr/collective_comm.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/include/megbrain/opr/collective_comm.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr-mm/include/megbrain/opr/group_manager.h b/src/opr-mm/include/megbrain/opr/group_manager.h index 35468b5d..29ba9ef4 100644 --- a/src/opr-mm/include/megbrain/opr/group_manager.h +++ b/src/opr-mm/include/megbrain/opr/group_manager.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/include/megbrain/opr/group_manager.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/opr-mm/include/megbrain/opr/io_remote.h b/src/opr-mm/include/megbrain/opr/io_remote.h index 87b59929..db9559b6 100644 --- a/src/opr-mm/include/megbrain/opr/io_remote.h +++ b/src/opr-mm/include/megbrain/opr/io_remote.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/include/megbrain/opr/io_remote.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr-mm/include/megbrain/opr/lock.h b/src/opr-mm/include/megbrain/opr/lock.h index 334cb673..eef58de5 100644 --- a/src/opr-mm/include/megbrain/opr/lock.h +++ b/src/opr-mm/include/megbrain/opr/lock.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/include/megbrain/opr/lock.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr-mm/include/megbrain/opr/megray_helper.h b/src/opr-mm/include/megbrain/opr/megray_helper.h index 9d04c970..b9b2e139 100644 --- a/src/opr-mm/include/megbrain/opr/megray_helper.h +++ b/src/opr-mm/include/megbrain/opr/megray_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/include/megbrain/opr/megray_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/opr-mm/test/collective_comm.cpp b/src/opr-mm/test/collective_comm.cpp index 8902c512..2f93e4b5 100644 --- a/src/opr-mm/test/collective_comm.cpp +++ b/src/opr-mm/test/collective_comm.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/test/collective_comm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/collective_comm.h" #include "megbrain/graph.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr-mm/test/io_remote.cpp b/src/opr-mm/test/io_remote.cpp index b476d48f..6c16167f 100644 --- a/src/opr-mm/test/io_remote.cpp +++ b/src/opr-mm/test/io_remote.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/test/io_remote.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/io_remote.h" #include "megbrain/opr/io.h" #include "megbrain/opr/utility.h" diff --git a/src/opr-mm/test/lock.cpp b/src/opr-mm/test/lock.cpp index e903836e..ccf76f39 100644 --- a/src/opr-mm/test/lock.cpp +++ b/src/opr-mm/test/lock.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/test/lock.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/lock.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/opr-mm/test/mock_client.h b/src/opr-mm/test/mock_client.h index 6e1e990c..075fa15d 100644 --- a/src/opr-mm/test/mock_client.h +++ b/src/opr-mm/test/mock_client.h @@ -1,14 +1,3 @@ -/** - * \file src/opr-mm/test/mock_client.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/group_manager.h" namespace mgb { diff --git a/src/opr/impl/atlas_runtime_op.cpp b/src/opr/impl/atlas_runtime_op.cpp index 8fc51223..919d3480 100644 --- a/src/opr/impl/atlas_runtime_op.cpp +++ b/src/opr/impl/atlas_runtime_op.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/atlas_runtime_op.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/atlas_runtime_op.h" #include #include "megbrain/common.h" diff --git a/src/opr/impl/atlas_runtime_op.sereg.h b/src/opr/impl/atlas_runtime_op.sereg.h index 61a65283..478701f9 100644 --- a/src/opr/impl/atlas_runtime_op.sereg.h +++ b/src/opr/impl/atlas_runtime_op.sereg.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/atlas_runtime_opr.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/atlas_runtime_op.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/basic_arith.cpp b/src/opr/impl/basic_arith.cpp index f7d5479d..1639a5ab 100644 --- a/src/opr/impl/basic_arith.cpp +++ b/src/opr/impl/basic_arith.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/basic_arith.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith.h" #include "megbrain/gopt/basic_arith.h" #include "megbrain/gopt/gtrans.h" diff --git a/src/opr/impl/basic_arith.sereg.h b/src/opr/impl/basic_arith.sereg.h index b7746741..8b760d1e 100644 --- a/src/opr/impl/basic_arith.sereg.h +++ b/src/opr/impl/basic_arith.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/basic_arith.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/internal/param_tag_defs.h" #include "megbrain/serialization/helper.h" diff --git a/src/opr/impl/blas.cpp b/src/opr/impl/blas.cpp index 1ecde974..8a396430 100644 --- a/src/opr/impl/blas.cpp +++ b/src/opr/impl/blas.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/blas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/blas.h" #include "megbrain/common.h" #include "megbrain/comp_node_env.h" diff --git a/src/opr/impl/blas.sereg.h b/src/opr/impl/blas.sereg.h index 81121715..49a2d1ff 100644 --- a/src/opr/impl/blas.sereg.h +++ b/src/opr/impl/blas.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/blas.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/blas.h" #include "megbrain/opr/param_defs.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/cond.cpp b/src/opr/impl/cond.cpp index 28a73c14..3e779468 100644 --- a/src/opr/impl/cond.cpp +++ b/src/opr/impl/cond.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/cond.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/cond.h" #include "megbrain/graph/event.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/cond.sereg.h b/src/opr/impl/cond.sereg.h index ec2dc487..566856d0 100644 --- a/src/opr/impl/cond.sereg.h +++ b/src/opr/impl/cond.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/cond.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/cond.h" #include "megbrain/opr/utility.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/custom_opnode.cpp b/src/opr/impl/custom_opnode.cpp index 1c0d7f67..f243edec 100644 --- a/src/opr/impl/custom_opnode.cpp +++ b/src/opr/impl/custom_opnode.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/custom_opnode.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/custom_opnode.h" #if MGB_CUSTOM_OP diff --git a/src/opr/impl/custom_opnode.sereg.h b/src/opr/impl/custom_opnode.sereg.h index 88c988a1..931841d7 100644 --- a/src/opr/impl/custom_opnode.sereg.h +++ b/src/opr/impl/custom_opnode.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/custom_opnode.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/custom_opnode.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/dnn/adaptive_pooling.cpp b/src/opr/impl/dnn/adaptive_pooling.cpp index 9300110e..1d8f402f 100644 --- a/src/opr/impl/dnn/adaptive_pooling.cpp +++ b/src/opr/impl/dnn/adaptive_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/adaptive_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ #include "megbrain/opr/dnn/adaptive_pooling.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/batch_norm.cpp b/src/opr/impl/dnn/batch_norm.cpp index ee6cd2f1..a58276a0 100644 --- a/src/opr/impl/dnn/batch_norm.cpp +++ b/src/opr/impl/dnn/batch_norm.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/batch_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/batch_norm.h" #include "megbrain/graph/grad_impl.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/impl/dnn/convolution.cpp b/src/opr/impl/dnn/convolution.cpp index 711d7a78..e2137d26 100644 --- a/src/opr/impl/dnn/convolution.cpp +++ b/src/opr/impl/dnn/convolution.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/convolution.h" #include "megbrain/opr/io.h" #include "megbrain/opr/search_policy/algo_chooser.h" diff --git a/src/opr/impl/dnn/correlation.cpp b/src/opr/impl/dnn/correlation.cpp index 9f43d0d8..8362dbe2 100644 --- a/src/opr/impl/dnn/correlation.cpp +++ b/src/opr/impl/dnn/correlation.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/correlation.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/correlation.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/dnn.sereg.h b/src/opr/impl/dnn/dnn.sereg.h index 2ac6df93..54130d25 100644 --- a/src/opr/impl/dnn/dnn.sereg.h +++ b/src/opr/impl/dnn/dnn.sereg.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/dnn.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/adaptive_pooling.h" #include "megbrain/opr/dnn/batch_norm.h" #include "megbrain/opr/dnn/convolution.h" diff --git a/src/opr/impl/dnn/fake_quant.cpp b/src/opr/impl/dnn/fake_quant.cpp index 8f2a5373..fe5610cb 100644 --- a/src/opr/impl/dnn/fake_quant.cpp +++ b/src/opr/impl/dnn/fake_quant.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/fake_quant.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/fake_quant.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/helper.h b/src/opr/impl/dnn/helper.h index 8923070b..a8a4b956 100644 --- a/src/opr/impl/dnn/helper.h +++ b/src/opr/impl/dnn/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/impl/dnn/images2neibs.cpp b/src/opr/impl/dnn/images2neibs.cpp index 4f5f9b37..cae6080c 100644 --- a/src/opr/impl/dnn/images2neibs.cpp +++ b/src/opr/impl/dnn/images2neibs.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/images2neibs.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/images2neibs.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/layer_norm.cpp b/src/opr/impl/dnn/layer_norm.cpp index 3506111a..15d98e72 100644 --- a/src/opr/impl/dnn/layer_norm.cpp +++ b/src/opr/impl/dnn/layer_norm.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/layer_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/layer_norm.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/local.cpp b/src/opr/impl/dnn/local.cpp index 7ee266fb..3f970033 100644 --- a/src/opr/impl/dnn/local.cpp +++ b/src/opr/impl/dnn/local.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/local.h" #include "./helper.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/lrn.cpp b/src/opr/impl/dnn/lrn.cpp index c7a18613..5f31b1a8 100644 --- a/src/opr/impl/dnn/lrn.cpp +++ b/src/opr/impl/dnn/lrn.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/lrn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/lrn.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/lsq.cpp b/src/opr/impl/dnn/lsq.cpp index b2b2023f..72dfa6aa 100644 --- a/src/opr/impl/dnn/lsq.cpp +++ b/src/opr/impl/dnn/lsq.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/lsq.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/lsq.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/pooling.cpp b/src/opr/impl/dnn/pooling.cpp index bec83fea..90a39baf 100644 --- a/src/opr/impl/dnn/pooling.cpp +++ b/src/opr/impl/dnn/pooling.cpp @@ -1,13 +1,3 @@ -/** - * \file src/opr/impl/dnn/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/opr/dnn/pooling.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/rnn.cpp b/src/opr/impl/dnn/rnn.cpp index fa42fe52..a8a03ee1 100644 --- a/src/opr/impl/dnn/rnn.cpp +++ b/src/opr/impl/dnn/rnn.cpp @@ -1,13 +1,3 @@ -/** - * \file src/opr/impl/dnn/rnn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/opr/dnn/rnn.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/roi_align.cpp b/src/opr/impl/dnn/roi_align.cpp index 88e246c2..572403fd 100644 --- a/src/opr/impl/dnn/roi_align.cpp +++ b/src/opr/impl/dnn/roi_align.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/roi_align.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/roi_align.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/roi_pooling.cpp b/src/opr/impl/dnn/roi_pooling.cpp index 31b41a96..25603c26 100644 --- a/src/opr/impl/dnn/roi_pooling.cpp +++ b/src/opr/impl/dnn/roi_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/roi_pooling.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/sliding_window_transpose.cpp b/src/opr/impl/dnn/sliding_window_transpose.cpp index 8097125a..fcc184aa 100644 --- a/src/opr/impl/dnn/sliding_window_transpose.cpp +++ b/src/opr/impl/dnn/sliding_window_transpose.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/dnn/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/sliding_window_transpose.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/softmax.cpp b/src/opr/impl/dnn/softmax.cpp index 1064edbb..085f8912 100644 --- a/src/opr/impl/dnn/softmax.cpp +++ b/src/opr/impl/dnn/softmax.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/softmax.h" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/dnn/tqt.cpp b/src/opr/impl/dnn/tqt.cpp index f79c7a0e..642976c3 100644 --- a/src/opr/impl/dnn/tqt.cpp +++ b/src/opr/impl/dnn/tqt.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/dnn/tqt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/tqt.h" #include "../internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/imgproc.cpp b/src/opr/impl/imgproc.cpp index 1fcb3081..33d61dc1 100644 --- a/src/opr/impl/imgproc.cpp +++ b/src/opr/impl/imgproc.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/imgproc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/imgproc.h" #include "./internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/imgproc.sereg.h b/src/opr/impl/imgproc.sereg.h index fdd10f5b..c439cc19 100644 --- a/src/opr/impl/imgproc.sereg.h +++ b/src/opr/impl/imgproc.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/imgproc.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - //#include #include "megbrain/opr/imgproc.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/indexing.cpp b/src/opr/impl/indexing.cpp index c01ba2b6..b38a410c 100644 --- a/src/opr/impl/indexing.cpp +++ b/src/opr/impl/indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/indexing.h" #include "megbrain/graph/grad_impl.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/impl/indexing.sereg.h b/src/opr/impl/indexing.sereg.h index 8796783f..5fbfc83b 100644 --- a/src/opr/impl/indexing.sereg.h +++ b/src/opr/impl/indexing.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/indexing.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/indexing.h" #include "megbrain/opr/internal/indexing_helper_sereg.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/internal/identical_fwd.cpp b/src/opr/impl/internal/identical_fwd.cpp index 0f04f3fd..ade9dd0f 100644 --- a/src/opr/impl/internal/identical_fwd.cpp +++ b/src/opr/impl/internal/identical_fwd.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/identical_fwd.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/internal/identical_fwd.h" #include "megbrain/opr/io.h" diff --git a/src/opr/impl/internal/indexing_helper.cpp b/src/opr/impl/internal/indexing_helper.cpp index cc222e87..14f137ed 100644 --- a/src/opr/impl/internal/indexing_helper.cpp +++ b/src/opr/impl/internal/indexing_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/indexing_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/internal/indexing_helper.h" #include "megbrain/opr/internal/indexing_helper_sereg.h" #include "megbrain/opr/param_defs.h" diff --git a/src/opr/impl/internal/megdnn_opr_wrapper.cpp b/src/opr/impl/internal/megdnn_opr_wrapper.cpp index ca179599..9b18c4b7 100644 --- a/src/opr/impl/internal/megdnn_opr_wrapper.cpp +++ b/src/opr/impl/internal/megdnn_opr_wrapper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/megdnn_opr_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/internal/megdnn_opr_wrapper.h" #include "./megdnn_opr_wrapper.inl" #include "megbrain/comp_node_env.h" diff --git a/src/opr/impl/internal/megdnn_opr_wrapper.inl b/src/opr/impl/internal/megdnn_opr_wrapper.inl index 724bf0f7..5a86d5a5 100644 --- a/src/opr/impl/internal/megdnn_opr_wrapper.inl +++ b/src/opr/impl/internal/megdnn_opr_wrapper.inl @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/megdnn_opr_wrapper.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/impl/internal/megdnn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl b/src/opr/impl/internal/megdnn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl index a8e6d0d8..e3aa8562 100644 --- a/src/opr/impl/internal/megdnn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl +++ b/src/opr/impl/internal/megdnn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/megdnn_opr_wrapper_megdnn_opr_meth_invoker_impl.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef _NR_INPUTS #error "must be included from megdnn_opr_wrapper.inl" #endif diff --git a/src/opr/impl/internal/out_shape_by_sym_var.cpp b/src/opr/impl/internal/out_shape_by_sym_var.cpp index 97a3fef7..24d19e56 100644 --- a/src/opr/impl/internal/out_shape_by_sym_var.cpp +++ b/src/opr/impl/internal/out_shape_by_sym_var.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/internal/out_shape_by_sym_var.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/internal/out_shape_by_sym_var.h" #include "megbrain/opr/io.h" #include "megbrain/utils/arith_helper.h" diff --git a/src/opr/impl/io.cpp b/src/opr/impl/io.cpp index 6cbc6c04..25303395 100644 --- a/src/opr/impl/io.cpp +++ b/src/opr/impl/io.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/io.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/io.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/event.h" diff --git a/src/opr/impl/io.sereg.h b/src/opr/impl/io.sereg.h index 9260a1b6..12ab2391 100644 --- a/src/opr/impl/io.sereg.h +++ b/src/opr/impl/io.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/io.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/io.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/loop/forward.cpp b/src/opr/impl/loop/forward.cpp index 8840b847..a370d0f2 100644 --- a/src/opr/impl/loop/forward.cpp +++ b/src/opr/impl/loop/forward.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/forward.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad.h" #include "./impl.h" diff --git a/src/opr/impl/loop/forward.sereg.h b/src/opr/impl/loop/forward.sereg.h index 6bd53136..fa96ccad 100644 --- a/src/opr/impl/loop/forward.sereg.h +++ b/src/opr/impl/loop/forward.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/forward.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/loop.h" #include "./forward_sereg.h" diff --git a/src/opr/impl/loop/forward_sereg.cpp b/src/opr/impl/loop/forward_sereg.cpp index 258275b2..c2877618 100644 --- a/src/opr/impl/loop/forward_sereg.cpp +++ b/src/opr/impl/loop/forward_sereg.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/forward_sereg.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./forward_sereg.h" #include "./impl.h" #include "megbrain/opr/internal/param_tag_defs.h" diff --git a/src/opr/impl/loop/forward_sereg.h b/src/opr/impl/loop/forward_sereg.h index d0999026..5a73eb7e 100644 --- a/src/opr/impl/loop/forward_sereg.h +++ b/src/opr/impl/loop/forward_sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/forward_sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/loop.h" diff --git a/src/opr/impl/loop/grad.cpp b/src/opr/impl/loop/grad.cpp index 0dc16198..4096d682 100644 --- a/src/opr/impl/loop/grad.cpp +++ b/src/opr/impl/loop/grad.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/grad.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad.h" #include "./impl.h" #include "megbrain/gopt/basic_arith.h" diff --git a/src/opr/impl/loop/grad.h b/src/opr/impl/loop/grad.h index 00927819..889328d3 100644 --- a/src/opr/impl/loop/grad.h +++ b/src/opr/impl/loop/grad.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/grad.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./impl.h" diff --git a/src/opr/impl/loop/grad.sereg.h b/src/opr/impl/loop/grad.sereg.h index ffc62749..9bbe5c8d 100644 --- a/src/opr/impl/loop/grad.sereg.h +++ b/src/opr/impl/loop/grad.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/grad.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad_sereg.h" #include "megbrain/opr/loop.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/loop/grad_sereg.cpp b/src/opr/impl/loop/grad_sereg.cpp index 1fb3c7e2..b50fcb38 100644 --- a/src/opr/impl/loop/grad_sereg.cpp +++ b/src/opr/impl/loop/grad_sereg.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/grad_sereg.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./grad_sereg.h" #include "./grad.h" #include "./impl.h" diff --git a/src/opr/impl/loop/grad_sereg.h b/src/opr/impl/loop/grad_sereg.h index feae7ee7..024b31bd 100644 --- a/src/opr/impl/loop/grad_sereg.h +++ b/src/opr/impl/loop/grad_sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/grad_sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./grad.h" diff --git a/src/opr/impl/loop/impl.cpp b/src/opr/impl/loop/impl.cpp index 42c83bac..44630927 100644 --- a/src/opr/impl/loop/impl.cpp +++ b/src/opr/impl/loop/impl.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/impl.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./impl.h" #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/impl/loop/impl.h b/src/opr/impl/loop/impl.h index 8de8e037..ab81d2a3 100644 --- a/src/opr/impl/loop/impl.h +++ b/src/opr/impl/loop/impl.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/impl.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "./output_recorder.h" diff --git a/src/opr/impl/loop/output_recorder.cpp b/src/opr/impl/loop/output_recorder.cpp index e9f0307f..e66e5b4b 100644 --- a/src/opr/impl/loop/output_recorder.cpp +++ b/src/opr/impl/loop/output_recorder.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/output_recorder.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./output_recorder.h" #include "./impl.h" diff --git a/src/opr/impl/loop/output_recorder.h b/src/opr/impl/loop/output_recorder.h index 864a6a98..01aeb6a6 100644 --- a/src/opr/impl/loop/output_recorder.h +++ b/src/opr/impl/loop/output_recorder.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/loop/output_recorder.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/loop.h" diff --git a/src/opr/impl/misc.cpp b/src/opr/impl/misc.cpp index abb54b37..59ba67b1 100644 --- a/src/opr/impl/misc.cpp +++ b/src/opr/impl/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./internal/megdnn_opr_wrapper.inl" #include "megbrain/graph/grad_impl.h" diff --git a/src/opr/impl/misc.sereg.h b/src/opr/impl/misc.sereg.h index f9c16a01..b06beecb 100644 --- a/src/opr/impl/misc.sereg.h +++ b/src/opr/impl/misc.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/misc.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/misc.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/muxing.cpp b/src/opr/impl/muxing.cpp index 8ff8c67e..da3277c7 100644 --- a/src/opr/impl/muxing.cpp +++ b/src/opr/impl/muxing.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/muxing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/muxing.h" #include #include "megbrain/graph/event.h" diff --git a/src/opr/impl/nn_int.cpp b/src/opr/impl/nn_int.cpp index e15149fb..e04aa49d 100644 --- a/src/opr/impl/nn_int.cpp +++ b/src/opr/impl/nn_int.cpp @@ -1,13 +1,3 @@ -/** - * \file src/opr/impl/nn_int.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #include "megbrain/opr/nn_int.h" #include "./internal/megdnn_opr_wrapper.inl" diff --git a/src/opr/impl/nn_int.sereg.h b/src/opr/impl/nn_int.sereg.h index 91169150..b4ae7307 100644 --- a/src/opr/impl/nn_int.sereg.h +++ b/src/opr/impl/nn_int.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/nn_int.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/nn_int.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/nvof/NvOF.cpp b/src/opr/impl/nvof/NvOF.cpp index cc9f269d..c09a4ef0 100644 --- a/src/opr/impl/nvof/NvOF.cpp +++ b/src/opr/impl/nvof/NvOF.cpp @@ -9,18 +9,6 @@ * */ -/** - * \file src/opr/impl/nvof/NvOF.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/NvOF.h b/src/opr/impl/nvof/NvOF.h index 2f61785d..33fa8362 100644 --- a/src/opr/impl/nvof/NvOF.h +++ b/src/opr/impl/nvof/NvOF.h @@ -9,18 +9,6 @@ * */ -/** - * \file src/opr/impl/nvof/NvOF.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include "megbrain_build_config.h" diff --git a/src/opr/impl/nvof/NvOFCuda.cpp b/src/opr/impl/nvof/NvOFCuda.cpp index 22fcfea4..4f1f1ad7 100644 --- a/src/opr/impl/nvof/NvOFCuda.cpp +++ b/src/opr/impl/nvof/NvOFCuda.cpp @@ -9,18 +9,6 @@ * */ -/** - * \file src/opr/impl/nvof/NvOFCuda.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/NvOFCuda.h b/src/opr/impl/nvof/NvOFCuda.h index 4b985a92..07bed8df 100644 --- a/src/opr/impl/nvof/NvOFCuda.h +++ b/src/opr/impl/nvof/NvOFCuda.h @@ -9,18 +9,6 @@ * */ -/** - * \file src/opr/impl/nvof/NvOFCuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/NvOFDefines.h b/src/opr/impl/nvof/NvOFDefines.h index 29a9a539..c900202e 100644 --- a/src/opr/impl/nvof/NvOFDefines.h +++ b/src/opr/impl/nvof/NvOFDefines.h @@ -9,18 +9,6 @@ * */ -/** - * \file src/opr/impl/nvof/NvOFDefines.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/denseflownvidia.cpp b/src/opr/impl/nvof/denseflownvidia.cpp index 433c730d..83d4ce09 100644 --- a/src/opr/impl/nvof/denseflownvidia.cpp +++ b/src/opr/impl/nvof/denseflownvidia.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/nvof/denseflownvidia.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/denseflownvidia.h b/src/opr/impl/nvof/denseflownvidia.h index e82df675..c0c0d63a 100644 --- a/src/opr/impl/nvof/denseflownvidia.h +++ b/src/opr/impl/nvof/denseflownvidia.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/nvof/denseflownvidia.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/nvOpticalFlowCommon.h b/src/opr/impl/nvof/nvOpticalFlowCommon.h index de602601..530a6810 100644 --- a/src/opr/impl/nvof/nvOpticalFlowCommon.h +++ b/src/opr/impl/nvof/nvOpticalFlowCommon.h @@ -38,18 +38,6 @@ * prototypes. */ -/** - * \file src/opr/impl/nvof/nvOpticalFlowCommon.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/nvof/nvOpticalFlowCuda.h b/src/opr/impl/nvof/nvOpticalFlowCuda.h index 2ecf5813..d6329a97 100644 --- a/src/opr/impl/nvof/nvOpticalFlowCuda.h +++ b/src/opr/impl/nvof/nvOpticalFlowCuda.h @@ -36,18 +36,6 @@ * structure definitions and function prototypes. */ -/** - * \file src/opr/impl/nvof/nvOpticalFlowCuda.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain_build_config.h" #if MGB_CUDA diff --git a/src/opr/impl/rand.cpp b/src/opr/impl/rand.cpp index 043a15e5..83dda237 100644 --- a/src/opr/impl/rand.cpp +++ b/src/opr/impl/rand.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/rand.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/rand.h" #include "megbrain/graph/grad_impl.h" #include "megbrain/opr/utility.h" diff --git a/src/opr/impl/rand.sereg.h b/src/opr/impl/rand.sereg.h index 869fb72c..a5d1a915 100644 --- a/src/opr/impl/rand.sereg.h +++ b/src/opr/impl/rand.sereg.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/rand.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/rand.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/search_policy/algo_chooser.cpp b/src/opr/impl/search_policy/algo_chooser.cpp index be6a8592..89762e30 100644 --- a/src/opr/impl/search_policy/algo_chooser.cpp +++ b/src/opr/impl/search_policy/algo_chooser.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/search_policy/algo_chooser.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include #include diff --git a/src/opr/impl/search_policy/algo_chooser_helper.cpp b/src/opr/impl/search_policy/algo_chooser_helper.cpp index bc3be642..9c3a4aa9 100644 --- a/src/opr/impl/search_policy/algo_chooser_helper.cpp +++ b/src/opr/impl/search_policy/algo_chooser_helper.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/search_policy/algo_chooser_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/search_policy/algo_chooser_helper.h" #include "megbrain/graph/cg.h" #include "megbrain/opr/search_policy/algo_chooser.h" diff --git a/src/opr/impl/search_policy/workspace_need_limit_getter.inl b/src/opr/impl/search_policy/workspace_need_limit_getter.inl index 1eb9f882..cdb0f8e4 100644 --- a/src/opr/impl/search_policy/workspace_need_limit_getter.inl +++ b/src/opr/impl/search_policy/workspace_need_limit_getter.inl @@ -1,15 +1,3 @@ -/** - * \file src/opr/impl/search_policy/workspace_need_limit_getter.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/search_policy/algo_chooser.h" diff --git a/src/opr/impl/tensor_gen.cpp b/src/opr/impl/tensor_gen.cpp index 937dd154..41cda0d6 100644 --- a/src/opr/impl/tensor_gen.cpp +++ b/src/opr/impl/tensor_gen.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/tensor_gen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_gen.h" #include "megbrain/graph/grad_impl.h" #include "megbrain/opr/blas.h" diff --git a/src/opr/impl/tensor_gen.sereg.h b/src/opr/impl/tensor_gen.sereg.h index 20dfe3b8..f01fb317 100644 --- a/src/opr/impl/tensor_gen.sereg.h +++ b/src/opr/impl/tensor_gen.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/tensor_gen.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_gen.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/tensor_manip.cpp b/src/opr/impl/tensor_manip.cpp index a9655a98..45796a69 100644 --- a/src/opr/impl/tensor_manip.cpp +++ b/src/opr/impl/tensor_manip.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/tensor_manip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_manip.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/event.h" diff --git a/src/opr/impl/tensor_manip.sereg.h b/src/opr/impl/tensor_manip.sereg.h index 07915e75..b333ad4d 100644 --- a/src/opr/impl/tensor_manip.sereg.h +++ b/src/opr/impl/tensor_manip.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/tensor_manip.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/internal/indexing_helper_sereg.h" #include "megbrain/opr/tensor_manip.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/impl/utility.cpp b/src/opr/impl/utility.cpp index 7669fcd2..588540ab 100644 --- a/src/opr/impl/utility.cpp +++ b/src/opr/impl/utility.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/utility.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/utility.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/event.h" diff --git a/src/opr/impl/utility.sereg.h b/src/opr/impl/utility.sereg.h index 95473a97..9aed8da4 100644 --- a/src/opr/impl/utility.sereg.h +++ b/src/opr/impl/utility.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/impl/utility.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/utility.h" #include "megbrain/serialization/sereg.h" diff --git a/src/opr/include/megbrain/opr/atlas_runtime_op.h b/src/opr/include/megbrain/opr/atlas_runtime_op.h index 9482ae08..abd8c87c 100644 --- a/src/opr/include/megbrain/opr/atlas_runtime_op.h +++ b/src/opr/include/megbrain/opr/atlas_runtime_op.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/atlas_runtime_op.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/src/opr/include/megbrain/opr/basic_arith.h b/src/opr/include/megbrain/opr/basic_arith.h index 771aff81..47f4391d 100644 --- a/src/opr/include/megbrain/opr/basic_arith.h +++ b/src/opr/include/megbrain/opr/basic_arith.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/basic_arith.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/identical_fwd.h" diff --git a/src/opr/include/megbrain/opr/basic_arith_wrapper.h b/src/opr/include/megbrain/opr/basic_arith_wrapper.h index 78f2a173..fefa3c24 100644 --- a/src/opr/include/megbrain/opr/basic_arith_wrapper.h +++ b/src/opr/include/megbrain/opr/basic_arith_wrapper.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/basic_arith_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/include/megbrain/opr/blas.h b/src/opr/include/megbrain/opr/blas.h index 4badde15..d1346f72 100644 --- a/src/opr/include/megbrain/opr/blas.h +++ b/src/opr/include/megbrain/opr/blas.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/blas.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/exception.h" diff --git a/src/opr/include/megbrain/opr/cond.h b/src/opr/include/megbrain/opr/cond.h index 50395d1b..b16ecc9e 100644 --- a/src/opr/include/megbrain/opr/cond.h +++ b/src/opr/include/megbrain/opr/cond.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/cond.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/custom_opnode.h b/src/opr/include/megbrain/opr/custom_opnode.h index e6f032d2..14b18fdf 100644 --- a/src/opr/include/megbrain/opr/custom_opnode.h +++ b/src/opr/include/megbrain/opr/custom_opnode.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/custom_opnode.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/common.h" diff --git a/src/opr/include/megbrain/opr/dnn/adaptive_pooling.h b/src/opr/include/megbrain/opr/dnn/adaptive_pooling.h index 923396ff..968757d7 100644 --- a/src/opr/include/megbrain/opr/dnn/adaptive_pooling.h +++ b/src/opr/include/megbrain/opr/dnn/adaptive_pooling.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/adaptive_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/batch_norm.h b/src/opr/include/megbrain/opr/dnn/batch_norm.h index 55ca865d..4bb960ca 100644 --- a/src/opr/include/megbrain/opr/dnn/batch_norm.h +++ b/src/opr/include/megbrain/opr/dnn/batch_norm.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/batch_norm.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/identical_fwd.h" diff --git a/src/opr/include/megbrain/opr/dnn/convolution.h b/src/opr/include/megbrain/opr/dnn/convolution.h index 5c8cb5b9..c0ca9f0f 100644 --- a/src/opr/include/megbrain/opr/dnn/convolution.h +++ b/src/opr/include/megbrain/opr/dnn/convolution.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/convolution.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/correlation.h b/src/opr/include/megbrain/opr/dnn/correlation.h index 8957c563..5563522c 100644 --- a/src/opr/include/megbrain/opr/dnn/correlation.h +++ b/src/opr/include/megbrain/opr/dnn/correlation.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/correlation.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/fake_quant.h b/src/opr/include/megbrain/opr/dnn/fake_quant.h index 6129a8d0..cc601ddc 100644 --- a/src/opr/include/megbrain/opr/dnn/fake_quant.h +++ b/src/opr/include/megbrain/opr/dnn/fake_quant.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/fake_quant.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" #include "megdnn/oprs.h" diff --git a/src/opr/include/megbrain/opr/dnn/images2neibs.h b/src/opr/include/megbrain/opr/dnn/images2neibs.h index 256bdb9a..9441302e 100644 --- a/src/opr/include/megbrain/opr/dnn/images2neibs.h +++ b/src/opr/include/megbrain/opr/dnn/images2neibs.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/images2neibs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/layer_norm.h b/src/opr/include/megbrain/opr/dnn/layer_norm.h index 29712de0..755cda46 100644 --- a/src/opr/include/megbrain/opr/dnn/layer_norm.h +++ b/src/opr/include/megbrain/opr/dnn/layer_norm.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/layer_norm.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/local.h b/src/opr/include/megbrain/opr/dnn/local.h index 562d3453..2b51bc5c 100644 --- a/src/opr/include/megbrain/opr/dnn/local.h +++ b/src/opr/include/megbrain/opr/dnn/local.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/local.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/lrn.h b/src/opr/include/megbrain/opr/dnn/lrn.h index e9cdf83b..72277c44 100644 --- a/src/opr/include/megbrain/opr/dnn/lrn.h +++ b/src/opr/include/megbrain/opr/dnn/lrn.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/lrn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/lsq.h b/src/opr/include/megbrain/opr/dnn/lsq.h index 1552978c..dbc2855b 100644 --- a/src/opr/include/megbrain/opr/dnn/lsq.h +++ b/src/opr/include/megbrain/opr/dnn/lsq.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/lsq.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" #include "megdnn/oprs.h" diff --git a/src/opr/include/megbrain/opr/dnn/pooling.h b/src/opr/include/megbrain/opr/dnn/pooling.h index a5f518e6..4f33f208 100644 --- a/src/opr/include/megbrain/opr/dnn/pooling.h +++ b/src/opr/include/megbrain/opr/dnn/pooling.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/rnn.h b/src/opr/include/megbrain/opr/dnn/rnn.h index 38c0e34c..ab98930f 100644 --- a/src/opr/include/megbrain/opr/dnn/rnn.h +++ b/src/opr/include/megbrain/opr/dnn/rnn.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/rnn.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/roi_align.h b/src/opr/include/megbrain/opr/dnn/roi_align.h index 79d30f2a..7cdb9705 100644 --- a/src/opr/include/megbrain/opr/dnn/roi_align.h +++ b/src/opr/include/megbrain/opr/dnn/roi_align.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/roi_align.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/roi_pooling.h b/src/opr/include/megbrain/opr/dnn/roi_pooling.h index da18ea08..7c8878c0 100644 --- a/src/opr/include/megbrain/opr/dnn/roi_pooling.h +++ b/src/opr/include/megbrain/opr/dnn/roi_pooling.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/roi_pooling.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/sliding_window_transpose.h b/src/opr/include/megbrain/opr/dnn/sliding_window_transpose.h index 13859bad..b921a742 100644 --- a/src/opr/include/megbrain/opr/dnn/sliding_window_transpose.h +++ b/src/opr/include/megbrain/opr/dnn/sliding_window_transpose.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/sliding_window_transpose.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/softmax.h b/src/opr/include/megbrain/opr/dnn/softmax.h index 71261d0e..1d1d4c91 100644 --- a/src/opr/include/megbrain/opr/dnn/softmax.h +++ b/src/opr/include/megbrain/opr/dnn/softmax.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/softmax.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/dnn/tqt.h b/src/opr/include/megbrain/opr/dnn/tqt.h index 6e849a6e..dc18b56f 100644 --- a/src/opr/include/megbrain/opr/dnn/tqt.h +++ b/src/opr/include/megbrain/opr/dnn/tqt.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/dnn/tqt.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" #include "megdnn/oprs.h" diff --git a/src/opr/include/megbrain/opr/imgproc.h b/src/opr/include/megbrain/opr/imgproc.h index be19ad84..baa65c99 100644 --- a/src/opr/include/megbrain/opr/imgproc.h +++ b/src/opr/include/megbrain/opr/imgproc.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/imgproc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/indexing.h b/src/opr/include/megbrain/opr/indexing.h index 58d0b281..c230a875 100644 --- a/src/opr/include/megbrain/opr/indexing.h +++ b/src/opr/include/megbrain/opr/indexing.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/indexing.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/opr/include/megbrain/opr/internal/identical_fwd.h b/src/opr/include/megbrain/opr/internal/identical_fwd.h index b20d27d9..139a5d42 100644 --- a/src/opr/include/megbrain/opr/internal/identical_fwd.h +++ b/src/opr/include/megbrain/opr/internal/identical_fwd.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/identical_fwd.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/internal/indexing_helper.h b/src/opr/include/megbrain/opr/internal/indexing_helper.h index 9e1c3a15..815d4c6f 100644 --- a/src/opr/include/megbrain/opr/internal/indexing_helper.h +++ b/src/opr/include/megbrain/opr/internal/indexing_helper.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/indexing_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/internal/indexing_helper_sereg.h b/src/opr/include/megbrain/opr/internal/indexing_helper_sereg.h index 7e867e6c..4afbe67b 100644 --- a/src/opr/include/megbrain/opr/internal/indexing_helper_sereg.h +++ b/src/opr/include/megbrain/opr/internal/indexing_helper_sereg.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/indexing_helper_sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/opr/internal/indexing_helper.h" diff --git a/src/opr/include/megbrain/opr/internal/megdnn_opr_wrapper.h b/src/opr/include/megbrain/opr/internal/megdnn_opr_wrapper.h index fedc3dc5..611b5624 100644 --- a/src/opr/include/megbrain/opr/internal/megdnn_opr_wrapper.h +++ b/src/opr/include/megbrain/opr/internal/megdnn_opr_wrapper.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/megdnn_opr_wrapper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/internal/mixin_base.h b/src/opr/include/megbrain/opr/internal/mixin_base.h index 8c972d56..1fb0b8bf 100644 --- a/src/opr/include/megbrain/opr/internal/mixin_base.h +++ b/src/opr/include/megbrain/opr/internal/mixin_base.h @@ -1,13 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/mixin_base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/internal/out_shape_by_sym_var.h b/src/opr/include/megbrain/opr/internal/out_shape_by_sym_var.h index 0cb41a72..65322d37 100644 --- a/src/opr/include/megbrain/opr/internal/out_shape_by_sym_var.h +++ b/src/opr/include/megbrain/opr/internal/out_shape_by_sym_var.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/out_shape_by_sym_var.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/internal/param_tag_defs.h b/src/opr/include/megbrain/opr/internal/param_tag_defs.h index 2b79e788..7a882be9 100644 --- a/src/opr/include/megbrain/opr/internal/param_tag_defs.h +++ b/src/opr/include/megbrain/opr/internal/param_tag_defs.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/internal/param_tag_defs.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/opr/include/megbrain/opr/io.h b/src/opr/include/megbrain/opr/io.h index 562fe767..4667210d 100644 --- a/src/opr/include/megbrain/opr/io.h +++ b/src/opr/include/megbrain/opr/io.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/io.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/loop.h b/src/opr/include/megbrain/opr/loop.h index f8b2f244..9eeac95f 100644 --- a/src/opr/include/megbrain/opr/loop.h +++ b/src/opr/include/megbrain/opr/loop.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/loop.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/misc.h b/src/opr/include/megbrain/opr/misc.h index f8fd7c37..b214b583 100644 --- a/src/opr/include/megbrain/opr/misc.h +++ b/src/opr/include/megbrain/opr/misc.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/misc.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/muxing.h b/src/opr/include/megbrain/opr/muxing.h index b159dabc..949bffa1 100644 --- a/src/opr/include/megbrain/opr/muxing.h +++ b/src/opr/include/megbrain/opr/muxing.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/muxing.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/nn_int.h b/src/opr/include/megbrain/opr/nn_int.h index c8f8f2cc..305e323f 100644 --- a/src/opr/include/megbrain/opr/nn_int.h +++ b/src/opr/include/megbrain/opr/nn_int.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/nn_int.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/rand.h b/src/opr/include/megbrain/opr/rand.h index e7199ccf..fd482d60 100644 --- a/src/opr/include/megbrain/opr/rand.h +++ b/src/opr/include/megbrain/opr/rand.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/rand.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/search_policy/algo_chooser.h b/src/opr/include/megbrain/opr/search_policy/algo_chooser.h index bc2f91bd..cfa04861 100644 --- a/src/opr/include/megbrain/opr/search_policy/algo_chooser.h +++ b/src/opr/include/megbrain/opr/search_policy/algo_chooser.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/search_policy/algo_chooser.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include diff --git a/src/opr/include/megbrain/opr/search_policy/algo_chooser_helper.h b/src/opr/include/megbrain/opr/search_policy/algo_chooser_helper.h index 40344d8d..94441eea 100644 --- a/src/opr/include/megbrain/opr/search_policy/algo_chooser_helper.h +++ b/src/opr/include/megbrain/opr/search_policy/algo_chooser_helper.h @@ -1,15 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/search_policy/algo_chooser_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include "megbrain/graph/operator_node.h" diff --git a/src/opr/include/megbrain/opr/tensor_gen.h b/src/opr/include/megbrain/opr/tensor_gen.h index 53d566be..5f402cf9 100644 --- a/src/opr/include/megbrain/opr/tensor_gen.h +++ b/src/opr/include/megbrain/opr/tensor_gen.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/tensor_gen.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/internal/megdnn_opr_wrapper.h" diff --git a/src/opr/include/megbrain/opr/tensor_manip.h b/src/opr/include/megbrain/opr/tensor_manip.h index d558ee3e..c8817f44 100644 --- a/src/opr/include/megbrain/opr/tensor_manip.h +++ b/src/opr/include/megbrain/opr/tensor_manip.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/tensor_manip.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/include/megbrain/opr/utility.h b/src/opr/include/megbrain/opr/utility.h index 7faabf1e..36c322dc 100644 --- a/src/opr/include/megbrain/opr/utility.h +++ b/src/opr/include/megbrain/opr/utility.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/include/megbrain/opr/utility.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/test/algo_chooser.cpp b/src/opr/test/algo_chooser.cpp index 57a72d0e..48cc6777 100644 --- a/src/opr/test/algo_chooser.cpp +++ b/src/opr/test/algo_chooser.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/algo_chooser.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/gopt/inference.h" diff --git a/src/opr/test/atlas_runtime_op.cpp b/src/opr/test/atlas_runtime_op.cpp index f95359ec..0bfed809 100644 --- a/src/opr/test/atlas_runtime_op.cpp +++ b/src/opr/test/atlas_runtime_op.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/atlas_runtime_op.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/tensor_manip.h" #include "megdnn/dtype.h" #if MGB_ATLAS diff --git a/src/opr/test/basic_arith/elemwise.cpp b/src/opr/test/basic_arith/elemwise.cpp index b602c1d5..e0ccf54f 100644 --- a/src/opr/test/basic_arith/elemwise.cpp +++ b/src/opr/test/basic_arith/elemwise.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/elemwise.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./erfinv.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/opr/test/basic_arith/elemwise_binary_trait_def.inl b/src/opr/test/basic_arith/elemwise_binary_trait_def.inl index e02bc50e..0663986a 100644 --- a/src/opr/test/basic_arith/elemwise_binary_trait_def.inl +++ b/src/opr/test/basic_arith/elemwise_binary_trait_def.inl @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/elemwise_binary_trait_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef DEF_TRAIT #error "DEF_TRAIT must be defined" #endif diff --git a/src/opr/test/basic_arith/elemwise_ternary_trait_def.inl b/src/opr/test/basic_arith/elemwise_ternary_trait_def.inl index 65f917b1..fb419186 100644 --- a/src/opr/test/basic_arith/elemwise_ternary_trait_def.inl +++ b/src/opr/test/basic_arith/elemwise_ternary_trait_def.inl @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/elemwise_ternary_trait_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef DEF_TRAIT #error "DEF_TRAIT must be defined" #endif diff --git a/src/opr/test/basic_arith/elemwise_unary_trait_def.inl b/src/opr/test/basic_arith/elemwise_unary_trait_def.inl index 4f0579e5..a6e64ecd 100644 --- a/src/opr/test/basic_arith/elemwise_unary_trait_def.inl +++ b/src/opr/test/basic_arith/elemwise_unary_trait_def.inl @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/elemwise_unary_trait_def.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef DEF_TRAIT #error "DEF_TRAIT must be defined" #endif diff --git a/src/opr/test/basic_arith/others.cpp b/src/opr/test/basic_arith/others.cpp index ce2eb994..bf9baca2 100644 --- a/src/opr/test/basic_arith/others.cpp +++ b/src/opr/test/basic_arith/others.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/others.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" #include "megbrain/test/host_static_calc.h" diff --git a/src/opr/test/basic_arith/reduction.cpp b/src/opr/test/basic_arith/reduction.cpp index 15baae25..91630e01 100644 --- a/src/opr/test/basic_arith/reduction.cpp +++ b/src/opr/test/basic_arith/reduction.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/basic_arith/reduction.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/autocheck.h" #include "megbrain/test/megdnn_helper.h" diff --git a/src/opr/test/blas.cpp b/src/opr/test/blas.cpp index 84a3855e..9a61bea7 100644 --- a/src/opr/test/blas.cpp +++ b/src/opr/test/blas.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/blas.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/blas.h" #include #include "megbrain/comp_node_env.h" diff --git a/src/opr/test/cond.cpp b/src/opr/test/cond.cpp index 966bc4fe..848456f2 100644 --- a/src/opr/test/cond.cpp +++ b/src/opr/test/cond.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/cond.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/opr/test/dnn/adaptive_pooling.cpp b/src/opr/test/dnn/adaptive_pooling.cpp index 75088d19..58dd3bfd 100644 --- a/src/opr/test/dnn/adaptive_pooling.cpp +++ b/src/opr/test/dnn/adaptive_pooling.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/adaptive_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/adaptive_pooling.h" #include "megbrain/comp_node_env.h" #include "megbrain/opr/dnn/pooling.h" diff --git a/src/opr/test/dnn/batch_norm.cpp b/src/opr/test/dnn/batch_norm.cpp index d7841cf1..290adceb 100644 --- a/src/opr/test/dnn/batch_norm.cpp +++ b/src/opr/test/dnn/batch_norm.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/batch_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/batch_norm.h" #include "./legacy_checker.h" #include "megbrain/graph/bases.h" diff --git a/src/opr/test/dnn/convolution.cpp b/src/opr/test/dnn/convolution.cpp index f4ddd4dc..8d588205 100644 --- a/src/opr/test/dnn/convolution.cpp +++ b/src/opr/test/dnn/convolution.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/convolution.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./legacy_checker.h" #include "megbrain/comp_node_env.h" diff --git a/src/opr/test/dnn/correlation.cpp b/src/opr/test/dnn/correlation.cpp index fb5b2ec2..028847f2 100644 --- a/src/opr/test/dnn/correlation.cpp +++ b/src/opr/test/dnn/correlation.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/correlation.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/correlation.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/deformable_ps_roi_pooling.cpp b/src/opr/test/dnn/deformable_ps_roi_pooling.cpp index 4a866eaf..d43db325 100644 --- a/src/opr/test/dnn/deformable_ps_roi_pooling.cpp +++ b/src/opr/test/dnn/deformable_ps_roi_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/deformable_ps_roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/roi_pooling.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/images2neibs.cpp b/src/opr/test/dnn/images2neibs.cpp index 73203e77..6a1e5773 100644 --- a/src/opr/test/dnn/images2neibs.cpp +++ b/src/opr/test/dnn/images2neibs.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/images2neibs.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/images2neibs.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/layer_norm.cpp b/src/opr/test/dnn/layer_norm.cpp index 15db672c..c207498f 100644 --- a/src/opr/test/dnn/layer_norm.cpp +++ b/src/opr/test/dnn/layer_norm.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/layer_norm.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/layer_norm.h" #include "megbrain/comp_node_env.h" #include "megbrain/test/autocheck.h" diff --git a/src/opr/test/dnn/legacy_checker.h b/src/opr/test/dnn/legacy_checker.h index 666dd8e7..b0fdf7f9 100644 --- a/src/opr/test/dnn/legacy_checker.h +++ b/src/opr/test/dnn/legacy_checker.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/legacy_checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/opr/blas.h" diff --git a/src/opr/test/dnn/local.cpp b/src/opr/test/dnn/local.cpp index 04b4fa2f..4ad62174 100644 --- a/src/opr/test/dnn/local.cpp +++ b/src/opr/test/dnn/local.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/local.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./legacy_checker.h" #include "megbrain/opr/dnn/local.h" diff --git a/src/opr/test/dnn/lrn.cpp b/src/opr/test/dnn/lrn.cpp index 86b8b21e..34593097 100644 --- a/src/opr/test/dnn/lrn.cpp +++ b/src/opr/test/dnn/lrn.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/lrn.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/lrn.h" #include "./legacy_checker.h" diff --git a/src/opr/test/dnn/lsq.cpp b/src/opr/test/dnn/lsq.cpp index 2ac1055e..182bd930 100644 --- a/src/opr/test/dnn/lsq.cpp +++ b/src/opr/test/dnn/lsq.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/lsq.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/lsq.h" #include "megbrain/comp_node_env.h" #include "megbrain/test/autocheck.h" diff --git a/src/opr/test/dnn/pooling.cpp b/src/opr/test/dnn/pooling.cpp index 27b292af..ac060cc3 100644 --- a/src/opr/test/dnn/pooling.cpp +++ b/src/opr/test/dnn/pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/pooling.h" #include "./legacy_checker.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/test/dnn/roi_align.cpp b/src/opr/test/dnn/roi_align.cpp index eeb18979..e77cd9a5 100644 --- a/src/opr/test/dnn/roi_align.cpp +++ b/src/opr/test/dnn/roi_align.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/roi_align.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/roi_align.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/roi_pooling.cpp b/src/opr/test/dnn/roi_pooling.cpp index d99db6d2..6407250f 100644 --- a/src/opr/test/dnn/roi_pooling.cpp +++ b/src/opr/test/dnn/roi_pooling.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/roi_pooling.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/roi_pooling.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/sliding_window_transpose.cpp b/src/opr/test/dnn/sliding_window_transpose.cpp index 22cc0f3b..803b9eee 100644 --- a/src/opr/test/dnn/sliding_window_transpose.cpp +++ b/src/opr/test/dnn/sliding_window_transpose.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/dnn/sliding_window_transpose.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/dnn/sliding_window_transpose.h" #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/dnn/softmax.cpp b/src/opr/test/dnn/softmax.cpp index ce888f4a..7ac00598 100644 --- a/src/opr/test/dnn/softmax.cpp +++ b/src/opr/test/dnn/softmax.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/softmax.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/softmax.h" #include "megbrain/comp_node_env.h" #include "megbrain/test/autocheck.h" diff --git a/src/opr/test/dnn/tqt.cpp b/src/opr/test/dnn/tqt.cpp index 8c90448a..dac90dc8 100644 --- a/src/opr/test/dnn/tqt.cpp +++ b/src/opr/test/dnn/tqt.cpp @@ -1,15 +1,3 @@ -/** - * \file src/opr/test/dnn/tqt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/opr/dnn/tqt.h" #include "megbrain/comp_node_env.h" #include "megbrain/test/autocheck.h" diff --git a/src/opr/test/imgproc.cpp b/src/opr/test/imgproc.cpp index 0d030bbf..c58dcdb8 100644 --- a/src/opr/test/imgproc.cpp +++ b/src/opr/test/imgproc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/imgproc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/imgproc.h" #include "dnn/legacy_checker.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/test/indexing.cpp b/src/opr/test/indexing.cpp index 2f643373..0c8520b2 100644 --- a/src/opr/test/indexing.cpp +++ b/src/opr/test/indexing.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/indexing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/indexing.h" #include "megbrain/graph/exc_extra_info.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/opr/test/internal.cpp b/src/opr/test/internal.cpp index 1627afae..9c186836 100644 --- a/src/opr/test/internal.cpp +++ b/src/opr/test/internal.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/internal.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/io.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/io.cpp b/src/opr/test/io.cpp index c679b7fe..68a03b8d 100644 --- a/src/opr/test/io.cpp +++ b/src/opr/test/io.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/io.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/io.h" #include "megbrain/comp_node_env.h" #include "megbrain/gopt/inference.h" diff --git a/src/opr/test/loop/basic.cpp b/src/opr/test/loop/basic.cpp index 0f471ada..31977deb 100644 --- a/src/opr/test/loop/basic.cpp +++ b/src/opr/test/loop/basic.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/basic.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" #include "megbrain/test/host_static_calc.h" diff --git a/src/opr/test/loop/elemwise_grad.cpp b/src/opr/test/loop/elemwise_grad.cpp index 4a437f35..de81e375 100644 --- a/src/opr/test/loop/elemwise_grad.cpp +++ b/src/opr/test/loop/elemwise_grad.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/elemwise_grad.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/opr/blas.h" diff --git a/src/opr/test/loop/grad_trans.cpp b/src/opr/test/loop/grad_trans.cpp index a433f7f4..5488d2c6 100644 --- a/src/opr/test/loop/grad_trans.cpp +++ b/src/opr/test/loop/grad_trans.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/grad_trans.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/loop/record_internal.cpp b/src/opr/test/loop/record_internal.cpp index 807b266a..b34a5dd4 100644 --- a/src/opr/test/loop/record_internal.cpp +++ b/src/opr/test/loop/record_internal.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/record_internal.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/autocheck.h" #include "megbrain/test/helper.h" #include "megbrain/test/host_static_calc.h" diff --git a/src/opr/test/loop/taylor.cpp b/src/opr/test/loop/taylor.cpp index 7032260b..280c3e2b 100644 --- a/src/opr/test/loop/taylor.cpp +++ b/src/opr/test/loop/taylor.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/taylor.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./taylor.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/opr/test/loop/taylor.h b/src/opr/test/loop/taylor.h index a43faf00..97bc1a57 100644 --- a/src/opr/test/loop/taylor.h +++ b/src/opr/test/loop/taylor.h @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/loop/taylor.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/opr/test/megdnn_wrapper.cpp b/src/opr/test/megdnn_wrapper.cpp index b03ac031..742e39b3 100644 --- a/src/opr/test/megdnn_wrapper.cpp +++ b/src/opr/test/megdnn_wrapper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/megdnn_wrapper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/opr/test/misc.cpp b/src/opr/test/misc.cpp index 346dcff4..e5964108 100644 --- a/src/opr/test/misc.cpp +++ b/src/opr/test/misc.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/misc.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/misc.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/opr/test/muxing.cpp b/src/opr/test/muxing.cpp index 009e7494..91397c40 100644 --- a/src/opr/test/muxing.cpp +++ b/src/opr/test/muxing.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/muxing.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/muxing.h" #include #include "megbrain/opr/blas.h" diff --git a/src/opr/test/nn_int.cpp b/src/opr/test/nn_int.cpp index 4d22e29c..0175dcf7 100644 --- a/src/opr/test/nn_int.cpp +++ b/src/opr/test/nn_int.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/nn_int.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/nn_int.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/opr/test/rand.cpp b/src/opr/test/rand.cpp index a7171a19..2af336df 100644 --- a/src/opr/test/rand.cpp +++ b/src/opr/test/rand.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/rand.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/rand.h" #include "megbrain/opr/io.h" #include "megbrain/test/helper.h" diff --git a/src/opr/test/tensor_gen.cpp b/src/opr/test/tensor_gen.cpp index 8a8a75b8..b5fd11ca 100644 --- a/src/opr/test/tensor_gen.cpp +++ b/src/opr/test/tensor_gen.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/tensor_gen.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_gen.h" #include "megbrain/opr/io.h" #include "megbrain/test/autocheck.h" diff --git a/src/opr/test/tensor_manip.cpp b/src/opr/test/tensor_manip.cpp index 7748740e..a80c4b34 100644 --- a/src/opr/test/tensor_manip.cpp +++ b/src/opr/test/tensor_manip.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/tensor_manip.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/tensor_manip.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/opr/test/utility.cpp b/src/opr/test/utility.cpp index d474b086..61d1a2f0 100644 --- a/src/opr/test/utility.cpp +++ b/src/opr/test/utility.cpp @@ -1,14 +1,3 @@ -/** - * \file src/opr/test/utility.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/utility.h" #include "megbrain/gopt/framework.h" #include "megbrain/opr/io.h" diff --git a/src/plugin/impl/cpu_dispatch_checker.cpp b/src/plugin/impl/cpu_dispatch_checker.cpp index 4410d207..7f520872 100644 --- a/src/plugin/impl/cpu_dispatch_checker.cpp +++ b/src/plugin/impl/cpu_dispatch_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/cpu_dispatch_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/cpu_dispatch_checker.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph.h" diff --git a/src/plugin/impl/infkern_finder.cpp b/src/plugin/impl/infkern_finder.cpp index beb12eda..5f97ed34 100644 --- a/src/plugin/impl/infkern_finder.cpp +++ b/src/plugin/impl/infkern_finder.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/infkern_finder.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/infkern_finder.h" using namespace mgb; diff --git a/src/plugin/impl/num_range_checker.cpp b/src/plugin/impl/num_range_checker.cpp index fc56f610..408ec0e9 100644 --- a/src/plugin/impl/num_range_checker.cpp +++ b/src/plugin/impl/num_range_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/num_range_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/num_range_checker.h" #include "megbrain/graph/exc_extra_info.h" #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/plugin/impl/opr_footprint.cpp b/src/plugin/impl/opr_footprint.cpp index 8670dd0d..a483b63e 100644 --- a/src/plugin/impl/opr_footprint.cpp +++ b/src/plugin/impl/opr_footprint.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/opr_footprint.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/opr_footprint.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/blas.h" diff --git a/src/plugin/impl/opr_io_dump.cpp b/src/plugin/impl/opr_io_dump.cpp index e9c5a182..99446d20 100644 --- a/src/plugin/impl/opr_io_dump.cpp +++ b/src/plugin/impl/opr_io_dump.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/opr_io_dump.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/opr_io_dump.h" #include "megbrain/graph/event.h" #include "megbrain/utils/debug.h" diff --git a/src/plugin/impl/profiler.cpp b/src/plugin/impl/profiler.cpp index e028a341..41808338 100644 --- a/src/plugin/impl/profiler.cpp +++ b/src/plugin/impl/profiler.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/profiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/profiler.h" #include "megbrain/plugin/opr_footprint.h" diff --git a/src/plugin/impl/static_mem_record.cpp b/src/plugin/impl/static_mem_record.cpp index 1f400386..b0dfa9b8 100644 --- a/src/plugin/impl/static_mem_record.cpp +++ b/src/plugin/impl/static_mem_record.cpp @@ -1,15 +1,3 @@ -/** - * \file src/plugin/impl/static_mem_record.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/plugin/static_mem_record.h" #include "megbrain/utils/visable_data_set.h" #ifndef __IN_TEE_ENV__ diff --git a/src/plugin/impl/var_sanity_check.cpp b/src/plugin/impl/var_sanity_check.cpp index f4c3c685..025f30c2 100644 --- a/src/plugin/impl/var_sanity_check.cpp +++ b/src/plugin/impl/var_sanity_check.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/var_sanity_check.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if !__DEPLOY_ON_XP_SP2__ #include "megbrain/plugin/var_sanity_check.h" #include "megbrain/comp_node_env.h" diff --git a/src/plugin/impl/var_value_checker.cpp b/src/plugin/impl/var_value_checker.cpp index d1e925ce..f07381ce 100644 --- a/src/plugin/impl/var_value_checker.cpp +++ b/src/plugin/impl/var_value_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/impl/var_value_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/var_value_checker.h" #include "megbrain/opr/io.h" diff --git a/src/plugin/include/megbrain/plugin/base.h b/src/plugin/include/megbrain/plugin/base.h index 53902d5e..6203de68 100644 --- a/src/plugin/include/megbrain/plugin/base.h +++ b/src/plugin/include/megbrain/plugin/base.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/base.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph/cg.h" diff --git a/src/plugin/include/megbrain/plugin/cpu_dispatch_checker.h b/src/plugin/include/megbrain/plugin/cpu_dispatch_checker.h index 0ef78921..33a7b201 100644 --- a/src/plugin/include/megbrain/plugin/cpu_dispatch_checker.h +++ b/src/plugin/include/megbrain/plugin/cpu_dispatch_checker.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/cpu_dispatch_checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/plugin/base.h" diff --git a/src/plugin/include/megbrain/plugin/infkern_finder.h b/src/plugin/include/megbrain/plugin/infkern_finder.h index f59ffd40..c11eb496 100644 --- a/src/plugin/include/megbrain/plugin/infkern_finder.h +++ b/src/plugin/include/megbrain/plugin/infkern_finder.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/infkern_finder.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/plugin/include/megbrain/plugin/num_range_checker.h b/src/plugin/include/megbrain/plugin/num_range_checker.h index a388fec7..71e969b8 100644 --- a/src/plugin/include/megbrain/plugin/num_range_checker.h +++ b/src/plugin/include/megbrain/plugin/num_range_checker.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/num_range_checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/plugin/include/megbrain/plugin/opr_footprint.h b/src/plugin/include/megbrain/plugin/opr_footprint.h index ad4803d0..48ba4ed4 100644 --- a/src/plugin/include/megbrain/plugin/opr_footprint.h +++ b/src/plugin/include/megbrain/plugin/opr_footprint.h @@ -1,13 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/opr_footprint.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include "megbrain/graph.h" diff --git a/src/plugin/include/megbrain/plugin/opr_io_dump.h b/src/plugin/include/megbrain/plugin/opr_io_dump.h index b5af744b..1d14103d 100644 --- a/src/plugin/include/megbrain/plugin/opr_io_dump.h +++ b/src/plugin/include/megbrain/plugin/opr_io_dump.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/opr_io_dump.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include diff --git a/src/plugin/include/megbrain/plugin/profiler.h b/src/plugin/include/megbrain/plugin/profiler.h index d63eda1b..06954089 100644 --- a/src/plugin/include/megbrain/plugin/profiler.h +++ b/src/plugin/include/megbrain/plugin/profiler.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/profiler.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/plugin/include/megbrain/plugin/static_mem_record.h b/src/plugin/include/megbrain/plugin/static_mem_record.h index 6eee633f..aaf05eaa 100644 --- a/src/plugin/include/megbrain/plugin/static_mem_record.h +++ b/src/plugin/include/megbrain/plugin/static_mem_record.h @@ -1,15 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/static_mem_record.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #pragma once #include #include "megbrain/utils/metahelper.h" diff --git a/src/plugin/include/megbrain/plugin/var_sanity_check.h b/src/plugin/include/megbrain/plugin/var_sanity_check.h index 1710c898..157ed853 100644 --- a/src/plugin/include/megbrain/plugin/var_sanity_check.h +++ b/src/plugin/include/megbrain/plugin/var_sanity_check.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/var_sanity_check.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #if !__DEPLOY_ON_XP_SP2__ diff --git a/src/plugin/include/megbrain/plugin/var_value_checker.h b/src/plugin/include/megbrain/plugin/var_value_checker.h index a270f891..b751030c 100644 --- a/src/plugin/include/megbrain/plugin/var_value_checker.h +++ b/src/plugin/include/megbrain/plugin/var_value_checker.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/include/megbrain/plugin/var_value_checker.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/plugin/test/cpu_dispatch_checker.cpp b/src/plugin/test/cpu_dispatch_checker.cpp index 407d6f4c..4c7d7816 100644 --- a/src/plugin/test/cpu_dispatch_checker.cpp +++ b/src/plugin/test/cpu_dispatch_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/cpu_dispatch_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/cpu_dispatch_checker.h" #include "megbrain/opr/io.h" #include "megbrain/opr/loop.h" diff --git a/src/plugin/test/infkern_finder.cpp b/src/plugin/test/infkern_finder.cpp index 3da79095..a4b671e7 100644 --- a/src/plugin/test/infkern_finder.cpp +++ b/src/plugin/test/infkern_finder.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/infkern_finder.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/infkern_finder.h" #include #include "megbrain/opr/io.h" diff --git a/src/plugin/test/num_range_checker.cpp b/src/plugin/test/num_range_checker.cpp index b16bfd49..52a7ba34 100644 --- a/src/plugin/test/num_range_checker.cpp +++ b/src/plugin/test/num_range_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/num_range_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/num_range_checker.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/io.h" diff --git a/src/plugin/test/opr_footprint.cpp b/src/plugin/test/opr_footprint.cpp index 77d420e8..8c07c8b4 100644 --- a/src/plugin/test/opr_footprint.cpp +++ b/src/plugin/test/opr_footprint.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/opr_footprint.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/basic_arith.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/plugin/test/opr_io_dump.cpp b/src/plugin/test/opr_io_dump.cpp index 7ca987ef..36ed1624 100644 --- a/src/plugin/test/opr_io_dump.cpp +++ b/src/plugin/test/opr_io_dump.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/opr_io_dump.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./opr_io_dump_text_out.h" #include "megbrain/test/helper.h" diff --git a/src/plugin/test/opr_io_dump_text_out.h b/src/plugin/test/opr_io_dump_text_out.h index cb207366..8af53c1c 100644 --- a/src/plugin/test/opr_io_dump_text_out.h +++ b/src/plugin/test/opr_io_dump_text_out.h @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/opr_io_dump_text_out.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once namespace { diff --git a/src/plugin/test/profiler.cpp b/src/plugin/test/profiler.cpp index 6934905c..ce4fc7f5 100644 --- a/src/plugin/test/profiler.cpp +++ b/src/plugin/test/profiler.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/profiler.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/profiler.h" #include #include "megbrain/opr/basic_arith.h" diff --git a/src/plugin/test/var_sanity_check.cpp b/src/plugin/test/var_sanity_check.cpp index 7fce5312..b90356ec 100644 --- a/src/plugin/test/var_sanity_check.cpp +++ b/src/plugin/test/var_sanity_check.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/var_sanity_check.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/test/helper.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/plugin/test/var_value_checker.cpp b/src/plugin/test/var_value_checker.cpp index 3a9070cb..f10dd112 100644 --- a/src/plugin/test/var_value_checker.cpp +++ b/src/plugin/test/var_value_checker.cpp @@ -1,14 +1,3 @@ -/** - * \file src/plugin/test/var_value_checker.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/plugin/var_value_checker.h" #include "megbrain/opr/io.h" #include "megbrain/opr/utility.h" diff --git a/src/rdnn/impl/profiler.cpp b/src/rdnn/impl/profiler.cpp index 670de872..b0b1c274 100644 --- a/src/rdnn/impl/profiler.cpp +++ b/src/rdnn/impl/profiler.cpp @@ -1,6 +1,5 @@ #include "megbrain/rdnn/profiler.h" #include "megbrain/utils/invoke.h" - #include "megdnn/handle.h" #include "megdnn/oprs/base.h" diff --git a/src/serialization/impl/batched_device_value_loader.cpp b/src/serialization/impl/batched_device_value_loader.cpp index 4f266425..255c4e0f 100644 --- a/src/serialization/impl/batched_device_value_loader.cpp +++ b/src/serialization/impl/batched_device_value_loader.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/batched_device_value_loader.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "batched_device_value_loader.h" #include "megbrain/utils/arith_helper.h" diff --git a/src/serialization/impl/batched_device_value_loader.h b/src/serialization/impl/batched_device_value_loader.h index d9935758..f8e58c9d 100644 --- a/src/serialization/impl/batched_device_value_loader.h +++ b/src/serialization/impl/batched_device_value_loader.h @@ -1,13 +1,3 @@ -/** - * \file src/serialization/impl/batched_device_value_loader.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #pragma once #include diff --git a/src/serialization/impl/extern_c_opr.cpp b/src/serialization/impl/extern_c_opr.cpp index 03318f6b..2a2da69e 100644 --- a/src/serialization/impl/extern_c_opr.cpp +++ b/src/serialization/impl/extern_c_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/extern_c_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/extern_c_opr.h" #include "megbrain/comp_node_env.h" #include "megbrain/graph/extern_copr_api.h" diff --git a/src/serialization/impl/extern_c_opr.sereg.h b/src/serialization/impl/extern_c_opr.sereg.h index 3704cb25..eb685094 100644 --- a/src/serialization/impl/extern_c_opr.sereg.h +++ b/src/serialization/impl/extern_c_opr.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/extern_c_opr.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/extern_c_opr_io.h" #include "megbrain/serialization/sereg.h" diff --git a/src/serialization/impl/file.cpp b/src/serialization/impl/file.cpp index f75c92db..969d9dd1 100644 --- a/src/serialization/impl/file.cpp +++ b/src/serialization/impl/file.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/file.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/file.h" namespace mgb { diff --git a/src/serialization/impl/flatbuffer_converter.inl b/src/serialization/impl/flatbuffer_converter.inl index cb212d1e..83a3367f 100644 --- a/src/serialization/impl/flatbuffer_converter.inl +++ b/src/serialization/impl/flatbuffer_converter.inl @@ -1,13 +1,3 @@ -/** - * \file src/serialization/impl/flatbuffer_converter.inl - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #ifdef _SRC_SERIALIZATION_IMPL_FLATBUFFER_CONVERTER #error "flatbuffer_converter.inl should not be included more than once" #endif diff --git a/src/serialization/impl/flatbuffers_helper.cpp b/src/serialization/impl/flatbuffers_helper.cpp index 1bce1d02..4cecc42f 100644 --- a/src/serialization/impl/flatbuffers_helper.cpp +++ b/src/serialization/impl/flatbuffers_helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/flatbuffers_helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #if MGB_ENABLE_FBS_SERIALIZATION #include "megbrain/serialization/internal/flatbuffers_helper.h" diff --git a/src/serialization/impl/helper.cpp b/src/serialization/impl/helper.cpp index 788d32ce..07819eba 100644 --- a/src/serialization/impl/helper.cpp +++ b/src/serialization/impl/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/helper.h" #include "megbrain/utils/metahelper.h" diff --git a/src/serialization/impl/opr_registry.cpp b/src/serialization/impl/opr_registry.cpp index ff397c40..c13704d5 100644 --- a/src/serialization/impl/opr_registry.cpp +++ b/src/serialization/impl/opr_registry.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/opr_registry.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/opr_registry.h" #include "megbrain/serialization/opr_load_dump.h" diff --git a/src/serialization/impl/sereg_caller.cpp b/src/serialization/impl/sereg_caller.cpp index f6331733..d3023b6b 100644 --- a/src/serialization/impl/sereg_caller.cpp +++ b/src/serialization/impl/sereg_caller.cpp @@ -1,13 +1,3 @@ -/** - * \file src/serialization/impl/sereg_caller.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ // generated by Makefile namespace mgb { void call_sereg() {} diff --git a/src/serialization/impl/serializer.cpp b/src/serialization/impl/serializer.cpp index 8e46060e..e220bd35 100644 --- a/src/serialization/impl/serializer.cpp +++ b/src/serialization/impl/serializer.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/serializer.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/serializer.h" #include "megbrain/gopt/inference.h" #include "megbrain/opr/utility.h" diff --git a/src/serialization/impl/serializer_oss.cpp b/src/serialization/impl/serializer_oss.cpp index 9b0cae34..d7fed1df 100644 --- a/src/serialization/impl/serializer_oss.cpp +++ b/src/serialization/impl/serializer_oss.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/impl/serializer_oss.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - /* * Dump file layout: * [uint32_t fourcc] diff --git a/src/serialization/include/megbrain/serialization/dump_format.h b/src/serialization/include/megbrain/serialization/dump_format.h index 1fe2c80e..381571c7 100644 --- a/src/serialization/include/megbrain/serialization/dump_format.h +++ b/src/serialization/include/megbrain/serialization/dump_format.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/dump_format.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once namespace mgb { diff --git a/src/serialization/include/megbrain/serialization/extern_c_opr.h b/src/serialization/include/megbrain/serialization/extern_c_opr.h index a3f8f0cf..7d46af5f 100644 --- a/src/serialization/include/megbrain/serialization/extern_c_opr.h +++ b/src/serialization/include/megbrain/serialization/extern_c_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/extern_c_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef MEGBRAIN_EXTERN_C_OPR_H #define MEGBRAIN_EXTERN_C_OPR_H diff --git a/src/serialization/include/megbrain/serialization/extern_c_opr_io.h b/src/serialization/include/megbrain/serialization/extern_c_opr_io.h index 9ea99be1..9d4d4e2f 100644 --- a/src/serialization/include/megbrain/serialization/extern_c_opr_io.h +++ b/src/serialization/include/megbrain/serialization/extern_c_opr_io.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/extern_c_opr_io.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/serialization/include/megbrain/serialization/file.h b/src/serialization/include/megbrain/serialization/file.h index 73603c5c..d1d9d66e 100644 --- a/src/serialization/include/megbrain/serialization/file.h +++ b/src/serialization/include/megbrain/serialization/file.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/file.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/serialization/include/megbrain/serialization/helper.h b/src/serialization/include/megbrain/serialization/helper.h index 8ff66a6e..f45a98c1 100644 --- a/src/serialization/include/megbrain/serialization/helper.h +++ b/src/serialization/include/megbrain/serialization/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/dtype.h" diff --git a/src/serialization/include/megbrain/serialization/internal/flatbuffers_helper.h b/src/serialization/include/megbrain/serialization/internal/flatbuffers_helper.h index 0b83aca8..828c0f2e 100644 --- a/src/serialization/include/megbrain/serialization/internal/flatbuffers_helper.h +++ b/src/serialization/include/megbrain/serialization/internal/flatbuffers_helper.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/internal/flatbuffers_helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/serialization/internal/dtype_generated.h" diff --git a/src/serialization/include/megbrain/serialization/opr_registry.h b/src/serialization/include/megbrain/serialization/opr_registry.h index 33931890..2cd6f7e0 100644 --- a/src/serialization/include/megbrain/serialization/opr_registry.h +++ b/src/serialization/include/megbrain/serialization/opr_registry.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/opr_registry.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/serialization/include/megbrain/serialization/sereg.h b/src/serialization/include/megbrain/serialization/sereg.h index 9aa50cc6..6fe1cf3b 100644 --- a/src/serialization/include/megbrain/serialization/sereg.h +++ b/src/serialization/include/megbrain/serialization/sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/serialization/opr_load_dump.h" diff --git a/src/serialization/include/megbrain/serialization/serializer.h b/src/serialization/include/megbrain/serialization/serializer.h index 1868918d..581b6e4e 100644 --- a/src/serialization/include/megbrain/serialization/serializer.h +++ b/src/serialization/include/megbrain/serialization/serializer.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/include/megbrain/serialization/serializer.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/graph.h" diff --git a/src/serialization/test/extern_c_opr.cpp b/src/serialization/test/extern_c_opr.cpp index 40765b44..a5be9582 100644 --- a/src/serialization/test/extern_c_opr.cpp +++ b/src/serialization/test/extern_c_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/test/extern_c_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megbrain/graph/extern_copr_api.h" #include "megbrain/opr/io.h" diff --git a/src/serialization/test/extern_c_opr_v23.cpp b/src/serialization/test/extern_c_opr_v23.cpp index 599292c3..3642c3f4 100644 --- a/src/serialization/test/extern_c_opr_v23.cpp +++ b/src/serialization/test/extern_c_opr_v23.cpp @@ -1,14 +1,3 @@ -/** - * \file src/serialization/test/extern_c_opr_v23.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./extern_c_opr_v23.h" #include "megbrain/opr/io.h" diff --git a/src/serialization/test/extern_c_opr_v23.h b/src/serialization/test/extern_c_opr_v23.h index d81b1b38..18388e9e 100644 --- a/src/serialization/test/extern_c_opr_v23.h +++ b/src/serialization/test/extern_c_opr_v23.h @@ -1,14 +1,3 @@ -/** - * \file src/serialization/test/extern_c_opr_v23.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #ifndef MEGBRAIN_EXTERN_C_OPR_H #define MEGBRAIN_EXTERN_C_OPR_H diff --git a/src/serialization/test/serializer_oss.cpp b/src/serialization/test/serializer_oss.cpp index cd2b7732..ebbfa5ff 100644 --- a/src/serialization/test/serializer_oss.cpp +++ b/src/serialization/test/serializer_oss.cpp @@ -1,13 +1,3 @@ -/** - * \file src/serialization/test/serializer_oss.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ #if MGB_ENABLE_FBS_SERIALIZATION #include "megbrain/opr/basic_arith_wrapper.h" diff --git a/src/tensorrt/impl/opr_replace.cpp b/src/tensorrt/impl/opr_replace.cpp index b108e5c4..0b73abe0 100644 --- a/src/tensorrt/impl/opr_replace.cpp +++ b/src/tensorrt/impl/opr_replace.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/impl/opr_replace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include #include "megbrain/dtype.h" #include "megbrain/opr/basic_arith.h" diff --git a/src/tensorrt/impl/tensorrt_engine_cache.cpp b/src/tensorrt/impl/tensorrt_engine_cache.cpp index 6be19bbe..62023300 100644 --- a/src/tensorrt/impl/tensorrt_engine_cache.cpp +++ b/src/tensorrt/impl/tensorrt_engine_cache.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/impl/tensorrt_engine_cache.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/tensorrt/tensorrt_engine_cache.h" #if MGB_ENABLE_TENSOR_RT diff --git a/src/tensorrt/impl/tensorrt_opr.cpp b/src/tensorrt/impl/tensorrt_opr.cpp index eecba29b..033b58a7 100644 --- a/src/tensorrt/impl/tensorrt_opr.cpp +++ b/src/tensorrt/impl/tensorrt_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/impl/tensorrt_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/tensorrt/tensorrt_opr.h" #include "megbrain/common.h" #include "megbrain/plugin/profiler.h" diff --git a/src/tensorrt/impl/tensorrt_opr.sereg.h b/src/tensorrt/impl/tensorrt_opr.sereg.h index d534dda5..8eca4ed6 100644 --- a/src/tensorrt/impl/tensorrt_opr.sereg.h +++ b/src/tensorrt/impl/tensorrt_opr.sereg.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/impl/tensorrt_opr.sereg.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/serialization/sereg.h" #include "megbrain/tensorrt/tensorrt_opr.h" #include "megbrain/tensorrt/tensorrt_runtime_opr.h" diff --git a/src/tensorrt/impl/tensorrt_runtime_opr.cpp b/src/tensorrt/impl/tensorrt_runtime_opr.cpp index ac6d7dfa..2385a79a 100644 --- a/src/tensorrt/impl/tensorrt_runtime_opr.cpp +++ b/src/tensorrt/impl/tensorrt_runtime_opr.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/impl/tensorrt_runtime_opr.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/tensorrt/tensorrt_runtime_opr.h" #include "megbrain/common.h" #include "megbrain/plugin/profiler.h" diff --git a/src/tensorrt/include/megbrain/tensorrt/opr_replace.h b/src/tensorrt/include/megbrain/tensorrt/opr_replace.h index 992d603c..c2881bfd 100644 --- a/src/tensorrt/include/megbrain/tensorrt/opr_replace.h +++ b/src/tensorrt/include/megbrain/tensorrt/opr_replace.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/include/megbrain/tensorrt/opr_replace.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/gopt/framework.h" diff --git a/src/tensorrt/include/megbrain/tensorrt/tensorrt_engine_cache.h b/src/tensorrt/include/megbrain/tensorrt/tensorrt_engine_cache.h index 854e8f18..9466daf9 100644 --- a/src/tensorrt/include/megbrain/tensorrt/tensorrt_engine_cache.h +++ b/src/tensorrt/include/megbrain/tensorrt/tensorrt_engine_cache.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/include/megbrain/tensorrt/tensorrt_engine_cache.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/tensorrt/tensorrt_opr.h" diff --git a/src/tensorrt/include/megbrain/tensorrt/tensorrt_opr.h b/src/tensorrt/include/megbrain/tensorrt/tensorrt_opr.h index bf0a742d..4b7863fc 100644 --- a/src/tensorrt/include/megbrain/tensorrt/tensorrt_opr.h +++ b/src/tensorrt/include/megbrain/tensorrt/tensorrt_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/include/megbrain/tensorrt/tensorrt_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node_env.h" diff --git a/src/tensorrt/include/megbrain/tensorrt/tensorrt_runtime_opr.h b/src/tensorrt/include/megbrain/tensorrt/tensorrt_runtime_opr.h index ae45f087..d9d02e64 100644 --- a/src/tensorrt/include/megbrain/tensorrt/tensorrt_runtime_opr.h +++ b/src/tensorrt/include/megbrain/tensorrt/tensorrt_runtime_opr.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/include/megbrain/tensorrt/tensorrt_runtime_opr.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/comp_node_env.h" diff --git a/src/tensorrt/test/helper.cpp b/src/tensorrt/test/helper.cpp index c8e6990a..2b70fd1e 100644 --- a/src/tensorrt/test/helper.cpp +++ b/src/tensorrt/test/helper.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/helper.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "./helper.h" #if MGB_ENABLE_TENSOR_RT diff --git a/src/tensorrt/test/helper.h b/src/tensorrt/test/helper.h index 49ac63fd..76eb7d6c 100644 --- a/src/tensorrt/test/helper.h +++ b/src/tensorrt/test/helper.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/helper.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #pragma once #include "megbrain/test/helper.h" diff --git a/src/tensorrt/test/make_trt_net.cpp b/src/tensorrt/test/make_trt_net.cpp index ad201777..485454b9 100644 --- a/src/tensorrt/test/make_trt_net.cpp +++ b/src/tensorrt/test/make_trt_net.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/make_trt_net.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/blas.h" #include "megbrain/opr/dnn/convolution.h" #include "megbrain/opr/io.h" diff --git a/src/tensorrt/test/make_trt_net.h b/src/tensorrt/test/make_trt_net.h index 441508ca..24b7101d 100644 --- a/src/tensorrt/test/make_trt_net.h +++ b/src/tensorrt/test/make_trt_net.h @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/make_trt_net.h - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/opr/blas.h" #include "megbrain/opr/dnn/convolution.h" #include "megbrain/opr/io.h" diff --git a/src/tensorrt/test/opr_replace.cpp b/src/tensorrt/test/opr_replace.cpp index 7c335e4e..53bb3c6a 100644 --- a/src/tensorrt/test/opr_replace.cpp +++ b/src/tensorrt/test/opr_replace.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/opr_replace.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith_wrapper.h" #include "megbrain/opr/blas.h" diff --git a/src/tensorrt/test/tensorrt.cpp b/src/tensorrt/test/tensorrt.cpp index cbe88c03..317fe356 100644 --- a/src/tensorrt/test/tensorrt.cpp +++ b/src/tensorrt/test/tensorrt.cpp @@ -1,14 +1,3 @@ -/** - * \file src/tensorrt/test/tensorrt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/plugin/profiler.h" diff --git a/src/tensorrt/test/tensorrt_runtime.cpp b/src/tensorrt/test/tensorrt_runtime.cpp index 10976db5..f3058002 100644 --- a/src/tensorrt/test/tensorrt_runtime.cpp +++ b/src/tensorrt/test/tensorrt_runtime.cpp @@ -1,15 +1,3 @@ -/** - * \file src/tensorrt/test/tensorrt_runtime.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/comp_node_env.h" #include "megbrain/opr/basic_arith.h" #include "megbrain/test/autocheck.h" diff --git a/tools/cmakeformat.py b/tools/cmakeformat.py index 7c06f6e6..d1068bb7 100755 --- a/tools/cmakeformat.py +++ b/tools/cmakeformat.py @@ -1,12 +1,5 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import os diff --git a/tools/cpu_evaluation_tools.py b/tools/cpu_evaluation_tools.py index bd5277d7..0d7534c5 100644 --- a/tools/cpu_evaluation_tools.py +++ b/tools/cpu_evaluation_tools.py @@ -1,11 +1,4 @@ #!/usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ purpose: Used to simply measure CPU performance by running several basic models. diff --git a/tools/evaluation_model_parallelism.py b/tools/evaluation_model_parallelism.py index 593154f4..1f547212 100644 --- a/tools/evaluation_model_parallelism.py +++ b/tools/evaluation_model_parallelism.py @@ -1,11 +1,4 @@ #!/usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ purpose: use to test whether a model have good parallelism, if a model have good diff --git a/tools/gen_header_for_bin_reduce.py b/tools/gen_header_for_bin_reduce.py index 952dc8a9..de788aaf 100755 --- a/tools/gen_header_for_bin_reduce.py +++ b/tools/gen_header_for_bin_reduce.py @@ -1,12 +1,5 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import argparse import json diff --git a/tools/mlir/mgb-opt/mgb-opt.cpp b/tools/mlir/mgb-opt/mgb-opt.cpp index 14b8dde7..9709037b 100644 --- a/tools/mlir/mgb-opt/mgb-opt.cpp +++ b/tools/mlir/mgb-opt/mgb-opt.cpp @@ -1,15 +1,3 @@ -/** - * \file tools/mlir/mgb-opt/mgb-opt.cpp - * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") - * - * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - */ - #include "megbrain/jit/mlir/ir/dialect.h" #include "megbrain/jit/mlir/ir/passes.h" diff --git a/tools/test_model_static.py b/tools/test_model_static.py index fa995573..b9f3ca61 100644 --- a/tools/test_model_static.py +++ b/tools/test_model_static.py @@ -1,11 +1,4 @@ #!/usr/bin/env python3 -# MegEngine is Licensed under the Apache License, Version 2.0 (the "License") -# -# Copyright (c) 2014-2021 Megvii Inc. All rights reserved. -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. """ purpose: use to test whether a model contain dynamic operator, if no dynamic