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

Method forward

imperative/python/megengine/module/pooling.py:81–82  ·  view source on GitHub ↗
(self, inp)

Source from the content-addressed store, hash-verified

79 """
80
81 def forward(self, inp):
82 return max_pool2d(inp, self.kernel_size, self.stride, self.padding)
83
84
85class AvgPool2d(_PoolNd):

Callers

nothing calls this directly

Calls 1

max_pool2dFunction · 0.85

Tested by

no test coverage detected