Reduce max the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. Returns ------- Tensor A framework-specific tensor.
(input, dim)
| 479 | |
| 480 | |
| 481 | def max(input, dim): |
| 482 | """Reduce max the input tensor along the given dim. |
| 483 | |
| 484 | Parameters |
| 485 | ---------- |
| 486 | input : Tensor |
| 487 | The input tensor. |
| 488 | dim : int |
| 489 | The reduce dim. |
| 490 | |
| 491 | Returns |
| 492 | ------- |
| 493 | Tensor |
| 494 | A framework-specific tensor. |
| 495 | """ |
| 496 | pass |
| 497 | |
| 498 | |
| 499 | def reduce_max(input): |
no outgoing calls