pfhedge.nn.functional.leaky_clamp¶
- pfhedge.nn.functional.leaky_clamp(input, min=None, max=None, clamped_slope=0.01, inverted_output='mean')[source]¶
Leakily clamp all elements in
inputinto the range \([\min, \max]\).See
pfhedge.nn.LeakyClampfor details.