Searched refs:W0_oldgrad (Results 1 – 1 of 1) sorted by relevance
236 double *W0_oldgrad, *W1_oldgrad; in mlp_train_backprop() local263 W0_oldgrad = malloc(W0_size*sizeof(double)); in mlp_train_backprop()272 memset(W0_oldgrad, 0, W0_size*sizeof(double)); in mlp_train_backprop()367 if (W0_oldgrad[i]*W0_grad[i] > 0) in mlp_train_backprop()369 else if (W0_oldgrad[i]*W0_grad[i] < 0) in mlp_train_backprop()378 W0_oldgrad[i] = W0_grad[i]; in mlp_train_backprop()