Function rand_with

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