pub fn zeros<R: CubeRuntime>(
device: R::Device,
shape: Shape,
dtype: DType,
) -> CubeTensor<R>Expand description
Creates a tensor filled with zeros
pub fn zeros<R: CubeRuntime>(
device: R::Device,
shape: Shape,
dtype: DType,
) -> CubeTensor<R>Creates a tensor filled with zeros