![]() |
darknet
v3
|
Go to the source code of this file.
Typedefs | |
typedef layer | cost_layer |
Functions | |
COST_TYPE | get_cost_type (char *s) |
char * | get_cost_string (COST_TYPE a) |
cost_layer | make_cost_layer (int batch, int inputs, COST_TYPE type, float scale) |
void | forward_cost_layer (const cost_layer l, network net) |
void | backward_cost_layer (const cost_layer l, network net) |
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 | net | ||
) |
Definition at line 101 of file cost_layer.c.
void forward_cost_layer | ( | const cost_layer | l, |
network | net | ||
) |
Definition at line 82 of file cost_layer.c.
char* get_cost_string | ( | COST_TYPE | a | ) |
Definition at line 22 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 41 of file cost_layer.c.
void resize_cost_layer | ( | cost_layer * | l, |
int | inputs | ||
) |
Definition at line 68 of file cost_layer.c.