(self, arrays, axis=0)
| 2211 | return torch.logsumexp(a, dim=tuple(range(len(a.shape))), keepdim=keepdims) |
| 2212 | |
| 2213 | def stack(self, arrays, axis=0): |
| 2214 | return torch.stack(arrays, dim=axis) |
| 2215 | |
| 2216 | def reshape(self, a, shape): |
| 2217 | return torch.reshape(a, shape) |