Skip to content

Commit 55159cf

Browse files
EderSantanafchollet
authored andcommitted
Update topology.py (keras-team#2373)
1 parent 7a12fd0 commit 55159cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/engine/topology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ def _arguments_validation(self, layers, mode, concat_axis, dot_axes,
11691169
raise Exception('Invalid format for dot_axes - list elements should be "int".')
11701170
if shape1[dot_axes[0]] != shape2[dot_axes[1]]:
11711171
raise Exception('Dimension incompatibility using dot mode: ' +
1172-
'%s != %s. ' % (shape1[dot_axes[0]], shape2[dot_axes[1][i]]) +
1172+
'%s != %s. ' % (shape1[dot_axes[0]], shape2[dot_axes[1]]) +
11731173
'Layer shapes: %s, %s' % (shape1, shape2))
11741174
elif mode == 'concat':
11751175
reduced_inputs_shapes = [list(shape) for shape in input_shapes]

0 commit comments

Comments
 (0)