Improve comment in ShapeUtil

PiperOrigin-RevId: 713456387
This commit is contained in:
Victor Stone
2025-01-08 16:33:20 -08:00
committed by TensorFlower Gardener
parent aa290d76bb
commit 56e07952f3

View File

@@ -140,7 +140,7 @@ class ShapeUtil {
return product;
}
// Returns the number of elements are contained within the provided shape;
// Returns the number of elements contained within the provided shape;
// e.g. for rank 0 (scalars) the result is always 1.
// Precondition: shape.IsArray()
static inline int64_t ElementsIn(const Shape& shape) {