ARM has enabled Cortex M processors (i.e. Cortex-M4 and Cortex-M7 as well as the new Cortex-M33 and Cortex-M35P) to be equipped with machine learning capabilities.
This capability is being implemented using it’s Helium technology. The white paper is available for further study.

[1] https://www.electronicdesign.com/industrial-automation/armv81-m-adds-machine-learning-microcontrollers
[2] https://www.arm.com/why-arm/technologies/helium
[3] https://pages.arm.com/rs/312-SAX-488/images/Introduction_to_Armv8.1-M_architecture-3.pdf

[4] https://pages.arm.com/rs/312-SAX-488/images/Think%20local%20%E2%80%93%20how%20to%20migrate%20intelligence%20from%20the%20cloud%20to%20embedded%20devices%20at%20the%20edge%20%281%29.pdf