Go to the source code of this file.
Typedefs | |
typedef layer | cost_layer |
Functions | |
void | backward_cost_layer (const cost_layer l, network_state state) |
void | forward_cost_layer (const cost_layer l, network_state state) |
char * | get_cost_string (COST_TYPE a) |
COST_TYPE | get_cost_type (char *s) |
cost_layer | make_cost_layer (int batch, int inputs, COST_TYPE type, float scale) |
void | resize_cost_layer (cost_layer *l, int inputs) |
typedef layer cost_layer |
Definition at line 6 of file cost_layer.h.
void backward_cost_layer | ( | const cost_layer | l, |
network_state | state | ||
) |
Definition at line 90 of file cost_layer.c.
void forward_cost_layer | ( | const cost_layer | l, |
network_state | state | ||
) |
Definition at line 73 of file cost_layer.c.
char* get_cost_string | ( | COST_TYPE | a | ) |
Definition at line 19 of file cost_layer.c.
COST_TYPE get_cost_type | ( | char * | s | ) |
Definition at line 10 of file cost_layer.c.
cost_layer make_cost_layer | ( | int | batch, |
int | inputs, | ||
COST_TYPE | type, | ||
float | scale | ||
) |
Definition at line 32 of file cost_layer.c.
void resize_cost_layer | ( | cost_layer * | l, |
int | inputs | ||
) |
Definition at line 59 of file cost_layer.c.