MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / __init__

Method __init__

timm/models/layers/space_to_depth.py:31–36  ·  view source on GitHub ↗
(self, no_jit=False)

Source from the content-addressed store, hash-verified

29
30class SpaceToDepthModule(nn.Module):
31 def __init__(self, no_jit=False):
32 super().__init__()
33 if not no_jit:
34 self.op = SpaceToDepthJit()
35 else:
36 self.op = SpaceToDepth()
37
38 def forward(self, x):
39 return self.op(x)

Callers

nothing calls this directly

Calls 3

SpaceToDepthJitClass · 0.85
SpaceToDepthClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected