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: Get the state of the ClassyTask.
  
  The returned state is used for checkpointing.
  
  Args:
      deep_copy: If True, creates a deep copy of the state dict. Otherwise, the
          returned dict's state will be tied to the object's.
  
  Returns:
      A state dictionary containing the state of the task.
docstr_tok: ["Get","the","state","of","the","ClassyTask",".","The","returned","state","is","used","for","checkpointing",".","Args",":","deep_copy",":","If","True",",","creates","a","deep","copy","of","the","state","dict",".","Otherwise",",","the","returned","dict","'s","state","will","be","tied","to","the","object","'s",".","Returns",":","A","state","dictionary","containing","the","state","of","the","task","."]
code: def get_classy_state(self, deep_copy: bool = False) -> Dict[str, Any]:
      """Get the state of the ClassyTask.
  
      The returned state is used for checkpointing.
  
      Args:
          deep_copy: If True, creates a deep copy of the state dict. Otherwise, the
              returned dict's state will be tied to the object's.
  
      Returns:
          A state dictionary containing the state of the task.
      """
      pass
  
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 5 for calling the ClassyTask obj's underlying member method code with example usage: obj.get_classy_state(deep_copy) without return types