Replace deprecated keep_dims argument with keepdims.
Replace deprecated keep_dims argument with keepdims.

PiperOrigin-RevId: 360576053

google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research,google-research/google-research