forked from mindspore-Ecosystem/mindspore
!49504 文档更新 - MultiMarginLoss
Merge pull request !49504 from OwenSec/master
This commit is contained in:
commit
4de1098fc1
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue