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

Method _aug_mapper

tensorpack/dataflow/image.py:117–122  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

115 self.augs.reset_state()
116
117 def _aug_mapper(self, x):
118 check_dtype(x)
119 with self._exception_handler.catch():
120 if self._copy:
121 x = copy_mod.deepcopy(x)
122 return self.augs.augment(x)
123
124
125class AugmentImageCoordinates(MapData):

Callers

nothing calls this directly

Calls 3

check_dtypeFunction · 0.85
catchMethod · 0.80
augmentMethod · 0.80

Tested by

no test coverage detected