tree stuff

This commit is contained in:
Joseph Redmon
2016-10-21 13:16:43 -07:00
parent ae53edc6a4
commit d8adaf8ea6
17 changed files with 287 additions and 127 deletions

View File

@ -5,6 +5,7 @@
#include "image.h"
#include "layer.h"
#include "data.h"
#include "tree.h"
typedef enum {
CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM
@ -47,6 +48,7 @@ typedef struct network{
float hue;
int gpu_index;
tree *hierarchy;
#ifdef GPU
float **input_gpu;