Implementation of a framework for deploying AI inference engines in FPGAs