Class FilterDataset
Defined in File datasets.h
Inheritance Relationships
Base Type
public mindspore::dataset::Dataset
(Class Dataset)
Class Documentation
-
class FilterDataset : public mindspore::dataset::Dataset
The result of applying filter predicate to the input Dataset.
Public Functions
Constructor of FilterDataset.
Note
If input_columns is not provided or empty, all columns will be used.
- Parameters
input – [in] The dataset which need to apply filter operation.
predicate – [in] Function callable which returns a boolean value. If false then filter the element.
input_columns – [in] List of names of the input columns to filter.
-
~FilterDataset() override = default
Destructor of FilterDataset.