repair format problem in concat op

pull/1196/head
ms_yan 5 years ago
parent 92d196f054
commit 33f3aee9da

@ -617,10 +617,10 @@ class Dataset:
Args: Args:
datasets (list or class Dataset): A list of datasets or a single class Dataset datasets (list or class Dataset): A list of datasets or a single class Dataset
to be concated together with this dataset. to be concatenated together with this dataset.
Returns: Returns:
ConcatDataset, dataset concated. ConcatDataset, dataset concatenated.
Examples: Examples:
>>> import mindspore.dataset as ds >>> import mindspore.dataset as ds
@ -1741,7 +1741,7 @@ class ConcatDataset(DatasetOp):
The result of applying concat dataset operator to the input Dataset. The result of applying concat dataset operator to the input Dataset.
Args: Args:
datasets (list): A list of datasets to be concated together. datasets (list): A list of datasets to be concatenated together.
Raises: Raises:
TypeError: If dataset is not an instance of Dataset. TypeError: If dataset is not an instance of Dataset.

@ -903,7 +903,7 @@ def check_zip_dataset(method):
def check_concat(method): def check_concat(method):
"""check the input arguments of concat_dataset method in `Dataset`.""" """check the input arguments of concat method in `Dataset`."""
@wraps(method) @wraps(method)
def new_method(*args, **kwargs): def new_method(*args, **kwargs):

Loading…
Cancel
Save