Skip

class tfdatacompose.skip.Skip(count: int)

Dataset skip operation.

Wraps the Tensorflow Skip operation on the dataset. Skips a given count of elements from the dataset.

Parameters:

count – the number of elements to skip

apply(dataset: DatasetV1) DatasetV1

Applies the operation on the given dataset and returns the new dataset.

Parameters:

datasetTensorflow Dataset The dataset to change

Returns:

Tensorflow Dataset The changed dataset