Re: Intel Pattern Matching in Zephyr?
Vinay R Rao <vinay.rao@...>
Hello guys, I have some experience with the PME and have documented some of the examples. While the Arduino library has all the basics, it is by no means complete and if a Zephyr port is planned, then it would be good to design this from the ground up. I was toying with the idea of doing this myself but got pulled into other projects. The PME has memory mapped registers which need to be set or read in specific sequences in order to operate. This has been done already in the Arduino library which provides a basic API. However, the underlying sequences need to be optimized and the API enhanced for serious usage. The data itself is shifted into the engine in 256 byte chunks (vectors). It is like a giant shift register that can take 256 bytes at a time and shift it up to 128 times. There needs to be two mechanisms to send/retrieve data from the PME. 1. A firmata like communication mechanism so that external training tools can be used to train the PME. AND/OR 2. The PME needs some utility functions that use SPI driver to read and write to flash. While the PME can work as-is as a simple Winner-Take-All Neural Network, it does not implement more complex or multi-layer Neural Networks. Instead it can be used as an accelerator. So you need to implement NN libraries that use the hardware PME to accelerate the software. Some examples are RBF and k-NN for which the hardware is suited. In addition you need some pre-processing libraries to ensure that the data input to the PME is 1. Properly standardized, 2. Properly normalized, 3. Has feature extraction performed [i.e. filtering; FFT; etc] Perhaps a bridge mechanism from the sensor subsystem is also needed. [Could be modeled along the lines of IPM where the PME is another end-point for sensors to send data] A higher level API to use the NN libraries for Supervised or Unsupervised Learning is also recommended. Regards, Vinay R. Rao Senior Member IEEE Communications Society Computer Society Founder & Principal V. Rao Research Associates On Fri, Feb 17, 2017 at 4:53 AM, Felipe Neves <ryukokki.felipe@...> wrote:
--
Vinay R. Rao Senior Member IEEE Communications Society Computer Society Founder & Principal V. Rao Research Associates |
|