This PR introduces a suite of unit tests for the matrix_factorization_and_decomposition.py located within the within the linear_algebra directory. The primary function in this file facilitate the basic matrix operations that can be carried out including finding the cholesky decomposition , cholesky inplace decomposition, lu decompsition, lu inplace decomposition, qr decomposition, qr inplace decomposition, svd decomposition, and svd in place decomposition.
Shape: Ensures that the functions can handle correctly instantiated shapes.
Dim: Ensures that functions which can't handle batch inputs can properly handle these types of inputs
Dtype: Ensures that any dtype outside of float/complex types will be properly handled
Data Type Accuracy: Ensures that the resulting output data types for each function are correct
Error Handling: Assesses the function's error handling
This PR introduces a suite of unit tests for the matrix_factorization_and_decomposition.py located within the within the linear_algebra directory. The primary function in this file facilitate the basic matrix operations that can be carried out including finding the cholesky decomposition , cholesky inplace decomposition, lu decompsition, lu inplace decomposition, qr decomposition, qr inplace decomposition, svd decomposition, and svd in place decomposition.
Shape: Ensures that the functions can handle correctly instantiated shapes. Dim: Ensures that functions which can't handle batch inputs can properly handle these types of inputs Dtype: Ensures that any dtype outside of float/complex types will be properly handled Data Type Accuracy: Ensures that the resulting output data types for each function are correct Error Handling: Assesses the function's error handling