code: def convert_sklearn_hist_gbdt_regressor(
      operator, device, extra_config
  ):
      """
      Converter for `sklearn.ensemble.HistGradientBoostingRegressor`
  
      Args:
          operator: An operator wrapping a `sklearn.ensemble.HistGradientBoostingRegressor` 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
      """
      assert operator is not None, "Cannot convert None operator"
  
      # Get tree information out of the operator.
      tree_infos = operator.raw_operator._predictors
      tree_infos = [tree_infos[i][0] for i in range(len(tree_infos))]
      n_features = _get_n_features(operator.raw_operator)
      extra_config[constants.BASE_PREDICTION] = [
          [operator.raw_operator._baseline_prediction]
      ]
  
      return convert_gbdt_common(
          operator,
          tree_infos,
          _get_parameters_hist_gbdt,
          n_features,
          None,
          extra_config,
      )
  
file_path: hummingbird/hummingbird/ml/operator_converters/sklearn/gbdt.py
imports: import numpy
  from onnxconverter_common.registration import register_converter
  from ..None import constants
  from .._gbdt_commons import convert_gbdt_common, convert_gbdt_classifier_common
  from .._tree_commons import get_parameters_for_sklearn_common, get_parameters_for_tree_trav_sklearn, TreeParameters
label_desc: Use image node_id 6 for calling a global function with example usage: convert_sklearn_hist_gbdt_regressor(operator, device, extra_config) and returns: convert_gbdt_common