Two-Dimensional Locally-Connected Forward Layer
- Four-dimensional tensorX∈Rwith input datan1xn2xn3xn4
- Six-dimensional tensorK∈Rwith kernel parameters/weightsnKernelsxl3xl4xm2xm3xm4
- Three-dimensional tensorB∈Rwith the bias of each kernel.nKernelsxl3xl4
- pis the respective padding.i
- nGroupsis defined as follows: let's assume thatn2is the group dimension. The input tensor is split along this dimension intonGroupsgroups, the tensors of values and weights are split intonGroupsgroups along thenKernelsdimension.nKernelsandn2must be multiples ofnGroups. Each group of values is computed using the respective group in tensors of input data, weights, and biases.
- s3ands4are strides