Pipeline
- class tfdatacompose.pipeline.Pipeline(dataset_operations: List[DatasetOperation])
Composite of Dataset Operations.
Takes a list of Dataset Operations and executes them in order. A pipeline is a dataset operation, therefore, it can be reused in other pipelines.
- Parameters:
dataset_operations – a list of Dataset Operation
- 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