grenade/cbits/gradient_decent.h

10 lines
247 B
C
Raw Normal View History

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