MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / __call__

Method __call__

demo_d2/predictor.py:210–212  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

208 return self.put_idx - self.get_idx
209
210 def __call__(self, image):
211 self.put(image)
212 return self.get()
213
214 def shutdown(self):
215 for _ in self.procs:

Callers

nothing calls this directly

Calls 2

putMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected