Distance Metric, Heurisitic Function

Manhattan Distance (L1 Loss)

The Manhattan Distance is given by This notation is used for Computer Vision:

Resources

  • where is the batch size (not the number of batches)
  • So is the loss of a single batch
  • The actual reduction has two options, either mean or sum (default is mean)