MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / __call__

Method __call__

slowfast/visualization/async_predictor.py:213–218  ·  view source on GitHub ↗

How many results are ready to be returned.

(self, task)

Source from the content-addressed store, hash-verified

211 self.result_data[idx] = res
212
213 def __call__(self, task):
214 """
215 How many results are ready to be returned.
216 """
217 self.put(task)
218 return self.get()
219
220 def shutdown(self):
221 for _ in self.procs:

Callers

nothing calls this directly

Calls 2

putMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected