class_docstr: Args:
      margin: The desired difference between the anchor-positive distance and the
              anchor-negative distance.
      swap: Use the positive-negative distance instead of anchor-negative distance,
            if it violates the margin more.
      smooth_loss: Use the log-exp version of the triplet loss
code: def get_default_reducer(self):
      return AvgNonZeroReducer()
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/triplet_margin_loss.py
imports: import torch
  from ..reducers import AvgNonZeroReducer
  from ..utils import common_functions
  from ..utils import loss_and_miner_utils
  from .base_metric_loss_function import BaseMetricLossFunction
label_desc: Use image node_id 3 for calling the TripletMarginLoss obj's underlying member method code with example usage: obj.get_default_reducer() and returns: AvgNonZeroReducer