pytorch / 2 / generated / torch.matrix_power.html

torch.matrix_power

torch.matrix_power(input, n, *, out=None) → Tensor

Alias for torch.linalg.matrix_power()

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.matrix_power.html