docstr: This has to be implemented and is what actually computes the loss.
docstr_tok: ["This","has","to","be","implemented","and","is","what","actually","computes","the","loss","."]
code: def compute_loss(
      self, embeddings, labels, indices_tuple, ref_emb, ref_labels
  ):
      """
      This has to be implemented and is what actually computes the loss.
      """
      raise NotImplementedError
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/base_metric_loss_function.py
imports: import inspect
  from ..utils import common_functions
  from ..utils.module_with_records_and_reducer import ModuleWithRecordsReducerAndDistance
  from .mixins import EmbeddingRegularizerMixin
label_desc: Use image node_id 1 for calling the BaseMetricLossFunction obj's underlying member method code with example usage: obj.compute_loss(embeddings, labels, indices_tuple, ref_emb, ref_labels) without return types