code: def fractional_matrix_power(A, t):
      """Compute the fractional power of a matrix."""
      if A.ndim == 2:
          out = _scipy.linalg.fractional_matrix_power(A, t)
      else:
          out = _np.stack(
              [_scipy.linalg.fractional_matrix_power(A_, t) for A_ in A]
          )
  
      return _torch.tensor(out)
  
file_path: geomstats/geomstats/_backend/pytorch/linalg.py
imports: import numpy
  import scipy
  import torch
  from .._backend_config import np_atol
  from ..numpy import linalg
  from ._dtype import _cast_out_to_input_dtype
label_desc: Use image node_id 8 for calling a global function with example usage: fractional_matrix_power(A, t) and returns: _torch