MCPcopy Create free account
hub / github.com/Ropedia/SpatialBench / _dispatch

Method _dispatch

benchmark/utils/cropping.py:69–70  ·  view source on GitHub ↗
(self, func, *args, **kwargs)

Source from the content-addressed store, hash-verified

67 return ImageList(self._dispatch('crop', *args, **kwargs))
68
69 def _dispatch(self, func, *args, **kwargs):
70 return [getattr(im, func)(*args, **kwargs) for im in self.images]
71
72
73# ---- Crop/resize functions ----

Callers 2

resizeMethod · 0.95
cropMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected