class_docstr: Group of timers.
class_docstr_tok: ["Group","of","timers","."]
docstr: Report only min and max times across all ranks.
docstr_tok: ["Report","only","min","and","max","times","across","all","ranks","."]
code: def _get_global_min_max_time(self, names, reset, barrier, normalizer):
      """Report only min and max times across all ranks."""
  
      rank_name_to_time = self._get_elapsed_time_all_ranks(
          names, reset, barrier
      )
      name_to_min_max_time = {}
      for i, name in enumerate(names):
          rank_to_time = rank_name_to_time[:, i]
          # filter out the ones we did not have any timings for
          rank_to_time = rank_to_time[rank_to_time > 0.0]
          # If the timer exists:
          if rank_to_time.numel() > 0:
              name_to_min_max_time[name] = (
                  rank_to_time.min().item() / normalizer,
                  rank_to_time.max().item() / normalizer,
              )
      return name_to_min_max_time
  
imports: from abc import ABC
  from abc import abstractmethod
  import time
  import torch
label_desc: Use image node_id 4 for calling the Timers obj's underlying member method code with example usage: obj._get_global_min_max_time(names, reset, barrier, normalizer) and returns: name_to_min_max_time