Xilinx / DPU-PYNQ

DPU on PYNQ
Apache License 2.0
199 stars 68 forks source link

Deployment of Softmax in hardware #80

Closed Afef00 closed 2 years ago

Afef00 commented 2 years ago

Hi, I Know that on DPU-PYNQ , Softmax operations was done on CPU and the other operations by DPU. I was wondering is it possible to re-configure the DPU hardware design so all the operations of softmax and DPU are done in hardware? In that case how to modify the inference file ? Regards

skalade commented 2 years ago

Hi there,

The Vitis AI DPU-TRD project shows how to build the softmax IP as well as a DPU design. I would consult the materials on that repo. And I'm sure there should be a few examples using it on Vitis AI tutorials. There are some relevant issues on the Vitis AI repo as well https://github.com/Xilinx/Vitis-AI/issues/131 and https://github.com/Xilinx/Vitis-AI/issues/221.

This isn't really a DPU-PYNQ issue, so I'll close it for now. But if you have similar concerns I'd encourage you to make a forum post on the Xilinx support forums, or if it is more to do with dpu-pynq, on the pynq discuss forum.

Thanks Shawn

Afef00 commented 2 years ago

Thank your for the help!