-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add type promotion for complex and real number. (#63842)
* add type promotion for complex and real number. * fix * reduce api support * add more api support * fix * fix * remove matmul * add T+S logic. * fix bug * fix unittest * fix * fix * fix unittest * fix gumbel * rm print * fix more unittests. * fix test_llama_group_log_softmax.py * fix bug, and add 0-d + 0-d logic. * rm print * fix behavior of bool and int * add unittest for all type promotion. * rm unintest which is unsupport dtype * fix * fix * add error unittest * fix increase unittest * bug fix * fixed by comment * remove useless code. * fix * fix * fix TypePromotionForZeroDimTensor * add inplace API support, add special case can skip type promotion (add x=float32,y=float16/bfloat16). * add broatcast support for MultiPrecisionAddKernelImpl.
- Loading branch information
Showing
36 changed files
with
5,013 additions
and
801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.