pyro-ppl/pyro

Add order parameter to spline_coupling helper function

Open

#3,417 opened on 2025年1月24日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)Python (981 forks)batch import
help wantedusability

Repository metrics

Stars
 (8,211 stars)
PR merge metrics
 (平均マージ 10d 19h) (30d で 1 merged PR)

説明

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

コントリビューターガイド