class_docstr: Create Resource to run jobs.
  
  :param connector: Connector to database
  :type connector: AbstractConnector
docstr: Job running implemented for the specific resource manager. 
  It is called by :func:`run_job`.
  
  :param job: a job object
  :type job: Job
  :param rid: resource id returned from :func:`get_available`.
  :type rid: int
  :param exp_config: experiment configuration
  :type exp_config: BasicConfig
  :param call_back_func: function to trigger after job finished
  :type call_back_func: function object
docstr_tok: ["Job","running","implemented","for","the","specific","resource","manager",".","It","is","called","by",":","func",":","`","run_job","`",".",":","param","job",":","a","job","object",":","type","job",":","Job",":","param","rid",":","resource","id","returned","from",":","func",":","`","get_available","`",".",":","type","rid",":","int",":","param","exp_config",":","experiment","configuration",":","type","exp_config",":","BasicConfig",":","param","call_back_func",":","function","to","trigger","after","job","finished",":","type","call_back_func",":","function","object"]
code: def run(self, job, rid, exp_config, call_back_func, **kwargs):
      """
      Job running implemented for the specific resource manager.
      It is called by :func:`run_job`.
  
      :param job: a job object
      :type job: Job
      :param rid: resource id returned from :func:`get_available`.
      :type rid: int
      :param exp_config: experiment configuration
      :type exp_config: BasicConfig
      :param call_back_func: function to trigger after job finished
      :type call_back_func: function object
      """
      raise NotImplementedError
  
imports: import abc
  import copy
  import importlib
  import logging
  import random
  import threading
  import time
  import numpy
  import math
  import warnings
  from ...utils import DEFAULT_AUPTIMIZER_PATH
  from .utils.curve_fitting import CurveModel
label_desc: Use image node_id 11 for calling the AbstractResourceManager obj's underlying member method code with example usage: obj.run(job, rid, exp_config, call_back_func) without return types