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

Method set

dnn/src/cuda/convolution/helper.h:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 FilterDesc<param::Convolution> filter_desc;
46 ConvDesc conv_desc;
47 void set(
48 const CanonizedFilterMeta& filter, const TensorLayout& diff,
49 const TensorLayout& grad, const param::Convolution& param) {
50 filter_desc.set(filter);
51 diff_desc.set(diff, param.format);
52 grad_desc.set(grad, param.format);
53 conv_desc.set(filter.dtype, param, filter.group);
54 }
55};
56
57struct CUDNNBwdFilterDescs {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected