aesara.tensor.nlinalg.svd

Contents

aesara.tensor.nlinalg.svd#

aesara.tensor.nlinalg.svd(a, full_matrices=1, compute_uv=1)[source]#

This function performs the SVD on CPU.

Parameters:
  • full_matrices (bool, optional) – If True (default), u and v have the shapes (M, M) and (N, N), respectively. Otherwise, the shapes are (M, K) and (K, N), respectively, where K = min(M, N).

  • compute_uv (bool, optional) – Whether or not to compute u and v in addition to s. True by default.

Returns:

U, V, D

Return type:

matrices