Huber loss.

huber(x, M = 1)

Arguments

x

input vector.

M

M >= 1.