!45870 Fix summary example error
Merge pull request !45870 from maning202007/code_docs_fix_summary_example
This commit is contained in:
commit
810019e13c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue