Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_pad_witdth
Method
get_pad_witdth
imperative/python/megengine/module/conv.py:224–225 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
222
return
(1, self.out_channels, 1)
223
224
def
get_pad_witdth(self):
225
return
((0, 0), (0, 0), (self.padding, self.padding))
226
227
def
calc_conv(self, inp, weight, bias):
228
assert self.padding_mode in [
Callers
1
calc_conv
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected