Commit f1d790c
authored
[webgpu] fix LayerNorm with empty input (microsoft#24244)
### Description
This PR fixes test case `CudaKernelTest.LayerNorm_NullInput`, in which
the input is 0-sized for LayerNorm.
`context.Output()` need to be called before returning.1 parent d71aa4d commit f1d790c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
109 | 105 | | |
110 | 106 | | |
111 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
0 commit comments