code: def finish_loop() -> None:
      """
      Finish the loop and flush all the loop related monitoring stats.
      """
      _internal().finish_loop()
  
imports: import functools
  from typing import Iterable, Sized, Collection, Callable, Tuple, Any, Dict
  from typing import Union, Optional, overload
  from labml.internal.monitor import TimeSummary
  from labml.internal.monitor import monitor_singleton
label_desc: Use image node_id 17 for calling a global function with example usage: finish_loop() without return types