pub fn random_uniform<R: CubeRuntime>(
shape: Shape,
device: &R::Device,
lower_bound: f32,
upper_bound: f32,
dtype: DType,
) -> CubeTensor<R>Expand description
Pseudo-random generator with uniform distribution
pub fn random_uniform<R: CubeRuntime>(
shape: Shape,
device: &R::Device,
lower_bound: f32,
upper_bound: f32,
dtype: DType,
) -> CubeTensor<R>Pseudo-random generator with uniform distribution