From 33f3aee9dab9b036069be929a24baa57d9483f1f Mon Sep 17 00:00:00 2001 From: ms_yan <6576637+ms_yan@user.noreply.gitee.com> Date: Sat, 16 May 2020 12:15:52 +0800 Subject: [PATCH] repair format problem in concat op --- mindspore/dataset/engine/datasets.py | 8 ++++---- mindspore/dataset/engine/validators.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/dataset/engine/datasets.py index bcf4085a6..20a40d5fb 100644 --- a/mindspore/dataset/engine/datasets.py +++ b/mindspore/dataset/engine/datasets.py @@ -613,14 +613,14 @@ class Dataset: Concat the datasets in the input list of datasets, supported using "+" to reload concat operation. Note: - The column name,column data type and rank of column data should be the same in input datasets. + The column name,column data type and rank of column data should be the same in input datasets. Args: 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: - ConcatDataset, dataset concated. + ConcatDataset, dataset concatenated. Examples: >>> import mindspore.dataset as ds @@ -1741,7 +1741,7 @@ class ConcatDataset(DatasetOp): The result of applying concat dataset operator to the input Dataset. Args: - datasets (list): A list of datasets to be concated together. + datasets (list): A list of datasets to be concatenated together. Raises: TypeError: If dataset is not an instance of Dataset. diff --git a/mindspore/dataset/engine/validators.py b/mindspore/dataset/engine/validators.py index 375ab4dee..f868e3e1e 100644 --- a/mindspore/dataset/engine/validators.py +++ b/mindspore/dataset/engine/validators.py @@ -903,7 +903,7 @@ def check_zip_dataset(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) def new_method(*args, **kwargs): -- GitLab