Hi,
Have you read the documentation note about reproducibility 10 ?
I’m afraid this is the kind of issue you’re seing here. Both reasults are correct wrt floating point computations but the gradient descent you’re doing is making any small difference significant.