Low pass filter in PyTorch? - PyTorch Forums
discuss.pytorch.org › t › low-pass-filter-in-pytorchSep 16, 2019 · It seems there’s no low pass filter in PyTorch. If I want to write my own low pass filter function low_pass() How do I make sure that it can apply to whole batch? During training, the dataloader will give me a tensor X with the shape (batch, audio_len). But my neural network design takes in 4 inputs The origianl X The lowpassed+downsampled version of X, let’s call it X_down1 lowpassed ...