Skip to content

Commit aa5e7a9

Browse files
committed
lint
1 parent 1c62d21 commit aa5e7a9

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

onnxruntime/core/providers/cann/cann_execution_provider.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ CANNExecutionProvider::GetCapability(const onnxruntime::GraphViewer& graph_viewe
12891289
const KernelCreateInfo* cann_kernel_def = kernel_lookup.LookUpKernel(node);
12901290
if (cann_kernel_def == nullptr) {
12911291
LOGS(*GetLogger(), INFO) << "CANN kernel not found in registries for Op type: " << node.OpType()
1292-
<< " node name: " << node.Name();
1292+
<< " node name: " << node.Name();
12931293
continue;
12941294
}
12951295

onnxruntime/core/providers/nnapi/nnapi_builtin/builders/model_builder.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
struct NnApi;
1616
namespace onnxruntime {
17-
namespace logging{
17+
namespace logging {
1818
class Logger;
1919
}
2020
class GraphViewer;

onnxruntime/core/providers/vsinpu/vsinpu_ep_graph.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace onnxruntime {
3535
namespace vsi {
3636
namespace npu {
3737
GraphEP::GraphEP(const onnxruntime::GraphViewer& graph_viewer, const logging::Logger& logger)
38-
: graph_viewer_(graph_viewer), logger_(logger) {
38+
: graph_viewer_(graph_viewer), logger_(logger) {
3939
Prepare();
4040
context_ = tim::vx::Context::Create();
4141
graph_ = context_->CreateGraph();

onnxruntime/test/providers/kernel_compute_test_utils.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ void KernelComputeTester::Run(std::unordered_set<int> strided_outputs) {
9090
ASSERT_STATUS_OK(graph.Resolve());
9191

9292
node.SetExecutionProviderType(ep_type);
93-
OptimizerExecutionFrame::Info info({&node}, initializer_map, graph.ModelPath(), *execution_providers.Get(ep_type),
94-
[](std::string const&) { return false; }, logger);
93+
OptimizerExecutionFrame::Info info({&node}, initializer_map, graph.ModelPath(), *execution_providers.Get(ep_type), [](std::string const&) { return false; }, logger);
9594
const KernelCreateInfo* kernel_create_info = nullptr;
9695
ASSERT_STATUS_OK(info.TryFindKernel(&node, &kernel_create_info));
9796
ASSERT_TRUE(kernel_create_info);

0 commit comments

Comments
 (0)