neural_network.h changes
This commit is contained in:
parent
cb88b2a397
commit
37fbaa2e26
4 changed files with 97 additions and 41 deletions
6
matrix.h
6
matrix.h
|
|
@ -21,6 +21,7 @@ Matrix* load_next_matrix(FILE * save_file);
|
|||
void matrix_randomize(Matrix* matrix, int n); // don't understand the usage of the n
|
||||
int matrix_argmax(Matrix* matrix);
|
||||
Matrix* matrix_flatten(Matrix* matrix, int axis);
|
||||
Matrix* matrix_add_bias(Matrix* matrix);
|
||||
|
||||
/*
|
||||
* These methods won't change or free the input matrix.
|
||||
|
|
@ -37,7 +38,4 @@ Matrix* apply(double (*function)(double), Matrix* matrix);
|
|||
Matrix* scale(Matrix* matrix, double value);
|
||||
Matrix* addScalar(Matrix* matrix, double value);
|
||||
Matrix* transpose(Matrix* matrix);
|
||||
double matrix_sum(Matrix* matrix);
|
||||
|
||||
|
||||
|
||||
double matrix_sum(Matrix* matrix);
|
||||
Reference in a new issue