How to check whether the weights and the graph of a model have been correctly exported in Python and imported in C?

Hello
I exported a Keras model with

model.save('path_to_location')

Then I imported it with TF_LoadSessionFromSavedModel in C but the prediction I get in C with the imported model is different from the prediction I get in Python with the same input.

Do you know how to check whether the weights and the graph of the model have been correctly imported in C?
Thanks

Then I imported it with TF_LoadSessionFromSavedModel in C but the prediction I get in C with the imported model is different from the prediction I get in Python with the same input

Did you follow the same pre-processing steps? or something different, for example the order of the channels, the different type of data etc. Thank you.