Convert method name to snake_case when defining name scope.
Convert method name to snake_case when defining name scope.

PiperOrigin-RevId: 160158998

rakshit-agrawal/sonnet,rakshit-agrawal/sonnet,deepmind/sonnet,deepmind/sonnet