Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PyTorch] Fix in matmul function that enables working with all sizes … #13927

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

padreofthegame
Copy link
Contributor

…of input tensors

This PR should enable full functionality of matmul operator in PyTorch frontend. In addition to current behavior, it introduces:

  • matrix multiplication of two 1D tensors, 1D x 1D,
  • matrix multiplication of 1D and ND tensors, 1D x ND.

It also improves operator functionality when working with:

  • matrix multiplication of ND and 1D tensors, ND x 1D,
  • matrix multiplication of two ND tensors, ND x ND.

Also, proper assertions are added.

@tvm-bot
Copy link
Collaborator

tvm-bot commented Feb 7, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

@masahi masahi merged commit 3ee29e3 into apache:main Feb 8, 2023
@padreofthegame padreofthegame deleted the pytorch/matmul branch February 9, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants