Solved by ptrblck in post #2 
              
              
                The difference is 0.96381102 - 0.96381098  = 3.9999999978945766e-08, which is most likely caused by the limited floating point precision using float32. Internally the order of the operations might not be the same or different algorithms might be used depending on the batch size and thus workload.