code: def convert_sklearn_truncated_svd(operator, device, extra_config):
      """
      Converter for `sklearn.decomposition.TruncatedSVD`
  
      Args:
          operator: An operator wrapping a `sklearn.decomposition.TruncatedSVD` transformer
          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"
  
      transform_matrix = operator.raw_operator.components_.transpose()
      return Decomposition(
          operator, None, transform_matrix.astype("float32"), device
      )
  
file_path: hummingbird/hummingbird/ml/operator_converters/sklearn/decomposition.py
imports: import numpy
  from onnxconverter_common.registration import register_converter
  from .._decomposition_implementations import KernelPCA, Decomposition, CrossDecomposition
label_desc: Use image node_id 4 for calling a global function with example usage: convert_sklearn_truncated_svd(operator, device, extra_config) and returns: Decomposition