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

x/netsaur/packages/utilities/mod.ts>useNormalArray

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
function useNormalArray
import { useNormalArray } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/mod.ts";

Generate a normally distributed array.

Parameters

num: number

Mean of the distribution μ.

mean: number

Variance of the distribution σ^2.

variance: number

Returns

Float32Array

A normally distributed array.