Skip to content

reduction_kernel_base.h #23773

reduction_kernel_base.h

reduction_kernel_base.h #23773

Triggered via push November 8, 2023 22:09
Status Success
Total duration 27s
Artifacts
Validation
18s
Validation
Fit to window
Zoom out
Zoom in

Annotations

79 warnings
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L1: onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L1
#ifndef header guard has wrong style, please use: ONNXRUNTIME_CORE_PROVIDERS_CPU_REDUCTION_REDUCTION_KERNEL_BASE_H_ [build/header_guard] [5]
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L40: onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L40
#endif line should be "#endif // ONNXRUNTIME_CORE_PROVIDERS_CPU_REDUCTION_REDUCTION_KERNEL_BASE_H_" [build/header_guard] [5]
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L14: onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L14
Constructors callable with one argument should be marked explicit. [runtime/explicit] [5]
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L40: onnxruntime/core/providers/cpu/reduction/reduction_kernel_base.h#L40
Could not find a newline character at the end of the file. [whitespace/ending_newline] [5]
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_ops.h#L530: onnxruntime/core/providers/cpu/reduction/reduction_ops.h#L530
Line contains only semicolon. If this should be an empty statement, use {} instead. [whitespace/semicolon] [5]
[cpplint] onnxruntime/core/providers/cpu/reduction/reduction_ops.h#L891: onnxruntime/core/providers/cpu/reduction/reduction_ops.h#L891
Add #include <limits> for numeric_limits<> [build/include_what_you_use] [4]