code: def test_onnx_imputer_torch(self, rtol=1e-06, atol=1e-06):
      model = SimpleImputer(strategy="constant")
      onnx_ml_pred, onnx_pred = self._test_imputer_converter(
          model, mode="torch"
      )
  
      # Check that predicted values match
      np.testing.assert_allclose(
          onnx_ml_pred, onnx_pred, rtol=rtol, atol=atol
      )
  
file_path: hummingbird/tests/test_onnxml_imputer_converter.py
imports: import unittest
  import warnings
  import numpy
  import torch
  from sklearn.impute import SimpleImputer
  from hummingbird.ml._utils import onnx_ml_tools_installed, onnx_runtime_installed, lightgbm_installed
  from hummingbird.ml import convert
label_desc: Use image node_id 6 for calling the TestONNXImputer obj's underlying member method code with example usage: obj.test_onnx_imputer_torch(rtol, atol) without return types