torch.Tensor.matrix_power Tensor.matrix_power(n) → Tensor 注意 matrix_power() 已被弃用,请使用 torch.linalg.matrix_power()。 别名:torch.linalg.matrix_power()