Tensorflow.js tf.data.Dataset.skip() Method
Tensorflow.js is an open-source library that is being developed by Google for running machine learning models as well as deep learning neural networks in the browser or node environment.
The tf.data.Dataset.skip() method is used to create a dataset that skips count initial elements from this dataset.
Parameters: This method has as single parameter as mentioned above and described below:
- count: It is a tensor input where the number of element of this dataset that should be skipped to form the new dataset. When the count is greater than the size of this dataset, the new dataset will contain no elements. When the count is undefined or negative, it skips the entire dataset.
Return Value: It returns the tf.data.Dataset.
The below examples demonstrate the tf.data.Dataset.skip() method:
7 8 9