hummingbird.ml.operator_converters.sklearn.normalizer¶
Converter for scikit-learn Normalizer.
- hummingbird.ml.operator_converters.sklearn.normalizer.convert_sklearn_normalizer(operator, device, extra_config)[source]¶
Converter for sklearn.preprocessing.Normalizer
- Args:
operator: An operator wrapping a sklearn.preprocessing.Normalizer model device: String defining the type of device the converted operator should be run on extra_config: Extra configuration used to select the best conversion strategy
- Returns:
A PyTorch model