pyro-ppl/pyro

Add order parameter to spline_coupling helper function

Open

#3.417 aberto em 24 de jan. de 2025

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Python (981 forks)batch import
help wantedusability

Métricas do repositório

Stars
 (8.211 stars)
Métricas de merge de PR
 (Mesclagem média 10d 19h) (1 fundiu PR em 30d)

Description

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

Guia do colaborador