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

Method calc_conv

imperative/python/megengine/module/conv.py:566–576  ·  view source on GitHub ↗
(self, inp, weight, bias)

Source from the content-addressed store, hash-verified

564 return (1, self.out_channels, 1, 1, 1)
565
566 def calc_conv(self, inp, weight, bias):
567 return conv3d(
568 inp,
569 weight,
570 bias,
571 self.stride,
572 self.padding,
573 self.dilation,
574 self.groups,
575 self.conv_mode,
576 )
577
578 def forward(self, inp):
579 return self.calc_conv(inp, self.weight, self.bias)

Callers 1

forwardMethod · 0.95

Calls 1

conv3dFunction · 0.85

Tested by

no test coverage detected