MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / __init__

Method __init__

core/utils/transformation.py:386–390  ·  view source on GitHub ↗
(self, out_h=240, out_w=240, out_ch=3, use_cuda=True)

Source from the content-addressed store, hash-verified

384
385class AffineGridGen(Module):
386 def __init__(self, out_h=240, out_w=240, out_ch=3, use_cuda=True):
387 super(AffineGridGen, self).__init__()
388 self.out_h = out_h
389 self.out_w = out_w
390 self.out_ch = out_ch
391
392 def forward(self, theta):
393 b = theta.size()[0]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected