code: def add_embedding_regularization_to_loss_dict(
      self, loss_dict, embeddings
  ):
      if self.embedding_regularizer is not None:
          loss_dict[
              "embedding_reg_loss"
          ] = self.embedding_regularization_loss(embeddings)
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/mixins.py
imports: import torch
  from ..utils import common_functions
label_desc: Use image node_id 3 for calling the EmbeddingRegularizerMixin obj's underlying member method code with example usage: obj.add_embedding_regularization_to_loss_dict(loss_dict, embeddings) without return types