class_docstr: Parent State class which can contain up to 3 instances of PhaseState, for the 3 phases.
  Modified by the framework, read-only for the user.
code: def __init__(
      self,
      *,
      entry_point: EntryPoint,
      timer: Optional[TimerProtocol] = None,
      train_state: Optional[PhaseState] = None,
      eval_state: Optional[PhaseState] = None,
      predict_state: Optional[PhaseState] = None,
  ) -> None:
      self._entry_point = entry_point
      self._timer = timer
      self._train_state = train_state
      self._eval_state = eval_state
      self._predict_state = predict_state
      self._should_stop: bool = False
      self._active_phase: ActivePhase = ActivePhase.TRAIN
  
imports: import logging
  from enum import auto, Enum
  from typing import Any, Iterable, Optional
  from torchtnt.utils.timer import BoundedTimer, TimerProtocol
label_desc: Use image node_id 1 to create a new State object  with example: obj = State()