mindspore.Tensor.hardshrink

Tensor.hardshrink(lambd=0.5) Tensor

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