| 46 | workspace{workspace} {} |
| 47 | |
| 48 | std::string ConvolutionBackwardDataImpl::AlgoBase::SizeArgs::to_string() const { |
| 49 | auto&& fm = filter_meta; |
| 50 | MEGDNN_MARK_USED_VAR(fm); |
| 51 | return ssprintf( |
| 52 | "filter=%u{%u,%u,%u,%u}, diff=%s, grad=%s, " |
| 53 | "pad=%ux%u, stride=%ux%u, dilate=%ux%u, xcorr=%d, dtype=%s,%s", |
| 54 | fm.group, fm.ocpg, fm.icpg, fm.spatial[0], fm.spatial[1], |
| 55 | diff_layout->to_string().c_str(), grad_layout->to_string().c_str(), |
| 56 | fm.padding[0], fm.padding[1], fm.stride[0], fm.stride[1], fm.dilation[0], |
| 57 | fm.dilation[1], !fm.should_flip, diff_layout->dtype.name(), |
| 58 | grad_layout->dtype.name()); |
| 59 | } |
| 60 | |
| 61 | convolution::MIOpenCacheKey ConvolutionBackwardDataImpl::AlgoBase::SizeArgs:: |
| 62 | to_miopen_algo_cache_key() const { |
no test coverage detected