class_docstr: Callback that record the mean and std of activations.
docstr: Recursively flatten a [nested] tuple
docstr_tok: ["Recursively","flatten","a","[","nested","]","tuple"]
code: def _flatten_tuple(self, o_tuple):
      "Recursively flatten a [nested] tuple"
      res = []
      for it in o_tuple:
          if isinstance(it, tuple):
              res += self._flatten_tuple(it)
          else:
              res += [it]
      return tuple(res)
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 5 for calling the ActivationStats obj's underlying member method code with example usage: obj._flatten_tuple(o_tuple) and returns: tuple