|
|
@ -2,6 +2,7 @@
|
|
|
|
#include <time.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iostream>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
#include "../common/common.h"
|
|
|
|
#include "../common/common.h"
|
|
|
|
|
|
|
|
|
|
|
|
#define CONFIG_BIN "./trainer_config.bin"
|
|
|
|
#define CONFIG_BIN "./trainer_config.bin"
|
|
|
@ -66,7 +67,7 @@ int main() {
|
|
|
|
printf("Prob: \n");
|
|
|
|
printf("Prob: \n");
|
|
|
|
for (int i = 0; i < height * width; ++i) {
|
|
|
|
for (int i = 0; i < height * width; ++i) {
|
|
|
|
printf("%.4f ", result[i]);
|
|
|
|
printf("%.4f ", result[i]);
|
|
|
|
if ((i + 1) % width == 0){
|
|
|
|
if ((i + 1) % width == 0) {
|
|
|
|
printf("\n");
|
|
|
|
printf("\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|