summaryrefslogtreecommitdiff
path: root/candle-core/src/indexer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-core/src/indexer.rs')
-rw-r--r--candle-core/src/indexer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/src/indexer.rs b/candle-core/src/indexer.rs
index df106b73..e3ed41e5 100644
--- a/candle-core/src/indexer.rs
+++ b/candle-core/src/indexer.rs
@@ -64,7 +64,7 @@ impl Tensor {
#[derive(Debug)]
/// Generic structure used to index a slice of the tensor
pub enum TensorIndexer {
- /// This selects the elemnts for which an index has some specific value.
+ /// This selects the elements for which an index has some specific value.
Select(usize),
/// This is a regular slice, purely indexing a chunk of the tensor
Narrow(Bound<usize>, Bound<usize>),