Near-Memory Computing Architectures And Circuits For Ultra-Low Power Near-Sensor Processors