!45870 Fix summary example error

Merge pull request !45870 from maning202007/code_docs_fix_summary_example
This commit is contained in:
i-robot 2022-11-22 11:41:45 +00:00 committed by Gitee
commit 810019e13c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class HistogramSummary(PrimitiveWithInfer):
>>> set_context(mode=mindspore.GRAPH_MODE)
>>> summary = SummaryDemo()(Tensor([1, 2]), Tensor([3, 4]))
>>> print(summary)
[3, 5]
[4 6]
"""
@prim_attr_register