Skip to main content

ones_device

Function ones_device 

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

use with_stream or with_device around ones

Expand description

Compatibility shim for ones.