pyro-ppl/pyro

Add order parameter to spline_coupling helper function

開放

#3,417 建立於 2025年1月24日

 (4 則留言) (0 個反應) (0 位負責人)Python (981 個分叉)batch import
help wantedusability

倉庫指標

星標
 (8,211 顆星)
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

貢獻者指南