сделан кан на gpio ножке, можно задавать разные ошибки
CMSIS NN Lib example arm_nnexample_cifar10 for Cortex-M4 and Cortex-M7. The example is configured for uVision Simulator.