Data flow based parallel inference machine