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

Add Op dot #430

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Op dot #430

wants to merge 1 commit into from

Conversation

wlxjhyf
Copy link

@wlxjhyf wlxjhyf commented Jan 21, 2025

PR Category

Operator

Type of Change

Add new operator

Description

Implement dot operator, support Float32, Float16,BFloat16。
The operator implementation is to split the dot operator into two steps, the first step implementing elementwise level multiplication, and the second step implementing summation.
At present, in order to ensure accuracy requirements, the intermediate results are saved as float32 type in the first step.

Issue

#394

Progress

  • Change is properly reviewed (1 reviewer required, 2 recommended).
  • Change is responded to an issue.
  • Change is fully covered by a UT.

Performance

correctness
截屏2025-01-21 02 00 04

performance
截屏2025-01-21 02 01 36
截屏2025-01-21 02 01 42
截屏2025-01-21 02 01 49

@wlxjhyf wlxjhyf changed the title dot Add op dot Jan 22, 2025
@wlxjhyf wlxjhyf changed the title Add op dot Add Op dot Jan 22, 2025
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.

1 participant