docstr: Load an openVINO model.
  
  :param model_path: String. The file path to the OpenVINO IR xml file.
  :return:
docstr_tok: ["Load","an","openVINO","model",".",":","param","model_path",":","String",".","The","file","path","to","the","OpenVINO","IR","xml","file",".",":","return",":"]
code: def load(self, model_path: str) -> None:
      """
      Load an openVINO model.
  
      :param model_path: String. The file path to the OpenVINO IR xml file.
      :return:
      """
      self.node_num, self.core_num = get_node_and_core_number()
      invalidInputError(
          isinstance(model_path, str),
          "The model_path should be string.",
      )
      invalidInputError(
          os.path.exists(model_path), "The model_path should be exist."
      )
      with open(model_path, "rb") as file:
          self.model_bytes = file.read()
  
      with open(
          model_path[: model_path.rindex(".")] + ".bin", "rb"
      ) as file:
          self.weight_bytes = file.read()
  
      ie = IECore()
      config = {"CPU_THREADS_NUM": str(self.core_num)}
      ie.set_config(config, "CPU")
      net = ie.read_network(
          model=self.model_bytes,
          weights=self.weight_bytes,
          init_from_buffer=True,
      )
      self.inputs = list(net.input_info.keys())
      self.output_dict = {k: v.shape for k, v in net.outputs.items()}
      del net
      del ie
  
imports: import math
  import os.path
  from pyspark.sql import DataFrame
  from pyspark.sql import Row
  from bigdl.orca.data import SparkXShards
  from bigdl.orca.learn.spark_estimator import Estimator
  from bigdl.dllib.utils.common import get_node_and_core_number
  from bigdl.dllib.utils import nest
  from bigdl.dllib.nncontext import init_nncontext
  from bigdl.orca.data.utils import spark_df_to_pd_sparkxshards
  from bigdl.orca.learn.utils import process_xshards_of_pandas_dataframe, add_predict_to_pd_xshards
  from openvino.inference_engine import IECore
  import numpy
  from bigdl.orca.learn.utils import openvino_output_to_sdf
  from bigdl.dllib.utils.log4Error import invalidInputError
  from typing import Dict, List, Optional, Union
label_desc: Use image node_id 7 for calling the OpenvinoEstimator obj's underlying member method code with example usage: obj.load(model_path) without return types