Skip to main content

zeros_dtype_device

Function zeros_dtype_device 

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

use with_stream or with_device around zeros_dtype

Expand description

Compatibility shim for zeros_dtype.