In-Memory Learning Automata Architecture using Y-Flash Cell