| 19 | #include "tensorflow/lite/testing/kernel_test/diff_analyzer.h" |
| 20 | |
| 21 | int main(int argc, char** argv) { |
| 22 | std::string base, test, output; |
| 23 | std::vector<tensorflow::Flag> flag_list = { |
| 24 | tensorflow::Flag("base", &base, "Path to the base serialized tensor."), |
| 25 | tensorflow::Flag("test", &test, "Path to the test serialized tensor."), |
| 26 | tensorflow::Flag("output", &output, "Path to the output file."), |
| 27 | }; |
| 28 | tensorflow::Flags::Parse(&argc, argv, flag_list); |
| 29 | |
| 30 | tflite::testing::DiffAnalyzer diff_analyzer; |
| 31 | diff_analyzer.ReadFiles(base, test); |
| 32 | diff_analyzer.WriteReport(output); |
| 33 | return 0; |
| 34 | } |
nothing calls this directly
no test coverage detected