Creates a new array with randomized indices to a given quantity.
const randomTen = tf.util.createShuffledIndices(10);console.log(randomTen); Copy
const randomTen = tf.util.createShuffledIndices(10);console.log(randomTen);
Generated using TypeDoc
Creates a new array with randomized indices to a given quantity.