mlx.nn.Softshrink# class Softshrink(lambd=0.5)# 应用 Softshrink 函数。 请参阅 softshrink() 以获得功能等效项。 参数: lambd – Softshrink 的 \(\lambda\) 值。默认值:0.5 方法