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

Method __init__

monai/transforms/utility/array.py:763–770  ·  view source on GitHub ↗

Args: delay_time: The minimum amount of time, in fractions of seconds, to accomplish this delay task.

(self, delay_time: float = 0.0)

Source from the content-addressed store, hash-verified

761 backend = [TransformBackends.TORCH, TransformBackends.NUMPY]
762
763 def __init__(self, delay_time: float = 0.0) -> None:
764 """
765 Args:
766 delay_time: The minimum amount of time, in fractions of seconds,
767 to accomplish this delay task.
768 """
769 super().__init__()
770 self.delay_time: float = delay_time
771
772 def __call__(self, img: NdarrayOrTensor, delay_time: float | None = None) -> NdarrayOrTensor:
773 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected