MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / forward

Method forward

encoders/dinov2/hub/utils.py:36–39  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

34
35 @torch.inference_mode()
36 def forward(self, x):
37 pads = list(itertools.chain.from_iterable(self._get_pad(m) for m in x.shape[:1:-1]))
38 output = F.pad(x, pads)
39 return output

Callers

nothing calls this directly

Calls 1

_get_padMethod · 0.95

Tested by

no test coverage detected