Package-level declarations
Types
Link copied to clipboard
object SineKanPretrained
A tiny, fixed KAN-based approximator for y = sin(x) on the interval 0, π/2. It consists of a single KAN layer whose basis, mixer weights and bias were exported from the accompanying PyTorch script in piekan/train.py, and are embedded here as constants. At runtime, it builds a Module with those values frozen, serving as a lightweight, dependency-free example of loading pretrained KAN parameters in Kotlin.