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

pub fn random_range<T>(from: T, to: T, shape: Vec<i32>) -> Array<T> where
    T: SampleUniform + Copy

Creates new array of given shape filled with random values between given range

Arguments

  • from - start of range
  • to - end of range
  • shape - shape of new array