Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 30, 2024
1 parent 9184c1d commit b91ea43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ interface TensorImpl {
get dtype(): DType;
get shape(): number[];
get data(): TensorData;
setIndex(position: Array<number>, data: number|boolean): void
setIndex(position: Array<number>, data: number | boolean): void
slice(slice_position: Array<Optional<Optional<number>[]>>): TensorImpl;
reshape(shape: number[]): TensorImpl;
dispose(): void;
}

interface Tensor {
new (dtype: DType, shape: number[], data: TensorData): TensorImpl;
new(dtype: DType, shape: number[], data: TensorData): TensorImpl;
concat(tensors: TensorImpl[], axis: number): TensorImpl;
}

Expand Down

0 comments on commit b91ea43

Please sign in to comment.