class_docstr: An abstract base class for a training task.
  
  A ClassyTask encapsulates all the components and steps needed
  to train using a :class:`classy_vision.trainer.ClassyTrainer`.
class_docstr_tok: ["An","abstract","base","class","for","a","training","task",".","A","ClassyTask","encapsulates","all","the","components","and","steps","needed","to","train","using","a",":","class",":","`","classy_vision.trainer.ClassyTrainer","`","."]
docstr: Constructs a ClassyTask.
docstr_tok: ["Constructs","a","ClassyTask","."]
code: def __init__(self) -> "ClassyTask":
      """
      Constructs a ClassyTask.
      """
      self.hooks = []
      log_class_usage("Task", self.__class__)
  
file_path: ClassyVision/classy_vision/tasks/classy_task.py
imports: from abc import ABC, abstractmethod
  from typing import Any, Dict
  from classy_vision.generic.util import log_class_usage
label_desc: Use image node_id 1 to create a new ClassyTask object from inherited base classes: ABC with example: obj = ClassyTask()