|
18 | 18 | static const unsigned stride_width = {stride_width};
|
19 | 19 | static const nnet::Pool_Op pool_op = nnet::{pool_op};
|
20 | 20 | static const nnet::conv_implementation implementation = nnet::conv_implementation::{implementation};
|
21 |
| - static const unsigned reuse = {reuse}; |
| 21 | + static const unsigned reuse_factor = {reuse}; |
22 | 22 | typedef {accum_t.name} accum_t;
|
23 | 23 | }};\n"""
|
24 | 24 |
|
|
43 | 43 | static const unsigned pad_right = {pad_right};
|
44 | 44 | static const nnet::Pool_Op pool_op = nnet::{pool_op};
|
45 | 45 | static const nnet::conv_implementation implementation = nnet::conv_implementation::{implementation};
|
46 |
| - static const unsigned reuse = {reuse}; |
| 46 | + static const unsigned reuse_factor = {reuse}; |
47 | 47 | typedef {accum_t.name} accum_t;
|
48 | 48 | }};\n"""
|
49 | 49 |
|
50 | 50 | global_pooling1d_config_template = """struct config{index} : nnet::pooling1d_config {{
|
51 | 51 | static const unsigned n_in = {n_in};
|
52 | 52 | static const unsigned n_filt = {n_filt};
|
53 | 53 | static const nnet::Pool_Op pool_op = nnet::{pool_op};
|
54 |
| - static const unsigned reuse = {reuse}; |
| 54 | + static const unsigned reuse_factor = {reuse}; |
55 | 55 | typedef {accum_t.name} accum_t;
|
56 | 56 | }};\n"""
|
57 | 57 |
|
|
60 | 60 | static const unsigned in_width = {in_width};
|
61 | 61 | static const unsigned n_filt = {n_filt};
|
62 | 62 | static const nnet::Pool_Op pool_op = nnet::{pool_op};
|
63 |
| - static const unsigned reuse = {reuse}; |
| 63 | + static const unsigned reuse_factor = {reuse}; |
64 | 64 | typedef {accum_t.name} accum_t;
|
65 | 65 | }};\n"""
|
66 | 66 |
|
|
0 commit comments