mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Correct weighting bug
This commit is contained in:
parent
73da32532a
commit
9ae0cb518f
@ -242,7 +242,7 @@ def padding_xform(xf, isfinal):
|
||||
if vars:
|
||||
n = float(len(vars))
|
||||
for k in vars:
|
||||
vars[k]['weight'] /= n
|
||||
vars[k]['weight'] = 1 / n
|
||||
else:
|
||||
vars['linear'] = dict(weight=1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user