@staticmethod<EOL><INDENT>def load_weights(filename):<DEDENT>
loaded = numpy.load(filename)<EOL>weights = [<EOL>loaded["<STR_LIT>" % i]<EOL>for i in range(len(loaded.keys()))<EOL>]<EOL>loaded.close()<EOL>return weights<EOL>
Restore model weights from the given filename, which should have been
created with `save_weights`.

Parameters
----------
filename : string
    Should end in ".npz".

Returns
----------
list of array