GAP-8: A RISC-V SoC for AI at the Edge of the IoT