update docs for api: tanhshrink
This commit is contained in:
parent
378b787bf1
commit
870852c7aa
|
@ -3,6 +3,6 @@ mindspore.ops.tanhshrink
|
|||
|
||||
.. py:function:: mindspore.ops.tanhshrink(x)
|
||||
|
||||
按元素计算Tanhshrink函数。
|
||||
按元素计算 :math:`Tanhshrink(x)=x-Tanh(x)` 。
|
||||
|
||||
详情请查看 :class:`mindspore.nn.Tanhshrink` 。
|
|
@ -9610,7 +9610,7 @@ def sum(x, dim=None, keepdim=False, *, dtype=None):
|
|||
def tanhshrink(x):
|
||||
'''
|
||||
Applies element-wise, :math:`Tanhshrink(x)=x-Tanh(x)` .
|
||||
see :class:`mindspore.nn.Tanhshrink` for more details.
|
||||
See :class:`mindspore.nn.Tanhshrink` for more details.
|
||||
|
||||
Supported Platforms:
|
||||
``Ascend`` ``GPU`` ``CPU``
|
||||
|
|
Loading…
Reference in New Issue