We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96fa5a commit 0fcc97fCopy full SHA for 0fcc97f
src/utils/tensor.js
@@ -464,7 +464,7 @@ export class Tensor {
464
} else if (Array.isArray(this_data)) {
465
// If this.data is a plain array, use slice
466
const slicedData = this_data.slice(start, end);
467
- for (let i = 0; i < slicedData.length; i++) {
+ for (let i = 0; i < slicedData.length; ++i) {
468
data[i] = slicedData[i];
469
}
470
} else {
0 commit comments