Skip to content

Commit

Permalink
update as comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mszhanyi committed Sep 16, 2024
1 parent fcedf50 commit 256a236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/xnnpack/math/softmax.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Softmax::Softmax(const OpKernelInfo& info) : XnnpackKernel{info} {
&p);
}

ORT_ENFORCE(xstatus == xnn_status_success && p != nullptr, "xnn_create_softmax_nc_",
ORT_ENFORCE(xstatus == xnn_status_success, "xnn_create_softmax_nc_",
OpTypeToString(op_type_), " failed. Status:", xstatus);
channel_dim_ = channels;
op0_.reset(p);
Expand Down

0 comments on commit 256a236

Please sign in to comment.