class_docstr: Abstract base class for holding custom ``load``, ``invoke`` and ``prepare`` functions.
  
  Provides a skeleton for customization to override the methods
  ``load``, ``invoke`` and ``prepare``.
docstr: Loads the model stored in model_dir and return the model object.
  
  Args:
      model_dir (str): Path to the directory where the model is stored.
docstr_tok: ["Loads","the","model","stored","in","model_dir","and","return","the","model","object",".","Args",":","model_dir","(","str",")",":","Path","to","the","directory","where","the","model","is","stored","."]
code: def load(self, model_dir: str):
      """Loads the model stored in model_dir and return the model object.
  
      Args:
          model_dir (str): Path to the directory where the model is stored.
      """
  
imports: from __future__ import absolute_import
  import abc
label_desc: Use image node_id 1 for calling the InferenceSpec obj's underlying member method code with example usage: obj.load(model_dir) without return types