Max reduction.
(x: torch.Tensor, dim: int = -1)
| 74 | return x.sum(dim=dim) |
| 75 | |
| 76 | def reduce_max_ref(x: torch.Tensor, dim: int = -1) -> torch.Tensor: |
| 77 | """Max reduction.""" |
| 78 | return x.max(dim=dim).values |
nothing calls this directly
no outgoing calls
no test coverage detected