Skip to content

Commit ea2abd8

Browse files
committed
fix padding bug in pooling3d
1 parent 8da48f7 commit ea2abd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras/backend/theano_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def pool3d(x, pool_size, strides=(1, 1, 1), border_mode='valid',
802802
raise Exception('border_mode="same" not supported with Theano.')
803803
elif border_mode == 'valid':
804804
ignore_border = True
805-
padding = (0, 0)
805+
padding = (0, 0, 0)
806806
else:
807807
raise Exception('Invalid border mode: ' + str(border_mode))
808808

0 commit comments

Comments
 (0)