def METHOD_NAME(self):
    """
    Use the model handler to get the model file path and initialize an ONNX run time inference session.
    """
    # Set up a model handler:
    self._model_handler = ONNXModelHandler(
        model_name=self.model_name,
        model_path=self.model_path,
        model=self.model,
        context=self.context,
    )
    # Load the model:
    if self._model_handler.model is None:
        self._model_handler.METHOD_NAME()
    self.model = self._model_handler.model
    # initialize the onnx run time session:
    self._inference_session = onnxruntime.InferenceSession(
        onnx._serialize(self._model_handler.model),
        providers=self.execution_providers,
    )
    # Get the input layers names:
    self._input_layers = [
        input_layer.name for input_layer in self._inference_session.get_inputs()
    ]
    # Get the outputs layers names:
    self._output_layers = [
        output_layer.name for output_layer in self._inference_session.get_outputs()
    ]