Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/src/core/tensor/random.ts>createShuffledIndices

Powerful machine learning, accelerated by WebGPU
Go to Latest
function createShuffledIndices
import { createShuffledIndices } from "https://deno.land/x/netsaur@0.2.2/src/core/tensor/random.ts";

create an array of shuffled indices into another array

Parameters

n: number

Returns

Uint32Array