![]() |
darknet
v3
|
#include "cost_layer.h"#include "utils.h"#include "cuda.h"#include "blas.h"#include <math.h>#include <string.h>#include <stdlib.h>#include <stdio.h>
Go to the source code of this file.
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 cost_type, float scale) |
| void | resize_cost_layer (cost_layer *l, int inputs) |
| void | forward_cost_layer (cost_layer l, network net) |
| void | backward_cost_layer (const cost_layer l, network net) |
| void backward_cost_layer | ( | const cost_layer | l, |
| network | net | ||
| ) |
Definition at line 101 of file cost_layer.c.
| void forward_cost_layer | ( | 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 | cost_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.
1.8.13