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

Method forward

examples/common/model_loader.py:138–141  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

136 return 14
137
138 def forward(self, *args, **kwargs):
139 features = self.inner.visual.trunk.forward_features(*args, **kwargs)
140 token = self.inner.visual.trunk.attn_pool(features)
141 return self._wrap_output(token, features)
142
143class SigLIP2Wrapper(CLIPWrapper):
144 def __init__(self, clip_model, tokenizer, proc, adaptor_name, clip_mode = False, patch_size: int = 16, is_dynamic: bool = True):

Callers

nothing calls this directly

Calls 2

_wrap_outputMethod · 0.80
forward_featuresMethod · 0.45

Tested by

no test coverage detected