autogen helper for classes and functions (remove code duplication) (#10462)
autogen helper for classes and functions (remove code duplication) (#10462)

* autogen classes and functions

* remove unused, regex strings, simpler ###

* parantheses, not backslash

* fix signature

* fix for tf backends

keras-team/keras-autodoc