# AIMET Weight SVDΒΆ

Weight SVD is a tensor decomposition technique which decomposes one large layer (in terms of mac or memory) into two smaller layers. SVD stands for Singular Value Decomposition.

Given a neural network layer, with kernel (π,π,β,π€) where π is the input channels, π the output channels, and β, π€ giving the height and width of the kernel itself, Weight SVD will decompose the kernel into one of size (π,π,1,1) and another of size (π,π,h,π€), where π is called the rank. The smaller the value of π the larger the degree of compression achieved.

The following diagram illustrates this visually. As you can see, Weight SVD decomposes the output channel dimension. Weight SVD is currently supported for Conv and Full-connected layers in AIMET.