Browse Source

!601 [Data]Fix the nonstandard comments (add space, add function type)

Merge pull request !601 from xulei/filter_master
tags/v0.3.0-alpha
mindspore-ci-bot Gitee 5 years ago
parent
commit
78bbacdaac
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      mindspore/dataset/engine/datasets.py

+ 4
- 4
mindspore/dataset/engine/datasets.py View File

@@ -428,11 +428,11 @@ class Dataset:
If input_columns not provided or empty, all columns will be used. If input_columns not provided or empty, all columns will be used.


Args: 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 num_parallel_workers (int, optional): Number of workers to process the Dataset
in parallel (default=None).
in parallel (default=None).


Returns: Returns:
FilterDataset, dataset filter. FilterDataset, dataset filter.


Loading…
Cancel
Save