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
input
into the range \([\min, \max]\).See
pfhedge.nn.LeakyClamp
for details.