alexshtf/torchcurves
Parametric differentiable curves with PyTorch for continuous embeddings, shape-restricted models, or KANs
Based on the README, here's a technical summary: Implements vectorized parametric curve evaluation (B-splines, Legendre polynomials) with learnable coefficients through custom autograd functions and efficient numerics like Clenshaw recursion and Cox-DeBoor algorithms. Enables shape-constrained modeling by leveraging mathematical properties of curves—monotonicity through ordered control points, bounded outputs via compact interval mapping—without explicit constraints. Designed as composable PyTorch modules that integrate seamlessly into standard nn.Sequential architectures for KAN layers, continuous embeddings, and auction models.
Available on PyPI.
Stars
53
Forks
2
Language
Python
License
Apache-2.0
Category
Last pushed
Feb 17, 2026
Monthly downloads
289
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/alexshtf/torchcurves"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
cosmosgl/graph
GPU-accelerated force graph layout and rendering
Clay-foundation/model
The Clay Foundation Model - An open source AI model and interface for Earth
nomic-ai/nomic
Nomic Developer API SDK
omoindrot/tensorflow-triplet-loss
Implementation of triplet loss in TensorFlow
poloclub/wizmap
Explore and interpret large embeddings in your browser with interactive visualization! 📍