Skip to content

Commit b1fe5eb

Browse files
Lint
1 parent 029ec8f commit b1fe5eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tfjs-core/src/io/weights_loader.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ export class CompositeArrayBuffer {
248248
private bufferUniformSize?: number;
249249
public readonly byteLength: number;
250250

251-
constructor(buffers: ArrayBuffer | ArrayBuffer[] | TypedArray | TypedArray[]) {
251+
constructor(buffers: ArrayBuffer | ArrayBuffer[] | TypedArray
252+
| TypedArray[]) {
252253
// Normalize the `buffers` input to be `ArrayBuffer[]`.
253254
if (!(buffers instanceof Array)) {
254255
buffers = [buffers];

tfjs-core/src/io/weights_loader_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ describe('CompositeArrayBuffer', () => {
589589

590590
it(`${buffersType}: slices from zero when start is negative`, () => {
591591
expectArraysEqual(new Uint8Array(composite.slice(-4, 5)),
592-
[0,1,2,3,4])
592+
[0,1,2,3,4]);
593593
});
594594

595595
it(`${buffersType}: slices to the end when end is greater than length`,

0 commit comments

Comments
 (0)