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

Method __init__

timm/models/levit.py:217–220  ·  view source on GitHub ↗
(self, stride, resolution)

Source from the content-addressed store, hash-verified

215
216class Subsample(nn.Module):
217 def __init__(self, stride, resolution):
218 super().__init__()
219 self.stride = stride
220 self.resolution = resolution
221
222 def forward(self, x):
223 B, N, C = x.shape

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected