Skip to main content

ones_dtype_device

Function ones_dtype_device 

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

use with_stream or with_device around ones_dtype

Expand description

Compatibility shim for ones_dtype.