Skip to content

Add initial implementation of accuracy test tool #27294

Add initial implementation of accuracy test tool

Add initial implementation of accuracy test tool #27294

Triggered via push December 18, 2023 04:58
Status Success
Total duration 20s
Artifacts
Validation
14s
Validation
Fit to window
Zoom out
Zoom in

Annotations

54 warnings
[cpplint] onnxruntime/test/acc_test/acc_task.cc#L1: onnxruntime/test/acc_test/acc_task.cc#L1
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/acc_task.cc#L20: onnxruntime/test/acc_test/acc_task.cc#L20
Using C-style cast. Use reinterpret_cast<void*>(...) instead [readability/casting] [4]
[cpplint] onnxruntime/test/acc_test/acc_task.cc#L63: onnxruntime/test/acc_test/acc_task.cc#L63
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/acc_task.cc#L64: onnxruntime/test/acc_test/acc_task.cc#L64
Add #include <vector> for vector<> [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/acc_task.h#L5: onnxruntime/test/acc_test/acc_task.h#L5
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/acc_task.h#L6: onnxruntime/test/acc_test/acc_task.h#L6
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/acc_task.h#L25: onnxruntime/test/acc_test/acc_task.h#L25
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/acc_task.h#L28: onnxruntime/test/acc_test/acc_task.h#L28
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/basic_utils.cc#L4: onnxruntime/test/acc_test/basic_utils.cc#L4
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/basic_utils.h#L7: onnxruntime/test/acc_test/basic_utils.h#L7
<condition_variable> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/basic_utils.h#L18: onnxruntime/test/acc_test/basic_utils.h#L18
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
[cpplint] onnxruntime/test/acc_test/basic_utils.h#L19: onnxruntime/test/acc_test/basic_utils.h#L19
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
[cpplint] onnxruntime/test/acc_test/basic_utils.h#L22: onnxruntime/test/acc_test/basic_utils.h#L22
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]
[cpplint] onnxruntime/test/acc_test/basic_utils.h#L114: onnxruntime/test/acc_test/basic_utils.h#L114
Add #include <algorithm> for max [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L1: onnxruntime/test/acc_test/cmd_args.cc#L1
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L59: onnxruntime/test/acc_test/cmd_args.cc#L59
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L87: onnxruntime/test/acc_test/cmd_args.cc#L87
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L88: onnxruntime/test/acc_test/cmd_args.cc#L88
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L107: onnxruntime/test/acc_test/cmd_args.cc#L107
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L150: onnxruntime/test/acc_test/cmd_args.cc#L150
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L152: onnxruntime/test/acc_test/cmd_args.cc#L152
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L104: onnxruntime/test/acc_test/cmd_args.cc#L104
Add #include <algorithm> for copy [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L137: onnxruntime/test/acc_test/cmd_args.cc#L137
Add #include <unordered_map> for unordered_map<> [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L151: onnxruntime/test/acc_test/cmd_args.cc#L151
Add #include <string> for string [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L188: onnxruntime/test/acc_test/cmd_args.cc#L188
Add #include <utility> for move [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/cmd_args.cc#L291: onnxruntime/test/acc_test/cmd_args.cc#L291
Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
[cpplint] onnxruntime/test/acc_test/cmd_args.h#L10: onnxruntime/test/acc_test/cmd_args.h#L10
Add #include <string> for string [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/data_loader.cc#L3: onnxruntime/test/acc_test/data_loader.cc#L3
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/data_loader.cc#L61: onnxruntime/test/acc_test/data_loader.cc#L61
Add #include <string> for string [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/data_loader.h#L8: onnxruntime/test/acc_test/data_loader.h#L8
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/data_loader.h#L9: onnxruntime/test/acc_test/data_loader.h#L9
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L12: onnxruntime/test/acc_test/main.cc#L12
<condition_variable> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/main.cc#L20: onnxruntime/test/acc_test/main.cc#L20
<mutex> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/main.cc#L21: onnxruntime/test/acc_test/main.cc#L21
"sstream" already included at onnxruntime/test/acc_test/main.cc:17 [build/include] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L23: onnxruntime/test/acc_test/main.cc#L23
<thread> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/main.cc#L28: onnxruntime/test/acc_test/main.cc#L28
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L29: onnxruntime/test/acc_test/main.cc#L29
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L30: onnxruntime/test/acc_test/main.cc#L30
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L31: onnxruntime/test/acc_test/main.cc#L31
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L32: onnxruntime/test/acc_test/main.cc#L32
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/main.cc#L220: onnxruntime/test/acc_test/main.cc#L220
Lines should be <= 120 characters long [whitespace/line_length] [2]
[cpplint] onnxruntime/test/acc_test/model_io_utils.cc#L3: onnxruntime/test/acc_test/model_io_utils.cc#L3
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/model_io_utils.cc#L177: onnxruntime/test/acc_test/model_io_utils.cc#L177
Add #include <utility> for move [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/model_io_utils.h#L8: onnxruntime/test/acc_test/model_io_utils.h#L8
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/model_io_utils.h#L84: onnxruntime/test/acc_test/model_io_utils.h#L84
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
[cpplint] onnxruntime/test/acc_test/model_io_utils.h#L30: onnxruntime/test/acc_test/model_io_utils.h#L30
Add #include <utility> for move [build/include_what_you_use] [4]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.cc#L3: onnxruntime/test/acc_test/task_thread_pool.cc#L3
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.cc#L4: onnxruntime/test/acc_test/task_thread_pool.cc#L4
<mutex> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.cc#L5: onnxruntime/test/acc_test/task_thread_pool.cc#L5
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.h#L4: onnxruntime/test/acc_test/task_thread_pool.h#L4
<condition_variable> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.h#L5: onnxruntime/test/acc_test/task_thread_pool.h#L5
<mutex> is an unapproved C++11 header. [build/c++11] [5]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.h#L8: onnxruntime/test/acc_test/task_thread_pool.h#L8
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.h#L9: onnxruntime/test/acc_test/task_thread_pool.h#L9
Include the directory when naming header files [build/include_subdir] [4]
[cpplint] onnxruntime/test/acc_test/task_thread_pool.h#L13: onnxruntime/test/acc_test/task_thread_pool.h#L13
Single-parameter constructors should be marked explicit. [runtime/explicit] [5]