code: def __init__(self, optimize_mode="maximize"):
      # optimize_mode is used to demo how to create ClassArgsValidator
      self.optimize_mode = optimize_mode
  
file_path: nni/examples/tuners/customized_tuner/demo_tuner/demo_tuner.py
imports: import random
  import numpy
  from nni.tuner import Tuner
  from nni.utils import ClassArgsValidator
label_desc: Use image node_id 1 to create a new DemoTuner object from inherited base classes: Tuner with example: obj = DemoTuner(optimize_mode)