grenade/cbits/gradient_descent.h
2017-09-26 07:42:21 +10:00

10 lines
248 B
C

#include <stdio.h>
#include <stdint.h>
void descend_cpu(int len, double rate, double momentum, double regulariser,
const double* weights,
const double* gradient,
const double* last,
double* outputWeights, double* outputMomentum);