code: def set_default_stats(
      self, query_emb, ref_emb, query_emb_normalized, ref_emb_normalized
  ):
      if self.collect_stats:
          with torch.no_grad():
              self.initial_avg_query_norm = torch.mean(
                  self.get_norm(query_emb)
              ).item()
              self.initial_avg_ref_norm = torch.mean(
                  self.get_norm(ref_emb)
              ).item()
              self.final_avg_query_norm = torch.mean(
                  self.get_norm(query_emb_normalized)
              ).item()
              self.final_avg_ref_norm = torch.mean(
                  self.get_norm(ref_emb_normalized)
              ).item()
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/distances/base_distance.py
imports: import torch
  from ..utils.module_with_records import ModuleWithRecords
label_desc: Use image node_id 11 for calling the BaseDistance obj's underlying member method code with example usage: obj.set_default_stats(query_emb, ref_emb, query_emb_normalized, ref_emb_normalized) without return types