MCPcopy
hub / github.com/ytongbai/LVM / __call__

Method __call__

evaluation/vqlm_demo/inference.py:161–168  ·  view source on GitHub ↗
(self, input_images, n_new_frames, n_candidates, temperature=1.0, top_p=1.0)

Source from the content-addressed store, hash-verified

159 return new_images
160
161 def __call__(self, input_images, n_new_frames, n_candidates, temperature=1.0, top_p=1.0):
162 output = []
163 for seq in input_images:
164 output.append(
165 [self.generate_once(seq, n_new_frames, temperature, top_p)
166 for _ in range(n_candidates)]
167 )
168 return output
169
170
171class MultiProcessInferenceModel(InferenceModel):

Callers

nothing calls this directly

Calls 1

generate_onceMethod · 0.95

Tested by

no test coverage detected