Commit 6529a90
Create im2row hifi cpp kernel tests (#15123)
Summary:
Pull Request resolved: #15123
### Summary
This diff adds a new test for the `im2row_out` operator in the Cadence HiFi backend. The test is added in the `test_op_im2row_out.cpp` file and is compilable on both fbcode and xplat.
The test includes a new function `im2row_out` in the `operators.h` file, which is declared but not defined. The definition of this function is not provided in this diff.
The test file `test_op_im2row_out.cpp` includes the necessary headers and uses the `gtest` framework for testing. It also includes some utility functions from the `executorch` library.
Overall, this diff adds a new test for the `im2row_out` operator in the Cadence HiFi backend, but does not provide the implementation of the operator itself.
Reviewed By: mcremon-meta
Differential Revision: D846398021 parent aeef01a commit 6529a90
File tree
2 files changed
+461
-0
lines changed- backends/cadence/hifi/operators
- tests
2 files changed
+461
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
194 | 216 | | |
195 | 217 | | |
196 | 218 | | |
0 commit comments