class_docstr: A Tunable Task
  
  Parameters
  ----------
  name: str
      The name of the task.
  args: Tuple
      Positional argument of func
code: def __getstate__(self):
      # custom pickle implementation is required for
      # some unpickable local task functions.
      # So we only pickle the name of the function
      # and restore the function by name when unpickling it.
      import cloudpickle  # pylint: disable=import-outside-toplevel
  
      self.target, self.target_host = Target.canon_target_and_host(
          self.target, self.target_host
      )
      return {
          "name": self.name,
          "args": self.args,
          "kwargs": self.kwargs,
          "config_space": self.config_space,
          "flop": self.flop,
          "target": self.target,
          "target_host": self.target_host,
          "func": cloudpickle.dumps(self.func),
      }
  
imports: import functools
  import numpy
  from tvm import runtime
  from tvm.ir import container
  from tvm.target import Target
  from tvm.te import placeholder, tensor
  from tvm.tir import expr
  from ..utils import get_const_int, get_const_tuple
  from .dispatcher import ApplyConfig, DispatchContext
  from .space import ConfigSpace
label_desc: Use image node_id 4 for calling the Task obj's underlying member method code with example usage: obj.__getstate__() and returns: dict