Spiking tool improves artificial intelligence devices