提交 f242c642 编写于 作者: N Naruu 提交者: Gabriel de Marmiesse

Update autogen.py (#13426)

fix duplicate module name for callbacks module
上级 2b1f8ed2
......@@ -84,6 +84,8 @@ def post_process_signature(signature):
signature = 'keras.utils.' + '.'.join(parts[3:])
if parts[1] == 'backend':
signature = 'keras.backend.' + '.'.join(parts[3:])
if parts[1] == 'callbacks':
signature = 'keras.callbacks.' + '.'.join(parts[3:])
return signature
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册