mlx.nn.HardTanh

目录

mlx.nn.HardTanh#

class HardTanh#

应用 HardTanh 函数。

请参阅 hard_tanh() 以获取函数形式的等效用法。

方法