cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Observer
Observer
289 Views
Registered: ‎03-25-2020

Can we do RTL or HLS on vivado for C keras model after convert python model to C model by Kera2cpp?

Jump to solution
I want to use machine learning model (written by keras) on ultra96v2.
 
I find Keras2cpp that convert python keras model to C keras model.
 
 
My question is
1. Can I do RTL or HLS on vivado hls for C keras model after convert python keras model to C keras model by Keras2cpp?
 
2. RTL or HLS indicate what to custamize C model by vivado hls, right ?
 
 
please teach me.
Tags (3)
0 Kudos
Reply
1 Solution

Accepted Solutions
Moderator
Moderator
261 Views
Registered: ‎03-27-2013

Hi @Pitto ,

 

Theoretically you can.

But you need to handle the code/lib dependency if necessary.

And we have particular coding styles and constrants you may follow if you want to implement hardware function efficiently.

Please find the document explanation here: https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/methodologyacceleratingapplications.html?hl=embedded%2Cparticular%2Cconfiguration

And reference design/tutorial:

https://github.com/Xilinx/Vitis-Tutorials

They are focused on Vitis DC, but should also be a good reference for Vitis Embedded.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

View solution in original post

1 Reply
Moderator
Moderator
262 Views
Registered: ‎03-27-2013

Hi @Pitto ,

 

Theoretically you can.

But you need to handle the code/lib dependency if necessary.

And we have particular coding styles and constrants you may follow if you want to implement hardware function efficiently.

Please find the document explanation here: https://www.xilinx.com/html_docs/xilinx2020_1/vitis_doc/methodologyacceleratingapplications.html?hl=embedded%2Cparticular%2Cconfiguration

And reference design/tutorial:

https://github.com/Xilinx/Vitis-Tutorials

They are focused on Vitis DC, but should also be a good reference for Vitis Embedded.

Best Regards,
Jason
-----------------------------------------------------------------------------------------------
Please mark the Answer as "Accept as solution" if the information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
-----------------------------------------------------------------------------------------------

View solution in original post