Visualizes the learned base/GELU and Fourier branch scales for a selected KAF layer.
Usage
plot_kaf_scales(object, layer = 1, type = c("ratio", "branch"), ...)Arguments
- object
A fitted object returned by
kaf_fit(), or a rawnn_kaftorch module.- layer
Integer. Layer to inspect.
- type
Character. Either
"ratio"or"branch".- ...
Additional arguments passed to base plotting functions.