def __getstate__(self):
self.update_network_description()<EOL>self.load_weights()<EOL>result = dict(self.__dict__)<EOL>result['<STR_LIT>'] = None<EOL>result['<STR_LIT>'] = None<EOL>return result<EOL>
serialize to a dict. Model weights are included. For pickle support.

Returns
-------
dict