cache eigendecompositions in kernel transformers