[−][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 rangeto
- end of rangeshape
- shape of new array