caffe dcnn support
[pachi.git] / dcnn.h
blob7a1170c6f52ae3f8fbd1a543efab1343aeeddbbf
2 #ifndef PACHI_DCNN_H
3 #define PACHI_DCNN_H
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
10 #ifdef DCNN
12 void dcnn_get_moves(struct board *b, enum stone color, float result[]);
13 bool using_dcnn(struct board *b);
14 void dcnn_quiet_caffe(int argc, char *argv[]);
15 void dcnn_init();
17 #else
19 #define using_dcnn(b) 0
20 #define dcnn_quiet_caffe(argc, argv)
21 #define dcnn_init()
23 #endif
26 #ifdef __cplusplus
28 #endif
30 #endif /* PACHI_DCNN_H */