torchcurves#

Differentiable parametric curves in arbitrary dimensions.

Layers#

BSplineBasis

PyTorch module for a fixed B-spline basis.

BSplineCurve

PyTorch module for B-spline curves with learnable control points, supporting a batch of multiple curves.

LegendreCurve

PyTorch module for a batch of parametrized curves using Legendre polynomial basis.

Sum

A pooling layer that sums along the given dimension.