MCPcopy Create free account
hub / github.com/apple/ml-sharp / __init__

Method __init__

src/sharp/models/normalizers.py:78–80  ·  view source on GitHub ↗

Initialize MobileNetNormalizer.

(self, input_range: tuple[float, float] = (0, 1))

Source from the content-addressed store, hash-verified

76 """Image normalization in mobilenet."""
77
78 def __init__(self, input_range: tuple[float, float] = (0, 1)):
79 """Initialize MobileNetNormalizer."""
80 super().__init__(input_range=input_range, output_range=(-1, 1))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected