MCPcopy Create free account
hub / github.com/NVlabs/RADIO / patch_size

Method patch_size

examples/common/model_loader.py:153–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

151
152 @property
153 def patch_size(self):
154 return self._patch_size
155
156 def forward(self, x: torch.Tensor, *args, **kwargs):
157 out_h = x.shape[-2] // self._patch_size

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected