MCPcopy Create free account
hub / github.com/mindee/doctr / __init__

Method __init__

doctr/transforms/modules/base.py:37–38  ·  view source on GitHub ↗
(self, transforms: list[Callable[[Any, Any], tuple[Any, Any]]])

Source from the content-addressed store, hash-verified

35 _children_names: list[str] = ["sample_transforms"]
36
37 def __init__(self, transforms: list[Callable[[Any, Any], tuple[Any, Any]]]) -> None:
38 self.sample_transforms = transforms
39
40 def __call__(self, x: Any, target: Any) -> tuple[Any, Any]:
41 for t in self.sample_transforms:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected