groups
The number of partitions of the input and output channels.
Declaration
var groups: Int { get set }Discussion
The convolution operation divides input and output channels in groups partitions. input channels in a group or partition are only connected to output channels in corresponding group. Number of weights the convolution needs is outputFeatureChannels x inputFeatureChannels/groups x kernelDepth x kernelWidth x kernelHeight