class_docstr: Base class for task parameters.
  
  Inherit this class to create a parameter set to connect to a task.
  
  Usage Example:
  class MyParams(TaskParameters):
      iterations = param(
          type=int,
          desc="Number of iterations to run",
          range=(0, 100000),
      )
  
      target_accuracy = percent_param(
          desc="The target accuracy of the model",
      )
class_docstr_tok: ["Base","class","for","task","parameters",".","Inherit","this","class","to","create","a","parameter","set","to","connect","to","a","task",".","Usage","Example",":","class","MyParams","(","TaskParameters",")",":","iterations","=","param","(","type=int",",","desc=","''","Number","of","iterations","to","run","''",",","range=","(","0",",","100000",")",",",")","target_accuracy","=","percent_param","(","desc=","''","The","target","accuracy","of","the","model","''",",",")"]
docstr: :return: A new dictionary with keys are the parameters names and values
      are the corresponding values.
docstr_tok: [":","return",":","A","new","dictionary","with","keys","are","the","parameters","names","and","values","are","the","corresponding","values","."]
code: def to_dict(self):
      """
      :return: A new dictionary with keys are the parameters names and values
          are the corresponding values.
      """
      return attr.asdict(self)
  
file_path: clearml/clearml/task_parameters.py
imports: import six
  import attr
  from attr import validators
label_desc: Use image node_id 1 for calling the TaskParameters obj's underlying member method code with example usage: obj.to_dict() and returns: attr