You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In NumPy's pad, it appears to be organically constructing the linear ramps with arange and some floating point arithmetic. Maybe it would be better to use linspace, which is a closer match to the linear ramp use case. In particular, see the _prepend_ramp and _append_ramp helper functions.
Activity