messn036
New Contributor
4 years agoTensor libraries in C/C++ compatible with HLS
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.
Thanks.