parameters: (self, model_path, dev_type=None, dev_id=None, error_log_file=None, use_default_dlr=False)
docstring: Load a Neo-compiled model.
  
          Parameters
          ----------
          model_path : str
              Full path to the directory containing the compiled model artifacts (.so, .params, .json)
          dev_type : str
              Device type ('cpu', 'gpu', or 'opencl')
          dev_id : int (optional)
              Device ID. Default is 0.
          error_log_file: str (optional)
              File to log errors to.
          use_default_dlr: bool
              DLR will load libdlr.so from the compiled model artifacts if it is available. This
              setting can override that behavior to use the system installed DLR when use_default_dlr
              is True.
docstring_summary: Load a Neo-compiled model.
docstring_tokens: Load a Neo - compiled model .
function: def __init__(self, model_path, dev_type=None, dev_id=None, error_log_file=None, use_default_dlr=False):
          """
          Load a Neo-compiled model.
  
          Parameters
          ----------
          model_path : str
              Full path to the directory containing the compiled model artifacts (.so, .params, .json)
          dev_type : str
              Device type ('cpu', 'gpu', or 'opencl')
          dev_id : int (optional)
              Device ID. Default is 0.
          error_log_file: str (optional)
              File to log errors to.
          use_default_dlr: bool
              DLR will load libdlr.so from the compiled model artifacts if it is available. This
              setting can override that behavior to use the system installed DLR when use_default_dlr
              is True.
          """
          self.neo_logger = create_logger(log_file=error_log_file)
          try:
              # Find correct runtime implementation for the model
              self._model = model_path
              from .dlr_model import DLRModelImpl
              if dev_type is None:
                  dev_type = 'cpu'
              if dev_id is None:
                  dev_id = 0
              self._impl = DLRModelImpl(model_path, dev_type, dev_id, error_log_file, use_default_dlr)
          except Exception as ex:
              self.neo_logger.exception("error in DLRModel instantiation {}".format(ex))
              raise ex
function_tokens: def __init__ ( self , model_path , dev_type = None , dev_id = None , error_log_file = None , use_default_dlr = False ) : self . neo_logger = create_logger ( log_file = error_log_file ) try : # Find correct runtime implementation for the model self . _model = model_path from . dlr_model import DLRModelImpl if dev_type is None : dev_type = 'cpu' if dev_id is None : dev_id = 0 self . _impl = DLRModelImpl ( model_path , dev_type , dev_id , error_log_file , use_default_dlr ) except Exception as ex : self . neo_logger . exception ( "error in DLRModel instantiation {}" . format ( ex ) ) raise ex