Skip to content

Commit 3b9687e

Browse files
address comments
1 parent dd3ea5a commit 3b9687e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/docstrings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def __repr__(self):
226226
repr(value).startswith("<") # <Foo object at 0x00000000>
227227
and hasattr(value, "__class__") # it is an object
228228
and hasattr(value, "get_config") # it is a Keras object
229-
and not inspect.isclass(value) # ensure it's an instance, not a class
230229
):
231230
config = value.get_config()
232231
init_args = [] # The __init__ arguments to render

0 commit comments

Comments
 (0)