• Creates a new array with randomized indices to a given quantity.

    const randomTen = tf.util.createShuffledIndices(10);
    console.log(randomTen);

    Parameters

    • n: number

    Returns Uint32Array

    Doc

Generated using TypeDoc