[WebNN] Improve the util function of creating WebNN constant MLOperand #36988
Annotations
5 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run reviewdog/action-cpplint@master:
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]
|
Run reviewdog/action-cpplint@master:
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]
|
Run reviewdog/action-cpplint@master:
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]
|
Run reviewdog/action-cpplint@master:
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]
|
Loading