Skip to main content

bernoulli_device

Function bernoulli_device 

Source
pub fn bernoulli_device<'a>(
    p: impl Into<Option<&'a Array>>,
    shape: impl IntoOption<&'a [i32]>,
    key: impl Into<Option<&'a Array>>,
    stream: impl AsRef<Stream>,
) -> Result<Array>
👎Deprecated since 0.26.0:

use with_stream or with_device around bernoulli

Expand description

Compatibility shim for bernoulli.