pyro-ppl/pyro

Add order parameter to spline_coupling helper function

Open

#3417 aperta il 24 gen 2025

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Python (981 fork)batch import
help wantedusability

Metriche repository

Star
 (8211 star)
Metriche merge PR
 (Merge medio 10g 19h) (1 PR mergiata in 30 g)

Descrizione

The spline_coupling helper function currently lacks an order parameter, which would allow users to specify the spline's order (linear or quadratic). This is inconsistent with the SplineCoupling class, which already supports the order parameter.

Adding the order parameter to the spline_coupling helper function will improve flexibility for users.

Example of the modified spline_coupling function:

Image

Guida contributor