Functions
nightmare.c File Reference
#include "network.h"
#include "parser.h"
#include "blas.h"
#include "utils.h"
Include dependency graph for nightmare.c:

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)

Function Documentation

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.

void smooth ( image  recon,
image  update,
float  lambda,
int  num 
)

Definition at line 117 of file nightmare.c.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31