-
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.
Tensor type promotion for static mode (#59763)
* add type promotion table. * fix codestyle. * add python table. * fix dtype. * remove useless note * fix static-check * add eager T+T logic. * remove useless file. * remove useless line. * fix * dtype promotion for operator overload in static mode * only support float series * update * fix note. * mv common logic to common dir. * fix * remove deal for int. * remove int. * only for complie * fix median / cross_entropy_loss * keep old illogical logic for compatibility reasons * pybind the type_promotion function; remove python function; remove float-complex test * remove change for dygraph * rename type_promotion_table.h -> data_type_promotion.h * warnings --------- Co-authored-by: zxcd <228587199@qq.com>
- Loading branch information
Showing
6 changed files
with
228 additions
and
73 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
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 was deleted.
Oops, something went wrong.
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