!32880 fix example print for Cross

Merge pull request !32880 from yanzhenxiang2020/code_docs_cross_print
This commit is contained in:
i-robot 2022-04-12 09:51:00 +00:00 committed by Gitee
commit ea98f6969c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -6160,7 +6160,7 @@ class Cross(Primitive):
>>> x2 = Tensor([1, 2, 3], mstype.int8)
>>> output = cross(x1, x2)
>>> print(output)
[0, 0, 0]
[0 0 0]
"""
@prim_attr_register