Skip to content

Commit c8915b2

Browse files
authored
fix wasm backend memory leak issue. (#7915)
BUG
1 parent a053c02 commit c8915b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tfjs-backend-wasm/src/kernels/BatchToSpaceND.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function batchToSpaceND(args: {
5656

5757
backend.disposeData(xReshaped.dataId);
5858
backend.disposeData(xTransposed.dataId);
59-
backend.disposeData(xReshaped.dataId);
59+
backend.disposeData(xTransposedReshaped.dataId);
6060

6161
return result;
6262
}

0 commit comments

Comments
 (0)