Skip to content

Commit 2ed3ba1

Browse files
committed
Minor summary formatting fix
1 parent 72296d6 commit 2ed3ba1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

keras_core/utils/summary_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,10 @@ def format_shape(shape):
8282
lambda x: format_shape(x.shape), outputs
8383
)
8484
if len(output_shapes) == 1:
85-
output_shapes = output_shapes[0]
86-
return str(output_shapes)
85+
return output_shapes[0]
86+
out = str(output_shapes)
87+
out = out.replace("'", "")
88+
return out
8789

8890

8991
def print_summary(

0 commit comments

Comments
 (0)