Skip to content
Snippets Groups Projects
Commit 61943980 authored by Vincent Templier's avatar Vincent Templier
Browse files

Fix network templates

parent ef1e8e2e
No related branches found
No related tags found
2 merge requests!17v0.1.0,!12v0.4.0
{#- For name header -#} {#- For name header -#}
#ifndef DNN_HPP #ifndef DNN_H
#define DNN_HPP #define DNN_H
#ifdef __cplusplus
extern "C" {
#endif
{#- For libraries #} {#- For libraries #}
{% for lib in libraries %} {% for lib in libraries %}
...@@ -11,5 +15,8 @@ ...@@ -11,5 +15,8 @@
{{ func }} {{ func }}
{% endfor %} {% endfor %}
#ifdef __cplusplus
}
#endif
#endif /* DNN_HPP */ #endif /* DNN_H */
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
#include <stdint.h> #include <stdint.h>
#include "include/network_functions.h" #include "dnn.h"
#include "network_functions.h"
// Layer & memory configurations // Layer & memory configurations
{%- for header in headers %} {%- for header in headers %}
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#include <{{ lib }}> #include <{{ lib }}>
{%- endfor %} {%- endfor %}
{% for file in files %}
#include "{{ file }}"
{%- endfor %}
{% for func in functions %} {% for func in functions %}
{{ func }} {{ func }}
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment