Hi,
Unfortunately the small errors are magnified by the following layers. So the slightest difference will lead to completely different networks.
Having bit-perfect equivalence of the operations is not easy, even within pytorch, we don’t guarantee that by default between two runs of the same code (see determinism notes in the doc). So it will be almost impossible to do with Keras.