DatasetOperation
- class tfdatacompose.datasetoperation.DatasetOperation
Base class for dataset operations.
Implement the operation on the dataset in the apply method.
- abstract apply(dataset: DatasetV1) DatasetV1
Applies the operation on the given dataset and returns the new dataset.
- Parameters:
dataset – Tensorflow Dataset The dataset to change
- Returns:
Tensorflow Dataset The changed dataset