Docstring missing for
_matrix_power
4from .types import OptFloat, OptLossClosure, Params
5
6
7def _matrix_power(matrix: torch.Tensor, power: float) -> torch.Tensor: 8 # use CPU for svd for speed up
9 device = matrix.device
10 matrix = matrix.cpu()
Description
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.