ivy
ivy copied to clipboard
`np.dot` frontend
Closes #18122
@hirwa-nshuti I'm having some trouble with running the tests for this function. All the backends are returning this error trace:
Test result not found for: ./ivy_tests/test_ivy/test_frontends/test_numpy/test_linear_algebra/test_matrix_and_vector_products.py::test_numpy_dot
@hirwa-nshuti but I think all the submodules are imported in the __init__
file under ivy.functional.frontends.numpy.linalg
. Specifically :
from . import matrix_and_vector_products
from .matrix_and_vector_products import *
from . import norms_and_other_numbers
from .norms_and_other_numbers import *
from . import decompositions
from .decompositions import *
from . import matrix_eigenvalues
from .matrix_eigenvalues import *
from . import solving_equations_and_inverting_matrices
from .solving_equations_and_inverting_matrices import *
@hirwa-nshuti but I think all the submodules are imported in the
__init__
file underivy.functional.frontends.numpy.linalg
. Specifically :from . import matrix_and_vector_products from .matrix_and_vector_products import * from . import norms_and_other_numbers from .norms_and_other_numbers import * from . import decompositions from .decompositions import * from . import matrix_eigenvalues from .matrix_eigenvalues import * from . import solving_equations_and_inverting_matrices from .solving_equations_and_inverting_matrices import *
Yeah, they're imported in the np.linalg
namespace which limits them to be called as np.fn_name
we will need to have an exception of this function to be imported in the numpy namespace😁