Tensorflow.js tf.data.Dataset.skip() Function Last Updated : 22 Apr, 2022 Comments Improve Suggest changes Like Article Like Report Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf.data.Dataset.skip() function is used to create a Dataset that skips count initial elements from this dataset Syntax: skip(count) Parameters count: The number of elements of this dataset that should be skipped to form the new dataset. Return Value: It returns tf.data.Dataset. Example 1: JavaScript // Importing the tensorflow.js library import * as tf from "@tensorflow/tfjs" const a = tf.data.array( [5, 10, 15, 20, 25, 30]).skip(2); await a.forEachAsync(e => console.log(e)); Output: 15 20 25 30 Example 2: JavaScript // Importing the tensorflow.js library import * as tf from "@tensorflow/tfjs" const gfg = tf.data.array( ['geeksforgeeks', 'gfg', 'geeks', 'for', 'geeks']).skip(2); await gfg.forEachAsync( geeks => console.log(geeks)); Output: geeks for geeks Reference: https://js.tensorflow.org/api/latest/#tf.data.Dataset.skip Comment More infoAdvertise with us Next Article Tensorflow.js tf.data.Dataset.skip() Function D dheerchanana2002 Follow Improve Article Tags : JavaScript Web Technologies Tensorflow.js TensorFlow.js-Classes TensorFlow.js-Data +1 More Similar Reads Tensorflow.js tf.data.Dataset.map() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read Tensorflow.js tf.data.Dataset.repeat() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read Tensorflow.js tf.data.Dataset.filter() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read Tensorflow.js tf.data.Dataset.concatenate() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read 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 1 min read Tensorflow.js tf.data.Dataset.forEachAsync() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read Tensorflow.js tf.data.csv() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. The tf.data.csv() function is used to create a CSV-Dataset by reading and decoding CSV file(s) from provided URL or local path. Syntax 4 min read Tensorflow.js tf.data.zip() Function Tensorflow.js is an open-source library developed by Google for running machine learning models and deep learning neural networks in the browser or node environment. It also helps the developers to develop ML models in JavaScript language and can use ML directly in the browser or in Node.js. The tf. 1 min read Tensorflow.js tf.broadcastTo() Function Tensorflow.js is an open-source library that is developed by Google for running machine learning models as well as deep learning neural networks in the browser or node environment. The .broadcastTo() function is used to circulate an array to a consistent model of NumPy-style. Note: Here, the shape o 2 min read Tensorflow.js tf.keep() Function Tensorflow.js is an open-source library that is developed by Google for running machine learning models as well as deep learning neural networks in the browser or node environment. The .keep() function is used to hold a tensor input that is formed within a tf.tidy() method from being spontaneously d 1 min read Like