Tensorflow.graphics B-spline interpolation module.
This module supports cardinal B-spline interpolation up to degree 4, with up to C3 smoothness. It has functions to calculate basis functions, control point weights, and the final interpolation.
class Degree: Defines valid degrees for B-spline interpolation.
interpolate(...): Applies B-spline interpolation to input control points (knots).
interpolate_with_weights(...): Interpolates knots using knot weights.
knot_weights(...): Function that converts cardinal B-spline positions to knot weights.