!47716 [docs] True divide supported platforms

Merge pull request !47716 from shaojunsong/code_docs_true_divide
This commit is contained in:
i-robot 2023-01-10 08:58:58 +00:00 committed by Gitee
commit 3089abbe74
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 3 additions and 0 deletions

View File

@ -815,6 +815,9 @@ def subtract(x, other, *, alpha=1):
def true_divide(dividend, divisor):
r"""
Alias for :func:`mindspore.ops.div` with :math:`rounding\_mode=None`.
Supported Platforms:
``Ascend`` ``GPU`` ``CPU``
"""
return div(dividend, divisor, rounding_mode=None)