class_docstr: Implementation of ActivationStatisticsObserver which logs the
  activation statistics to tensorboard.
class_docstr_tok: ["Implementation","of","ActivationStatisticsObserver","which","logs","the","activation","statistics","to","tensorboard","."]
code: def __init__(self, writer: SummaryWriter):
      self.writer = writer
  
file_path: vissl/vissl/hooks/tensorboard_hook.py
imports: import logging
  import torch
  from classy_vision import tasks
  from classy_vision.generic.distributed_util import is_primary
  from classy_vision.hooks.classy_hook import ClassyHook
  from vissl.utils.activation_statistics import ActivationStatistics, ActivationStatisticsMonitor, ActivationStatisticsObserver
label_desc: Use image node_id 1 to create a new ActivationStatisticsTensorboardWatcher object from inherited base classes: ActivationStatisticsObserver with example: obj = ActivationStatisticsTensorboardWatcher(writer)