Skip to main content

bits

Function bits 

Source
pub fn bits<'a>(
    shape: impl IntoShape,
    width: i32,
    key: impl Into<Option<&'a Array>>,
) -> Array
Expand description

Random bits of shape, width bytes per element (1, 2 or 4 → uint8, uint16, uint32).