From c12db594e389610c2b0d20fc90ecffd32c2f8d40 Mon Sep 17 00:00:00 2001 From: Andrei Fajardo <92402603+nerdai@users.noreply.github.com> Date: Sat, 23 Nov 2024 02:40:00 -0500 Subject: [PATCH] fix typo (#2606) --- candle-core/src/tensor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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