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

Method init_output_format

src/opr/impl/dnn/convolution.cpp:290–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void ConvolutionForward::init_output_format() {
291 mgb_assert(output().size() == 2);
292 output(0)->format(input(0)->format());
293}
294
295void ConvolutionForward::scn_do_execute() {
296 if (input(0)->dev_tensor().layout().is_empty() ||

Callers

nothing calls this directly

Calls 6

is_lowbit_alignedMethod · 0.80
sizeMethod · 0.45
formatMethod · 0.45
is_defaultMethod · 0.45
validMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected