class_docstr: Hook used for the implementation of iBOT (https://arxiv.org/pdf/2111.07832.pdf)
  - Handles the creation of the EMA teacher
  - Handles the forward of the EMA teacher
  - Handles the configuration of the DINO Loss
code: def on_update(self, task: "tasks.ClassyTask") -> None:
      MomentumTeacherInLossHook.update_momentum_network(
          task,
          init_teacher_momentum=task.loss.teacher_momentum,
          with_cosine_schedule=True,
      )
  
file_path: vissl/vissl/hooks/ibot_hooks.py
imports: import torch
  from classy_vision import tasks
  from classy_vision.hooks.classy_hook import ClassyHook
  from vissl.hooks.hook_utils import MomentumTeacherInLossHook
label_desc: Use image node_id 4 for calling the IBOTHook obj's underlying member method code with example usage: obj.on_update(task) without return types