class_docstr: Abstract interface to override to either collect or stream
  statistics as they are produced
class_docstr_tok: ["Abstract","interface","to","override","to","either","collect","or","stream","statistics","as","they","are","produced"]
code: def consume(self, stat: ActivationStatistics):
      pass
  
imports: import abc
  from typing import NamedTuple, Set
  import numpy
  import torch
  import torch.nn
label_desc: Use image node_id 1 for calling the ActivationStatisticsObserver obj's underlying member method code with example usage: obj.consume(stat) without return types