code: def convert_onnx_binarizer(operator, device=None, extra_config={}):
      """
      Converter for `ai.onnx.ml.Binarizer`
  
      Args:
          operator: An operator wrapping a `ai.onnx.ml.Binarizer` 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"
  
      threshold = None
      for attr in operator.raw_operator.origin.attribute:
          if attr.name == "threshold":
              threshold = attr.f
              break
  
      if threshold is None:
          raise RuntimeError(
              "Error parsing Binarizer, found unexpected None"
          )
  
      return Binarizer(operator, threshold, device)
  
label_desc: Use image node_id 1 for calling a global function with example usage: convert_onnx_binarizer(operator, device, extra_config) and returns: Binarizer