From 85a99246702ce767d735975eb7068430d6feb059 Mon Sep 17 00:00:00 2001 From: Andrei Fajardo Date: Fri, 8 Nov 2024 11:53:38 -0500 Subject: [PATCH] fix typo --- 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 e7355aadc5..9ae1566a14 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