TorchCurves: Differentiable Parametric Curves
Provides foundational differentiable curve primitives for researchers working with continuous representations and functional models.
AI Summary
TorchCurves is a new PyTorch library that enables differentiable parametric curves as learnable primitives for ML applications like Kolmogorov-Arnold networks.
Excerpt
We present TorchCurves, a PyTorch library that treats vector-valued parametric curves as learnable primitives. Its central operation maps batches of scalar inputs to points on curves represented in B-spline or Legendre polynomial bases, with differentiation through both inputs and coefficients. Curve coefficients can be optimized jointly with the surrounding model or produced by another network. The library provides trainable modules, reusable basis modules, and a functional interface, supportin
