Skip to main content

arange_device

Function arange_device 

Source
pub fn arange_device<U, T>(
    start: impl Into<Option<U>>,
    stop: U,
    step: impl Into<Option<U>>,
    stream: impl AsRef<Stream>,
) -> Result<Array>
where U: NumCast, T: ArrayElement,
👎Deprecated since 0.26.0:

use with_stream or with_device around arange

Expand description

Compatibility shim for arange.