class_docstr: Base class for tuners
  
  Parameters
  ----------
  task: autotvm.task.Task
      Tuning Task
class_docstr_tok: ["Base","class","for","tuners","Parameters","--","--","--","--","--","task",":","autotvm.task.Task","Tuning","Task"]
code: def __init__(self, task, **kwargs):
      self.param = kwargs
      self.recorder = None
  
      self.task = task
      self.space = self.task.config_space
  
      # keep the current best
      self.best_config = None
      self.best_flops = 0
      self.best_measure_pair = None
      self.best_iter = 0
      self.error_ct_threshold = 150
  
      # time to leave
      self.ttl = None
      self.n_trial = None
      self.early_stopping = None
  
file_path: tvm/python/tvm/autotvm/tuner/tuner.py
imports: import logging
  import tempfile
  import numpy
  from ..measure import MeasureInput, create_measure_batch
  from ..utils import format_si_prefix
  from ..env import GLOBAL_SCOPE
label_desc: Use image node_id 1 to create a new Tuner object from inherited base classes: object with example: obj = Tuner(task)