!49504 文档更新 - MultiMarginLoss

Merge pull request !49504 from OwenSec/master
This commit is contained in:
i-robot 2023-03-02 05:15:37 +00:00 committed by Gitee
commit 4de1098fc1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -1331,7 +1331,7 @@ class MultiMarginLoss(LossBase):
ValueError: If rank of `x` is not 2 or rank of 'target' is not 1.
Supported Platforms:
``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> x = Tensor(np.ones(shape=[3, 3]), mindspore.float32)

View File

@ -2978,7 +2978,7 @@ class MultiMarginLoss(Primitive):
Refer to :func:`mindspore.ops.multi_margin_loss` for more details.
Supported Platforms:
``Ascend`` ``CPU``
``Ascend`` ``GPU`` ``CPU``
Examples:
>>> x = Tensor(np.ones(shape=[3, 3]), mindspore.float32)