Hello Intel Community,
I am working on a project that is porting a neural network written in pytorch into C so that it can be modified/optimized and then put on an FPGA. My current approach is just rewriting the code base in C, however, the functions relating to Tensors are not easy to understand or re-implement. There are very few libraries that implement tensor functions (multiplication, min, max, mean, view) in C (Xtensor, Libtorch, Eigen) and none that are supported by the HLS compiler.
Before writing my own, I wanted to post here to see if any work like this had already been done or if I am missing a compatible or builtin library.
Note: I am not familiar with the industry as this is for student research.
I was hoping to find a library that doesnt use dynamic memory location so that it would work out of the box with the intel HLS compiler. I ended up writing my own, though the matrix_mult function from intel's extended math library did help.
Greetings, as we do not receive any further clarification on what is provided. Hence thread will now be transitioned to community support for further help on doubts in this thread. Pleasure having you here.