Esempio n. 1
0
 def __upload_dump_to_ccore(self, state_dump):
     self.__upload_common_part(state_dump)
     self.__ccore_som_pointer = wrapper.som_create(self._rows, self._cols,
                                                   self._conn_type,
                                                   self._params)
     wrapper.som_load(self.__ccore_som_pointer, state_dump['weights'],
                      state_dump['award'], state_dump['capture_objects'])
Esempio n. 2
0
 def __upload_dump_to_ccore(self, state_dump):
     self.__upload_common_part(state_dump)
     self.__ccore_som_pointer = wrapper.som_create(self._rows, self._cols, self._conn_type, self._params)
     wrapper.som_load(self.__ccore_som_pointer, state_dump['weights'], state_dump['award'], state_dump['capture_objects'])