Skip to content

GarNet import of hls_math not working #365

Closed
@thaarres

Description

@thaarres

Hi @vloncar @yiiyama @jmduarte !
I’m trying to synthesize a simple GarNet model (one GarNet layer) using the branch this branch. I get an error related to an import of hls_math :

Writing HLS project
Done
In file included from firmware/parameters.h:16:0,
                 from firmware/myproject.cpp:22:
firmware/nnet_utils/nnet_garnet.h:25:22: fatal error: hls_math.h: No such file or directory
 #include "hls_math.h"

The hls math header is included by the garnet layer template
here
and is used to compute an exponential.

Could this header file be added to the project or the exponential replaced by a look-up table?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions