Searched refs:W0_grad (Results 1 – 1 of 1) sorted by relevance
/external/libopus/src/ |
D | mlp_train.c | 111 …ent(MLPTrain *net, float *inputs, float *outputs, int nbSamples, double *W0_grad, double *W1_grad,… in compute_gradient() argument 132 memset(W0_grad, 0, W0_size*sizeof(double)); in compute_gradient() 176 W0_grad[i*(inDim+1)] += grad; in compute_gradient() 178 W0_grad[i*(inDim+1)+j+1] += grad*in[j]; in compute_gradient() 196 double *W0_grad; member 209 double W0_grad[W0_size]; in gradient_thread_process() local 211 arg->W0_grad = W0_grad; in gradient_thread_process() 218 …mpute_gradient(arg->net, arg->inputs, arg->outputs, arg->nbSamples, arg->W0_grad, arg->W1_grad, ar… in gradient_thread_process() 235 double *W0_grad, *W1_grad; in mlp_train_backprop() local 261 W0_grad = malloc(W0_size*sizeof(double)); in mlp_train_backprop() [all …]
|