code: def after_batch(self):
      context = (
          {"subset": "train"} if self.training else {"subset": "val"}
      )
  
      self._run.track(
          self.loss.item(),
          name="train_loss",
          step=self.train_iter,
          context=context,
      )
      for i, h in enumerate(self.opt.hypers):
          for k, v in h.items():
              self._run.track(
                  v, f"{k}_{i}", step=self.train_iter, context=context
              )
  
file_path: aim/aim/sdk/adapters/fastai.py
imports: from logging import getLogger
  from typing import Optional
  from aim.sdk.run import Run
  from aim.ext.resource.configs import DEFAULT_SYSTEM_TRACKING_INT
label_desc: Use image node_id 5 for calling the AimCallback obj's underlying member method code with example usage: obj.after_batch() without return types