Thanks!
I tried with:
input = (Variable(torch.DoubleTensor(torch.randn(1, n_channel, feature_size, feature_size).double()), requires_grad=True), kernel_size)`
This still sometimes return False.
Could you elaborate on
you may be on the bound of the required precision and depending on the randomness you pass or not?