MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / get_transform

Method get_transform

tensorpack/dataflow/imgaug/paste.py:75–76  ·  view source on GitHub ↗
(self, _)

Source from the content-addressed store, hash-verified

73 self._init(locals())
74
75 def get_transform(self, _):
76 return TransformFactory(name=str(self), apply_image=lambda img: self._impl(img))
77
78 def _impl(self, img):
79 img_shape = img.shape[:2]

Callers

nothing calls this directly

Calls 2

_implMethod · 0.95
TransformFactoryClass · 0.85

Tested by

no test coverage detected