torch.nn.functional.huber_loss
torch.nn.functional.huber_loss(input, target, reduction='mean', delta=1.0)
Function that uses a squared term if the absolute element-wise
   error falls below delta and a delta-scaled L1 term otherwise.
See "HuberLoss" for details.
Return type:
      Tensor