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

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

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

Classes

Random class

Variables

random gaussian

max value in an array or object

random float between two numbers

random integer between two numbers

random number from a gaussian distribution

random weight initialization

Functions

create an array of shuffled indices into another array

random Uniform distribution between two numbers

shuffle an array

shuffle two arrays together

swap two elements in an array