pyro-ppl/pyro

Add order parameter to spline_coupling helper function

Open

#3,417 创建于 2025年1月24日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Python (8,211 star) (981 fork)batch import
help wantedusability

描述

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

贡献者指南

Add order parameter to spline_coupling helper function · pyro-ppl/pyro#3417 | Good First Issue