code: def svd(x, full_matrices=True, compute_uv=True):
      if compute_uv:
          return _torch.linalg.svd(x, full_matrices=full_matrices)
  
      return _torch.linalg.svdvals(x)
  
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 2 for calling a global function with example usage: svd(x, full_matrices, compute_uv) and returns: _torch, _torch