The hardware deployments and API executions have been separated. All the hardware deployment related information should be defined in the struct of xf::graph::L3::Handle::singleOP. To run an example there are 8 basic steps:
- Instantiate an instance of struct xf::graph::L3::Handle::singleOP
- Instantiate an instance of class xf::graph::L3::Handle
- Deploy hardwares by using the instance of struct singleOP
- Instantiate an instance of class xf::graph::L3::Graph and load data
- Load Graph instance to hardwares
- Run the model (as many times as required)
- Release the Handle instance in order to recycle hardware resources
- Release the Graph instance and buffers in order to avoid memory leaks