Update the functions in tensorprotoutils.h to use std::filesystem::path instead #31197
Annotations
1 error and 10 warnings
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
onnxruntime/core/framework/tensorprotoutils.cc#L1012
[cpplint] reported by reviewdog 🐶
Using C-style cast. Use reinterpret_cast<Y*>(...) instead [readability/casting] [4]
Raw Output:
onnxruntime/core/framework/tensorprotoutils.cc:1012: Using C-style cast. Use reinterpret_cast<Y*>(...) instead [readability/casting] [4]
|
onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc#L297
[cpplint] reported by reviewdog 🐶
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Raw Output:
onnxruntime/core/optimizer/transpose_optimization/ort_optimizer_api_impl.cc:297: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
|
onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h#L686
[cpplint] reported by reviewdog 🐶
Add #include <tuple> for tuple<> [build/include_what_you_use] [4]
Raw Output:
onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h:686: Add #include <tuple> for tuple<> [build/include_what_you_use] [4]
|
onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h#L686
[cpplint] reported by reviewdog 🐶
Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
Raw Output:
onnxruntime/core/providers/dml/DmlExecutionProvider/src/MLOperatorAuthorImpl.h:686: Add #include <memory> for unique_ptr<> [build/include_what_you_use] [4]
|
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L9
[cpplint] reported by reviewdog 🐶
Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
Raw Output:
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:9: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]
|
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L26
[cpplint] reported by reviewdog 🐶
Tab found; better to use spaces [whitespace/tab] [1]
Raw Output:
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:26: Tab found; better to use spaces [whitespace/tab] [1]
|
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h#L134
[cpplint] reported by reviewdog 🐶
Namespace should be terminated with "// namespace StringUtil" [readability/namespace] [5]
Raw Output:
onnxruntime/core/providers/dml/DmlExecutionProvider/src/Utility.h:134: Namespace should be terminated with "// namespace StringUtil" [readability/namespace] [5]
|
onnxruntime/core/providers/shared_library/provider_interfaces.h#L213
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
onnxruntime/core/providers/shared_library/provider_interfaces.h:213: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
onnxruntime/core/providers/shared_library/provider_interfaces.h#L810
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
onnxruntime/core/providers/shared_library/provider_interfaces.h:810: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
onnxruntime/core/providers/shared_library/provider_wrappedtypes.h#L843
[cpplint] reported by reviewdog 🐶
Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw Output:
onnxruntime/core/providers/shared_library/provider_wrappedtypes.h:843: Lines should be <= 120 characters long [whitespace/line_length] [2]
|
This job failed
Loading