summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Fajardo <92402603+nerdai@users.noreply.github.com>2024-11-23 02:40:00 -0500
committerGitHub <noreply@github.com>2024-11-23 08:40:00 +0100
commitc12db594e389610c2b0d20fc90ecffd32c2f8d40 (patch)
treedbd06f2eb156c10380620ebd5f4d6915a0056d5d
parentf86f4d62243d301b84c0992088be0effa153f22e (diff)
downloadcandle-c12db594e389610c2b0d20fc90ecffd32c2f8d40.tar.gz
candle-c12db594e389610c2b0d20fc90ecffd32c2f8d40.tar.bz2
candle-c12db594e389610c2b0d20fc90ecffd32c2f8d40.zip
fix typo (#2606)
-rw-r--r--candle-core/src/tensor.rs2
1 files changed, 1 insertions, 1 deletions
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