Commit 62f9b1d
authored
[Tensorflow] Fix conv2d_transpose for NHWC layout (#14546)
* [Tensorflow] Fix conv2d_transpose for NHWC layout
If "data_format" == "NHWC", the kernel_layout should be "HWOI" rather than "HWIO".
* remove deed code
* add test cases
* Update test_forward.py
* Update test_forward.py
* Update tensorflow_ops.py
* Update tensorflow_ops.py1 parent 670d128 commit 62f9b1d
2 files changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
468 | | - | |
| 467 | + | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
742 | 742 | | |
743 | 743 | | |
744 | 744 | | |
745 | | - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
746 | 755 | | |
747 | 756 | | |
748 | 757 | | |
| |||
917 | 926 | | |
918 | 927 | | |
919 | 928 | | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
920 | 939 | | |
921 | 940 | | |
922 | 941 | | |
| |||
0 commit comments