torch.Tensor.matrix_power¶ Tensor.matrix_power(n) → Tensor 注意 matrix_power() 已弃用,请使用 torch.linalg.matrix_power() 代替。 torch.linalg.matrix_power() 的别名。