Heterogeneous hardware platform for accelerated AIoT