@type {Tensor['permute']}
(...dims)
| 475 | // TODO: implement transpose. For now (backwards compatibility), it's just an alias for permute() |
| 476 | /** @type {Tensor['permute']} */ |
| 477 | transpose(...dims) { |
| 478 | return this.permute(...dims); |
| 479 | } |
| 480 | |
| 481 | /** |
| 482 | * Returns the sum of each row of the input tensor in the given dimension dim. |
no test coverage detected