Searched refs:inDim (Results 1 – 2 of 2) sorted by relevance
50 int inDim, outDim; in mlp_init() local55 inDim = topo[0]; in mlp_init()57 net->in_rate = malloc((inDim+1)*sizeof(net->in_rate[0])); in mlp_init()65 double inMean[inDim]; in mlp_init()66 for (j=0;j<inDim;j++) in mlp_init()72 inMean[j] += inputs[i*inDim+j]; in mlp_init()73 std += inputs[i*inDim+j]*inputs[i*inDim+j]; in mlp_init()81 std = 1/sqrt(inDim*std); in mlp_init()89 for (k=0;k<inDim;k++) in mlp_init()115 int inDim, outDim, hiddenDim; in compute_gradient() local[all …]
175 VectorComparator(int inDim) : dim(inDim) {}