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

Method __call__

monai/transforms/compose.py:374–389  ·  view source on GitHub ↗
(self, input_, start=0, end=None, threading=False, lazy: bool | None = None)

Source from the content-addressed store, hash-verified

372 return len(self.flatten().transforms)
373
374 def __call__(self, input_, start=0, end=None, threading=False, lazy: bool | None = None):
375 _lazy = self._lazy if lazy is None else lazy
376 result = execute_compose(
377 input_,
378 transforms=self.transforms,
379 start=start,
380 end=end,
381 map_items=self.map_items,
382 unpack_items=self.unpack_items,
383 lazy=_lazy,
384 overrides=self.overrides,
385 threading=threading,
386 log_stats=self.log_stats,
387 )
388
389 return result
390
391 def inverse(self, data):
392 self._raise_if_not_invertible(data)

Callers

nothing calls this directly

Calls 1

execute_composeFunction · 0.85

Tested by

no test coverage detected