Skip to content

[WebNN] Improve the util function of creating WebNN constant MLOperand #36988

[WebNN] Improve the util function of creating WebNN constant MLOperand

[WebNN] Improve the util function of creating WebNN constant MLOperand #36988

Re-run triggered December 4, 2024 02:54
Status Success
Total duration 30m 50s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Optional Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Optional Lint: onnxruntime/core/providers/webnn/builders/impl/dropout_op_builder.cc#L68
[misspell] reported by reviewdog 🐶 "beacuse" is a misspelling of "because" Raw Output: ./onnxruntime/core/providers/webnn/builders/impl/dropout_op_builder.cc:68:7: "beacuse" is a misspelling of "because"
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Python format
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Optional Lint C++
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Optional Lint C++: onnxruntime/core/providers/webnn/builders/model_builder.h#L14
[cpplint] reported by reviewdog 🐶 Found C++ system header after other header. Should be: model_builder.h, c system, c++ system, other. [build/include_order] [4] Raw Output: onnxruntime/core/providers/webnn/builders/model_builder.h:14: Found C++ system header after other header. Should be: model_builder.h, c system, c++ system, other. [build/include_order] [4]
Optional Lint C++: onnxruntime/core/providers/webnn/builders/model_builder.h#L127
[cpplint] reported by reviewdog 🐶 Add #include <vector> for vector<> [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/webnn/builders/model_builder.h:127: Add #include <vector> for vector<> [build/include_what_you_use] [4]
Optional Lint C++: onnxruntime/core/providers/webnn/builders/model_builder.h#L128
[cpplint] reported by reviewdog 🐶 Add #include <string> for string [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/webnn/builders/model_builder.h:128: Add #include <string> for string [build/include_what_you_use] [4]
Optional Lint C++: onnxruntime/core/providers/webnn/builders/model_builder.h#L215
[cpplint] reported by reviewdog 🐶 Add #include <utility> for make_pair [build/include_what_you_use] [4] Raw Output: onnxruntime/core/providers/webnn/builders/model_builder.h:215: Add #include <utility> for make_pair [build/include_what_you_use] [4]