Skip to content

Commit 65e05c5

Browse files
committed
Update JSDoc
1 parent 1765cd2 commit 65e05c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/utils/tensor.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,10 @@ export class Tensor {
370370
* [ 16, 17, 18, 19, 20 ]
371371
* ```
372372
*
373-
* @param {...(number|number[]|null)} slices - The slice specifications for each dimension.
374-
* - If a number is given, then a single element is selected.
375-
* - If an array of two numbers is given, then a range of elements [start, end (exclusive)] is selected.
376-
* - If null is given, then the entire dimension is selected.
373+
* @param {...(number|number[]|null)} slices The slice specifications for each dimension.
374+
* - If a number is given, then a single element is selected.
375+
* - If an array of two numbers is given, then a range of elements [start, end (exclusive)] is selected.
376+
* - If null is given, then the entire dimension is selected.
377377
* @returns {Tensor} A new Tensor containing the selected elements.
378378
* @throws {Error} If the slice input is invalid.
379379
*/

0 commit comments

Comments
 (0)