Skip to content

Commit

Permalink
Update onnxruntime/core/providers/webnn/builders/model_builder.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Dwayne Robinson <[email protected]>
  • Loading branch information
Honry and fdwr authored Oct 22, 2024
1 parent c16d8d7 commit 80f52d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/webnn/builders/model_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Status ModelBuilder::RegisterInitializers() {
break;
}

// Wasm memory grow will cause all array buffers reallocation, which will be treated as detached
// WASM memory growth will cause all array buffers reallocation, which will be treated as detached
// buffers in JS side. Simply create a copy to fix it.
operand = wnn_builder_.call<emscripten::val>("constant", desc, view.call<emscripten::val>("slice"));
}
Expand Down

0 comments on commit 80f52d5

Please sign in to comment.