We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd3ea5a commit 3b9687eCopy full SHA for 3b9687e
scripts/docstrings.py
@@ -226,7 +226,6 @@ def __repr__(self):
226
repr(value).startswith("<") # <Foo object at 0x00000000>
227
and hasattr(value, "__class__") # it is an object
228
and hasattr(value, "get_config") # it is a Keras object
229
- and not inspect.isclass(value) # ensure it's an instance, not a class
230
):
231
config = value.get_config()
232
init_args = [] # The __init__ arguments to render
0 commit comments