mirror of
https://github.com/huggingface/candle.git
synced 2025-06-19 11:56:45 +00:00
fix typo (#2606)
This commit is contained in:
@ -242,7 +242,7 @@ impl Tensor {
|
|||||||
Self::zeros_impl(shape, dtype, device, false)
|
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.
|
/// tensor.
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
|
Reference in New Issue
Block a user