diff --git a/third_party/xla/xla/shape_util.h b/third_party/xla/xla/shape_util.h index 77cdf2aa695..0fcc75aa7aa 100644 --- a/third_party/xla/xla/shape_util.h +++ b/third_party/xla/xla/shape_util.h @@ -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) {