code: def _compute_usvt(self, s, u, v):
      m = u.shape[-1]
      n = v.shape[-1]
      if m <= n:
          v = v[..., :m]
      else:
          u = u[..., :n]
  
      return np.matmul(u * s[..., None, :], np.swapaxes(v, -1, -2))
  
file_path: tensorflow-upstream/tensorflow/compiler/tests/svd_op_test.py
imports: import itertools
  from absl.testing import parameterized
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_linalg_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the SvdOpTest obj's underlying member method code with example usage: obj._compute_usvt(s, u, v) and returns: np