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