Skip to main content

zeros

Function zeros 

Source
pub fn zeros<E: CubeElement + Scalar>(client: &Client, len: usize) -> Handle
Expand description

Device buffer of len zeros, filled on the device (cubecl-std’s zero kernel): nothing is uploaded.