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

Method __init__

monai/transforms/compose.py:592–602  ·  view source on GitHub ↗
(
        self,
        transforms: Sequence[Callable] | Callable | None = None,
        map_items: bool = True,
        unpack_items: bool = False,
        log_stats: bool | str = False,
        lazy: bool | None = False,
        overrides: dict | None = None,
    )

Source from the content-addressed store, hash-verified

590 """
591
592 def __init__(
593 self,
594 transforms: Sequence[Callable] | Callable | None = None,
595 map_items: bool = True,
596 unpack_items: bool = False,
597 log_stats: bool | str = False,
598 lazy: bool | None = False,
599 overrides: dict | None = None,
600 ) -> None:
601 super().__init__(transforms, map_items, unpack_items, log_stats, lazy, overrides)
602 self.log_stats = log_stats
603
604 def __call__(self, input_, start=0, end=None, threading=False, lazy: bool | None = None):
605 if start != 0:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected