mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Remove redundant brackets
This commit is contained in:
parent
027a5d8b75
commit
8b481e0465
|
@ -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!
|
||||||
|
|
Loading…
Reference in New Issue
Block a user