pyro-ppl/pyro

Add order parameter to spline_coupling helper function

Open

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

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

仓库指标

Star
 (8,211 star)
PR 合并指标
 (平均合并 10天 19小时) (30 天内合并 1 个 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

贡献者指南