class_docstr: SSL Specific variant of the Classy Vision tensorboard hook
class_docstr_tok: ["SSL","Specific","variant","of","the","Classy","Vision","tensorboard","hook"]
docstr: Called at the end of training.
docstr_tok: ["Called","at","the","end","of","training","."]
code: def on_end(self, task: "tasks.ClassyTask") -> None:
      """
      Called at the end of training.
      """
      if self.log_activation_statistics and is_primary():
          self.activation_watcher.stop()
  
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 3 for calling the SSLTensorboardHook obj's underlying member method code with example usage: obj.on_end(task) without return types