An Introduction to Squash Function in Deep Learning February 26, 2022 eGittySquash function is a non-linear function that ensures the length of almost zero for short vectors and a length of slightly below 1 for long vectors.