mindspore.Tensor.hardshrink

View Source On Gitee
Tensor.hardshrink(lambd=0.5)[source]

For details, please refer to mindspore.ops.hardshrink().