This commit is contained in:
fchollet 2015-04-22 13:27:21 -07:00
commit c83e6e625a

@ -237,7 +237,8 @@ class Sequential(object):
param_dset = g.create_dataset(param_name, param.shape, dtype='float64')
param_dset[:] = param
for k, v in l.get_config().items():
g.attrs[k] = v
if v is not None:
g.attrs[k] = v
f.flush()
f.close()