Remove redundant brackets

This commit is contained in:
Matthew Honnibal 2017-09-15 10:38:08 +02:00
parent 027a5d8b75
commit 8b481e0465

View File

@ -262,8 +262,8 @@ cdef class Parser:
upper.is_noop = True upper.is_noop = True
else: else:
upper = chain( upper = chain(
clone(Maxout(hidden_width), (depth-1)), clone(Maxout(hidden_width), depth-1),
zero_init(Affine(nr_class, drop_factor=0.0)) zero_init(Affine(nr_class, hidden_width, drop_factor=0.0))
) )
upper.is_noop = False upper.is_noop = False
# TODO: This is an unfortunate hack atm! # TODO: This is an unfortunate hack atm!