[][src]Function numas::factory::random::random

pub fn random<T>(shape: Vec<i32>) -> Array<T> where
    T: SampleUniform + From<u8> + Copy

Creates new array of given shape filled with random values from between 0 and 1 (floating point numbers only)

Arguments

  • shape - shape of new array