-
Notifications
You must be signed in to change notification settings - Fork 132
Add differentiable polyphase resampler #492
base: branch-22.08
Are you sure you want to change the base?
Conversation
…polyphase_resample call
Can one of the admins verify this patch? |
ok to test |
…nk -- and throw warning if PyTorch isn't installed on cusignal import
@mbolding3 and @jfsantos -- working through the review now, but one immediate concern is how we handle a PyTorch dependency on cuSignal with this new functionality. I want to try to keep cuSignal light, so I'm doing a simple I don't see any major issues with this PR, but I want to make sure that it behaves as @jfsantos would expect prior to merge :). |
@awthomp By default the diff submodule is not imported by cusignal's top-level Edit: Just noticed your commit. Doing it that way works, too. |
D'oh, I totally missed that. My bad. That said, I think we should put the |
Makes perfect sense to me. Thanks! |
Also I am not a regular Pytorch user so it would be very helpful to have someone try out the module and make sure it supports the features they need and generally works as expected. All I did was make sure it conformed to the handful of torch's own examples I based the interface off of. (I assume this is what @jfsantos is going to do) |
This PR has been labeled |
closes #491
Adds a differentiable polyphase resampler in a new diff submodule. Includes some basic unit tests and a demonstration of how to incorporate the new layer in a Pytorch sequential model.