Matrix Capsules with EM Routing - Optimization

An Optimization of E-Step in EM

The original formula for implementation:

The optimized formula for implementation - numerical stable via softmax:

Since is a constant when H is determined, let:

Then,

Therefore, can be updated via softmax over and .

results matching ""

    No results matching ""