- groups 默认值为1, 对应的是常规卷积操作
- groups > 1, 且能够同时被in_channel / out_channel整除,对应group_convolution
- groups ==input_channel == out_channel , 对应depthwise convolution,为条件2的特殊情况
- 在条件3的基础上,各卷积核的H==input_height; W==input_width, 对应为global depthwise convolution, 为条件3的特殊情况
仔细阅读链接 https://zhuanlan.zhihu.com/p/113928413 ,理解卷积吧