Skip to content

Commit

Permalink
Missing sessionId from jsepRegisterMLTensor
Browse files Browse the repository at this point in the history
  • Loading branch information
egalli committed Jan 7, 2025
1 parent 765f6ea commit a56e82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/wasm/pre-jsep.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ Module['jsepInit'] = (name, params) => {
Module['jsepCreateMLTensorDownloader'] = (tensorId, type) => {
return backend['createMLTensorDownloader'](tensorId, type);
}
Module['jsepRegisterMLTensor'] = (tensor, dataType, shape) => {
return backend['registerMLTensor'](tensor, dataType, shape);
Module['jsepRegisterMLTensor'] = (sessionId, tensor, dataType, shape) => {
return backend['registerMLTensor'](sessionId, tensor, dataType, shape);
};
Module['jsepCreateMLContext'] = (optionsOrGpuDevice) => {
return backend['createMLContext'](optionsOrGpuDevice);
Expand Down

0 comments on commit a56e82a

Please sign in to comment.