MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / main

Function main

tensorflow/lite/testing/kernel_test/generate_diff_report.cc:21–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include "tensorflow/lite/testing/kernel_test/diff_analyzer.h"
20
21int 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}

Callers

nothing calls this directly

Calls 4

ParseFunction · 0.85
ReadFilesMethod · 0.80
WriteReportMethod · 0.80
FlagClass · 0.50

Tested by

no test coverage detected