| 86 | } |
| 87 | |
| 88 | void ConvPoolingForwardImpl::check_layout( |
| 89 | const TensorLayout& src, const TensorLayout& filter, const TensorLayout& bias, |
| 90 | TensorLayout& dst, size_t /* workspace_limit_in_bytes */ |
| 91 | ) { |
| 92 | TensorLayout dst_expected; |
| 93 | deduce_layout(src, filter, bias, dst_expected); |
| 94 | megdnn_assert_eq_layout(dst_expected, dst); |
| 95 | |
| 96 | megdnn_assert(bias.shape[1] == dst.shape[1]); |
| 97 | megdnn_assert(dst.shape[1] == filter.shape[0]); |
| 98 | } |
| 99 | |
| 100 | void ConvPoolingForwardImpl::exec( |
| 101 | const _megdnn_in TensorND src, const _megdnn_in TensorND filter, |
nothing calls this directly
no test coverage detected