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

Method forward

imperative/python/megengine/module/vision.py:878–882  ·  view source on GitHub ↗
(self, inp)

Source from the content-addressed store, hash-verified

876 self.interp_mode = interp_mode
877
878 def forward(self, inp):
879 assert isinstance(
880 inp, Tensor
881 ), "expected input is megengine.Tensor, got {}".format(type(inp))
882 return rotate(inp, self.angle, self.format, self.interp_mode)
883
884
885class Remap(Module):

Callers

nothing calls this directly

Calls 2

rotateFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected