MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _transform

Method _transform

monai/data/dataset.py:436–438  ·  view source on GitHub ↗
(self, index: int)

Source from the content-addressed store, hash-verified

434 return _item_transformed
435
436 def _transform(self, index: int):
437 pre_random_item = self._cachecheck(self.data[index])
438 return self._post_transform(pre_random_item)
439
440
441class CacheNTransDataset(PersistentDataset):

Callers

nothing calls this directly

Calls 2

_cachecheckMethod · 0.95
_post_transformMethod · 0.95

Tested by

no test coverage detected