@@ -161,15 +161,15 @@ int main(int argc, char **argv) {
161161 // Print contents of bo0_map
162162 std::cout << " Contents of bo0_map (Input):" << std::endl;
163163 for (int i = 0 ; i < DATA_SIZE; ++i) {
164- for (size_t j = 0 ; j < N_INPUT_1_1 ; j++) {
164+ for (size_t j = 0 ; j < myinput ; j++) {
165165 std::cout << bo0_map[i][j] << " " ;
166166 }
167167 }
168168 std::cout << std::endl;
169169
170170 std::cout << " Contents of bo0_out_map (Output):" << std::endl;
171171 for (int i = 0 ; i < DATA_SIZE; ++i) {
172- for (size_t j = 0 ; j < N_LAYER_8 ; j++) {
172+ for (size_t j = 0 ; j < mylayer_out ; j++) {
173173 std::cout << bo0_out_map[i][j] << " " ;
174174 }
175175 }
@@ -180,7 +180,7 @@ int main(int argc, char **argv) {
180180 if (e % CHECKPOINT == 0 ) {
181181 std::cout << " Predictions" << std::endl;
182182 // hls-fpga-machine-learning insert predictions
183- for (int i = 0 ; i < N_LAYER_8 ; i++) {
183+ for (int i = 0 ; i < mylayer_out ; i++) {
184184 std::cout << pr[i] << " " ;
185185 }
186186 std::cout << std::endl;
@@ -214,7 +214,7 @@ int main(int argc, char **argv) {
214214
215215 std::cout << " Contents of bo0_out_map (Output):" << std::endl;
216216 for (int i = 0 ; i < DATA_SIZE; ++i) {
217- for (size_t j = 0 ; j < N_LAYER_8 ; j++) {
217+ for (size_t j = 0 ; j < mylayer_out ; j++) {
218218 std::cout << bo0_out_map[i][j] << " " ;
219219 }
220220 }
0 commit comments