ivy-llc / ivy

Convert Machine Learning Code Between Frameworks
https://ivy.dev
Other
14.02k stars 5.77k forks source link

Fix Frontend Failing Test: torch - linalg.cholesky_ex #28772

Closed Daniel4078 closed 3 months ago

Daniel4078 commented 3 months ago

The current frontend does not return a named tuple as required, and the test itself fails when running:

ivy_tests/test_ivy/test_frontends/test_torch/test_linalg.py:353: in test_torch_cholesky_ex
    x = np.matmul(x.T, x) + np.identity(x.shape[0])  # make symmetric positive-definite
E   AttributeError: 'list' object has no attribute 'T'