Function rai_core::ops::rand_with

source ·
pub fn rand_with<T: ElemType>(
    from: T,
    to: T,
    shape: impl Shape,
    device: impl AsDevice
) -> Tensor