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.