Heaviside surrogate gradient with optional shift.
window (float) – Distance between step of Heaviside surrogate gradient and threshold, relative to threshold.
None