| 8 | using Param = DctChannelSelectForward::Param; |
| 9 | |
| 10 | static inline FixCase get_fix_mask(Param::FastImpl impl) { |
| 11 | std::vector<int> fix_32_mask_offset{0, 16, 24, 32}; |
| 12 | std::vector<int> fix_32_mask_val{0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, |
| 13 | 25, 18, 11, 4, 5, 0, 1, 8, 16, 9, 2, |
| 14 | 3, 10, 0, 1, 8, 16, 9, 2, 3, 10}; |
| 15 | megdnn_assert(impl == Param::FastImpl::FIX_32_MASK, "only support gen FIX_32_MASK"); |
| 16 | return {fix_32_mask_offset, fix_32_mask_val}; |
| 17 | } |
| 18 | |
| 19 | CheckerHelper::TensorsConstriant gen_dct_constriant( |
| 20 | const size_t /* n */, const size_t ic, const size_t ih, const size_t iw, |
no outgoing calls
no test coverage detected