Skip to main content

zeros_device

Function zeros_device 

Source
pub fn zeros_device<T: ArrayElement>(
    shape: &[i32],
    stream: impl AsRef<Stream>,
) -> Result<Array>
👎Deprecated since 0.26.0:

use with_stream or with_device around zeros

Expand description

Compatibility shim for zeros.