def __setstate__(self, som_state):
if som_state['<STR_LIT>'] is True and ccore_library.workable():<EOL><INDENT>self.__upload_dump_to_ccore(som_state['<STR_LIT:state>'])<EOL><DEDENT>else:<EOL><INDENT>self.__upload_dump_to_python(som_state['<STR_LIT:state>'])<EOL><DEDENT>
@brief Set state of SOM network that can be used to load network.