code: def element_reduction(self, losses, *_):
      return torch.sum(losses)
  
imports: import torch
  from pytorch_metric_learning.reducers import MeanReducer
label_desc: Use image node_id 1 for calling the SumReducer obj's underlying member method code with example usage: obj.element_reduction(losses) and returns: torch