MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / to_string

Method to_string

dnn/src/rocm/convolution/forward/algo.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 workspace{workspace} {}
51
52std::string ConvolutionForwardImpl::AlgoBase::SizeArgs::to_string() const {
53 auto&& fm = filter_meta;
54 MEGDNN_MARK_USED_VAR(fm);
55 return ssprintf(
56 "src=%s, filter=%u{%u,%u,%u,%u}, dst=%s, "
57 "pad=%ux%u, stride=%ux%u, dilate=%ux%u, xcorr=%d, dtype=%s,%s",
58 src_layout->to_string().c_str(), fm.group, fm.ocpg, fm.icpg, fm.spatial[0],
59 fm.spatial[1], dst_layout->to_string().c_str(), fm.padding[0],
60 fm.padding[1], fm.stride[0], fm.stride[1], fm.dilation[0], fm.dilation[1],
61 !fm.should_flip, src_layout->dtype.name(), dst_layout->dtype.name());
62}
63
64convolution::MIOpenCacheKey ConvolutionForwardImpl::AlgoBase::SizeArgs::
65 to_miopen_algo_cache_key() const {

Callers 2

execMethod · 0.45

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected