Hi,
All the default values for eps and threshold are for double precision Tensors. Make sure everything is properly in double precision.
What is the formula that you use as the backward pass here?
Also make sure that you’re at a point where the function is continuously differentiable, otherwise, the gradcheck won’t work.