Tensorflow.js tf.util.shuffle() Function
Tensorflow.js is an open-source library which is being develop by Google for running machine learning models as well as deep learning neural networks in the browser or node environment.
The .util.shuffle() function is used to shuffle the stated array in order with the help of Fisher-Yates algorithm.
- array: It is the stated array which is to be shuffled. It can be of type tf.any(), Uint32Array, Int32Array, or, Float32Array.
Return Value: It returns void.