Go to the source code of this file.
Functions | |
float | abs_mean (float *x, int n) |
void | calculate_loss (float *output, float *delta, int n, float thresh) |
void | optimize_picture (network *net, image orig, int max_layer, float scale, float rate, float thresh, int norm) |
void | reconstruct_picture (network net, float *features, image recon, image update, float rate, float momentum, float lambda, int smooth_size, int iters) |
void | run_nightmare (int argc, char **argv) |
void | smooth (image recon, image update, float lambda, int num) |
float abs_mean | ( | float * | x, |
int | n | ||
) |
Definition at line 13 of file nightmare.c.
void calculate_loss | ( | float * | output, |
float * | delta, | ||
int | n, | ||
float | thresh | ||
) |
Definition at line 23 of file nightmare.c.
void optimize_picture | ( | network * | net, |
image | orig, | ||
int | max_layer, | ||
float | scale, | ||
float | rate, | ||
float | thresh, | ||
int | norm | ||
) |
Definition at line 34 of file nightmare.c.
void reconstruct_picture | ( | network | net, |
float * | features, | ||
image | recon, | ||
image | update, | ||
float | rate, | ||
float | momentum, | ||
float | lambda, | ||
int | smooth_size, | ||
int | iters | ||
) |
Definition at line 138 of file nightmare.c.
void run_nightmare | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 182 of file nightmare.c.
Definition at line 117 of file nightmare.c.