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.
docstr: A :class:`~torchtnt.utils.TimerProtocol` object which can be used for debugging to record latencies of key events during loop execution.
docstr_tok: ["A",":","class",":","`","~torchtnt.utils.TimerProtocol","`","object","which","can","be","used","for","debugging","to","record","latencies","of","key","events","during","loop","execution","."]
code: def timer(self) -> Optional[TimerProtocol]:
      """A :class:`~torchtnt.utils.TimerProtocol` object which can be used for debugging to record latencies of key events during loop execution."""
      return self._timer
  
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 4 for calling the State obj's underlying member method code with example usage: obj.timer() and returns: self