!7817 modify Retruns

Merge pull request !7817 from lijiaqi/return
pull/7817/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 7852adf12c

@ -318,7 +318,7 @@ class Parameter(MetaTensor_):
data (Union[Tensor, MetaTensor, int, float]): new data.
slice_shape (bool): If slice the Parameter, will not check if shape is match. Default: False.
Retruns:
Returns:
Parameter, the parameter after set data.
"""
def raise_type_error(incoming):

@ -80,7 +80,7 @@ def package_graph_event(data):
Args:
data (Bytes): Graph bytes string.
Retruns:
Returns:
Event, event log object.
"""
graph_event = Event()
@ -209,7 +209,7 @@ def _fill_tensor_summary(tag: str, np_value, summary_tensor):
np_value (Type): Summary data type.
summary_tensor (Tensor): The tensor of summary.
Retruns:
Returns:
Summary, return tensor summary content.
"""
logger.debug(f"Set({tag}) the tensor summary value")

Loading…
Cancel
Save