I have generated a .tflite model based on a trained model, I would like to test that the tfilte model gives the same results as the original model.
Giving both the s
There is a tflite_diff_example_test in the TensorFlow code base. It generates random data and feed the same data into TensorFlow & TensorFlow lite, then compare if the difference is within a small threshold.
You can to checkout TensorFlow code from Github, and run it with bazel:
bazel run //tensorflow/contrib/lite/testing:tflite_diff_example_test
then you'll see what arguments you need to pass.