Commit ea01c72
committed
Fix duplicate symbol getGenOpMix<ONNXRoundOp>
`getGenOpMix<ONNXRoundOp>` is used in src/Conversion/ONNXToKrnl/Quantization/QuantizeLinear.cpp.
There, it can only see the generic definition of the template in
`src/Conversion/ONNXToKrnl/ONNXToKrnlCommon.hpp`.
But there is also a explicit specialization in src/Conversion/ONNXToKrnl/Math/Elementwise.cpp.
To ensure that the explicit specialization is used instead of
instantiating the generic template, forward declare the explicit specialization.1 parent b654c07 commit ea01c72
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
| |||
0 commit comments