def METHOD_NAME(use_torch):
    """Test torchloudnorm apply filter function"""
    x = torch.randn(2, 1, 40000)
    x = x.cpu()
    loud_norm = torchloudnorm(
        device="cpu",
    )
    y_torch = loud_norm.apply_filter(x)
    y = y_torch.cpu().detach().numpy()
    assert y.shape == (2, 1, 40000)
    assert np.sum(np.abs(y)) == pytest.approx(
        98578.4921875, rel=pytest.rel_tolerance, abs=pytest.abs_tolerance
    )