Method
__init__
(self, roi_scale: Sequence[float] | float, lazy: bool = False)
Source from the content-addressed store, hash-verified
| 543 | """ |
| 544 | |
| 545 | def __init__(self, roi_scale: Sequence[float] | float, lazy: bool = False): |
| 546 | super().__init__(lazy=lazy) |
| 547 | self.roi_scale = roi_scale |
| 548 | |
| 549 | def __call__(self, img: torch.Tensor, lazy: bool | None = None) -> torch.Tensor: # type: ignore[override] |
| 550 | img_size = img.peek_pending_shape() if isinstance(img, MetaTensor) else img.shape[1:] |
Callers
nothing calls this directly
Tested by
no test coverage detected