Checkout
Personalized AI apps
Build multi-agent systems without code and automate document search, RAG and content generation
Start free trial
Question

Capsnet - What is the squashing function in capsule?

Answer

To determine the likelihood that an entity is present within a capsule, the squashing function takes the length of the output vector and turns it to a probability. Long output vectors are shrunk to little less than one and short vectors are shrunk to almost nothing.