diff --git a/mindspore/dataset/engine/datasets.py b/mindspore/dataset/engine/datasets.py index 1e16b5161e0da122f26021fc364f53bead5b2dbf..3d13e733b0a9467ad23ae74f7a6d9cf26e1ffbe6 100644 --- a/mindspore/dataset/engine/datasets.py +++ b/mindspore/dataset/engine/datasets.py @@ -428,11 +428,11 @@ class Dataset: If input_columns not provided or empty, all columns will be used. Args: - predicate: python callable which returns a boolean value. - input_columns: (list[str]): List of names of the input columns, when - default=None, the predicate will be applied on all columns in the dataset. + predicate(callable): python callable which returns a boolean value. + input_columns: (list[str], optional): List of names of the input columns, when + default=None, the predicate will be applied on all columns in the dataset. num_parallel_workers (int, optional): Number of workers to process the Dataset - in parallel (default=None). + in parallel (default=None). Returns: FilterDataset, dataset filter.