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

Method get_transform

tensorpack/dataflow/imgaug/misc.py:53–56  ·  view source on GitHub ↗
(self, img)

Source from the content-addressed store, hash-verified

51 self._init(locals())
52
53 def get_transform(self, img):
54 return ResizeTransform(
55 img.shape[0], img.shape[1],
56 self.shape[0], self.shape[1], self.interp)
57
58
59class ResizeShortestEdge(ImageAugmentor):

Callers

nothing calls this directly

Calls 1

ResizeTransformClass · 0.85

Tested by

no test coverage detected