AIMET weight SVDο
Weight singular value decomposition (SVD) is a technique that decomposes one large layer (in terms of MAC or memory) into two smaller layers.
Consider a neural network layer with the kernel (π,π,β,π€) where:
π is the input channels
π the output channels
β is the height of the kernel
π€ is the width of the kernel
Weight SVD decomposes the kernel into one of size (π,π,1,1) and another of size (π,π,h,π€), where π is called the rank. The smaller the value of π, larger the degree of compression.
The following figure illustrates how weight SVD decomposes the output channel dimension. Weight SVD is currently supported for convolution (Conv) and fully connected (FC) layers in AIMET.