class_docstr: Container for ONNX models mirroring Sklearn anomaly detection API.
class_docstr_tok: ["Container","for","ONNX","models","mirroring","Sklearn","anomaly","detection","API","."]
code: def _decision_function(self, *inputs):
      assert len(self._output_names) == 2
  
      named_inputs = self._get_named_inputs(inputs)
  
      return np.array(
          self._session.run([self._output_names[1]], named_inputs)[0]
      ).flatten()
  
imports: import pickle
  import os
  import numpy
  import shutil
  import torch
  import warnings
  import hummingbird
  from hummingbird.ml._utils import onnx_runtime_installed, from_strings_to_ints, dump_versions, check_dumped_versions
  from hummingbird.ml.operator_converters import constants
  from hummingbird.ml.containers._sklearn_api_containers import SklearnContainer, SklearnContainerTransformer, SklearnContainerRegression, SklearnContainerClassification, SklearnContainerAnomalyDetection
  import onnx
label_desc: Use image node_id 1 for calling the ONNXSklearnContainerAnomalyDetection obj's underlying member method code with example usage: obj._decision_function() and returns: np