diff --git a/candle-core/src/tensor.rs b/candle-core/src/tensor.rs index 75dc1c8a..31699288 100644 --- a/candle-core/src/tensor.rs +++ b/candle-core/src/tensor.rs @@ -242,7 +242,7 @@ impl Tensor { Self::zeros_impl(shape, dtype, device, false) } - /// Creates a new tensor filled with ones with same shape, dtype, and device as the other + /// Creates a new tensor filled with zeros with same shape, dtype, and device as the other /// tensor. /// /// ```rust