Skip to content

[Unity][Frontend][Onnx] Simplify gemm#15458

Merged
masahi merged 1 commit intoapache:unityfrom
jwfromm:simplify_gemm
Aug 2, 2023
Merged

[Unity][Frontend][Onnx] Simplify gemm#15458
masahi merged 1 commit intoapache:unityfrom
jwfromm:simplify_gemm

Conversation

@jwfromm
Copy link
Copy Markdown
Contributor

@jwfromm jwfromm commented Aug 1, 2023

This very small PR adds a check to our gemm importer to prevent inserting useless multiplies with alpha or beta when their value is 1.0. This can produce cleaner easier to optimize graphs.

@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Aug 1, 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

@jwfromm jwfromm requested a review from masahi August 1, 2023 23:57
@tqchen tqchen changed the title [Frontend][Onnx] Simplify gemm [Unity][Frontend][Onnx] Simplify gemm Aug 2, 2023
@masahi masahi merged commit 1aecc9b into apache:unity Aug 2, 2023
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