Skip to main content

zeros

Function zeros 

Source
pub fn zeros<R>(
    device: <R as Runtime>::Device,
    shape: Shape,
    dtype: DType,
) -> RudaTensor<R>
where R: Runtime,
Expand description

Creates a tensor filled with zeros