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

Method forward

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

Source from the content-addressed store, hash-verified

89 return self.inner.visual
90
91 def forward(self, *args, **kwargs):
92 enc = self.inner.visual(*args, **kwargs)
93
94 if isinstance(enc, (tuple, list)):
95 token, features = enc
96 else:
97 token, features = enc, None
98
99 return self._wrap_output(token, features)
100
101 def _wrap_output(self, token, features):
102 op = RadioOutput(token, features)

Callers

nothing calls this directly

Calls 1

_wrap_outputMethod · 0.95

Tested by

no test coverage detected