class_docstr: Tracks the average time elapsed over multiple steps.
class_docstr_tok: ["Tracks","the","average","time","elapsed","over","multiple","steps","."]
docstr: Returns a string of reduced times.
code: def summary_str(self, reduction="mean"):
      """Returns a string of reduced times."""
      strings = [
          f"{k}={v:.04f}" for k, v in self.summary(reduction).items()
      ]
      return ", ".join(strings)
  
imports: import collections
  from concurrent import futures
  import contextlib
  import functools
  import time
  from typing import List, Union
  import jax
  from jax import tree_util
  import jax.numpy
  import numpy
  from scipy import interpolate
  from scipy.spatial import transform
  import tqdm
label_desc: Use image node_id 8 for calling the TimeTracker obj's underlying member method code with example usage: obj.summary_str(reduction) and returns: str