| 160 | } // namespace |
| 161 | |
| 162 | CpuGemmConv2d::WeightTransformMethod CpuGemmConv2d::get_wt_method(const ITensorInfo &weights) |
| 163 | { |
| 164 | // TODO: Extend ReinterpretThenTranspose support for quantized data types COMPMID-6596 |
| 165 | if (is_data_type_quantized(weights.data_type())) |
| 166 | { |
| 167 | return WeightTransformMethod::FusedReshapeAndTranspose; |
| 168 | } |
| 169 | return has_holes(weights) ? WeightTransformMethod::ReshapeThenTranspose |
| 170 | : WeightTransformMethod::ReinterpretThenTranspose; |
| 171 | } |
| 172 | |
| 173 | CpuGemmConv2d::SkipInfo CpuGemmConv2d::skip_im_col_info(const ITensorInfo *src, |
| 174 | const ITensorInfo *weights, |
nothing calls this directly
no test coverage detected