Functions | |
float | abs_mean (float *x, int n) |
void | calculate_loss (float *output, float *delta, int n, float thresh) |
void | optimize_picture (Darknet::Network *net, Darknet::Image orig, int max_layer, float scale, float rate, float thresh, int norm) |
void | reconstruct_picture (Darknet::Network net, float *features, Darknet::Image recon, Darknet::Image update, float rate, float momentum, float lambda, int smooth_size, int iters) |
void | run_nightmare (int argc, char **argv) |
void | smooth (Darknet::Image recon, Darknet::Image update, float lambda, int num) |
float abs_mean | ( | float * | x, |
int | n | ||
) |
void calculate_loss | ( | float * | output, |
float * | delta, | ||
int | n, | ||
float | thresh | ||
) |
void optimize_picture | ( | Darknet::Network * | net, |
Darknet::Image | orig, | ||
int | max_layer, | ||
float | scale, | ||
float | rate, | ||
float | thresh, | ||
int | norm | ||
) |
void reconstruct_picture | ( | Darknet::Network | net, |
float * | features, | ||
Darknet::Image | recon, | ||
Darknet::Image | update, | ||
float | rate, | ||
float | momentum, | ||
float | lambda, | ||
int | smooth_size, | ||
int | iters | ||
) |
void run_nightmare | ( | int | argc, |
char ** | argv | ||
) |
void smooth | ( | Darknet::Image | recon, |
Darknet::Image | update, | ||
float | lambda, | ||
int | num | ||
) |