Skip to content

Commit 4db0002

Browse files
committed
Remove stream definitions from nnet_helpers.h
1 parent 8c71800 commit 4db0002

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

hls4ml/templates/quartus/firmware/nnet_utils/nnet_helpers.h

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,6 @@
2929
#include <sstream>
3030
#include <iostream>
3131

32-
#ifndef __INTELFPGA_COMPILER__
33-
#include "stream.h"
34-
template<typename T>
35-
using stream = nnet::stream<T>;
36-
template<typename T>
37-
using stream_in = nnet::stream<T>;
38-
template<typename T>
39-
using stream_out = nnet::stream<T>;
40-
#else
41-
#include "HLS/hls.h"
42-
#include "HLS/ac_int.h"
43-
#include "HLS/ac_fixed.h"
44-
template<typename T>
45-
using stream = ihc::stream<T>;
46-
template<typename T>
47-
using stream_in = ihc::stream_in<T>;
48-
template<typename T>
49-
using stream_out = ihc::stream_out<T>;
50-
#endif
51-
5232
namespace nnet {
5333

5434
template<class srcType, class dstType, size_t SIZE>

0 commit comments

Comments
 (0)