Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Dec 4, 2024
1 parent 32d5e2a commit c37db99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/web/lib/wasm/wasm-core-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export const prepareInputOutputTensor = (
}

if (location === 'gpu-buffer') {
const gpuBuffer = tensor[2].gpuBuffer as GPUBuffer;
const gpuBuffer = tensor[2].gpuBuffer;
dataByteLength = calculateTensorSizeInBytes(tensorDataTypeStringToEnum(dataType), dims)!;

const registerBuffer = wasm.jsepRegisterBuffer;
Expand Down

0 comments on commit c37db99

Please sign in to comment.