This commit is contained in:
Andrei Fajardo
2024-11-23 02:40:00 -05:00
committed by GitHub
parent f86f4d6224
commit c12db594e3

View File

@ -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