Skip to content

Commit

Permalink
fix typo (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdai authored Nov 23, 2024
1 parent f86f4d6 commit c12db59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-core/src/tensor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c12db59

Please sign in to comment.