Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Honry committed Jan 23, 2024
1 parent 47de070 commit 564dbb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnxruntime/core/providers/webnn/builders/model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ Status Model::Predict(const InlinedHashMap<std::string, OnnxTensorData>& inputs,
output_views.insert({name, view});
}
emscripten::val results = wnn_context_.call<emscripten::val>(
"compute", wnn_graph_, wnn_inputs_, wnn_outputs_).await();
"compute", wnn_graph_, wnn_inputs_, wnn_outputs_)
.await();

// Copy the outputs from pre-allocated ArrayBuffers back to the Wasm ArrayBuffer.
for (const auto& output : outputs) {
Expand Down

0 comments on commit 564dbb1

Please sign in to comment.