Commit 2149fd6
Added elementwise_sub_mkldnn operator (PaddlePaddle#35662)
* Add elementwise_sub_mkldnn_op without grad
* Add test to static_mode_white_list
* Refactor code, change license years
* Remove invalid grad implementation
* Fix element_wise_sub_op test
* Fix CI Approval error
* Remove unnecessary EltwiseSubMKLDNNGradKernel class
* Fix CI Approval 2
* Fix CI Approval 3
* Fix CI Approval Attempt #4
* Fix CI Approve Attempt #5
* Fix CI Approval Attempt #6
* Fix CI Approval Attemt #7
* Change test names containing add to sub
* Fix old tests testing add instead of sub
* Copy grad implementation from elementwise_add_mkldnn
* CI test fix attempt
* Revert "CI test fix attempt"
This reverts commit c647cacf41e6a87c715385a185de5cbf65fc8900.
* Fix CI attempt 2
* Fix elementwise_sub tests, temporary mkldnn broadcast test disable
* Add working implementation of elementwise_sub grad
* Fix build errors caused by pull
* Fix format error
* Fix format error 2
* Disable elementwise_sub_mkldnn test on GPU
* Apply fix for paddle.fluid import
* Revert changes of test_elementwise_sub and Fix mkldnn test
* Revert "Apply fix for paddle.fluid import"
This reverts commit fc3b122.
* fix bug of module 'paddle' has no attribute 'fluid' for python3.6 (PaddlePaddle#35862)
* Add changes suggested by reviewers
* Change @unittest.skipIf... to @OpTestTool.skip_if_not_cpu_bf16() to satisfy Approval CI
* Remove check_dygraph=False to satisify CI Approval
Co-authored-by: zhangbo9674 <[email protected]>1 parent 23b23cd commit 2149fd6
File tree
4 files changed
+380
-5
lines changed- paddle/fluid
- operators/elementwise/mkldnn
- platform
- python/paddle/fluid/tests/unittests/mkldnn
- tools
4 files changed
+380
-5
lines changedLines changed: 132 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
927 | 928 | | |
928 | 929 | | |
929 | 930 | | |
930 | | - | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | | - | |
| 943 | + | |
| 944 | + | |
944 | 945 | | |
945 | 946 | | |
946 | 947 | | |
| |||
957 | 958 | | |
958 | 959 | | |
959 | 960 | | |
960 | | - | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
961 | 965 | | |
962 | 966 | | |
963 | 967 | | |
| |||
979 | 983 | | |
980 | 984 | | |
981 | 985 | | |
982 | | - | |
983 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
984 | 989 | | |
985 | 990 | | |
986 | 991 | | |
| |||
1504 | 1509 | | |
1505 | 1510 | | |
1506 | 1511 | | |
| 1512 | + | |
1507 | 1513 | | |
1508 | 1514 | | |
1509 | 1515 | | |
| |||
0 commit comments