提交 b5612acd 编写于 作者: N nzw 提交者: François Chollet

Fix post_process_signature for floating point (#8247)

上级 970488e8
......@@ -369,7 +369,7 @@ def get_class_signature(cls):
def post_process_signature(signature):
parts = signature.split('.')
parts = re.split('\.(?!\d)', signature)
if len(parts) >= 4:
if parts[1] == 'layers':
signature = 'keras.layers.' + '.'.join(parts[3:])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册