Home
last modified time | relevance | path

Searched refs:nbSamples (Results 1 – 2 of 2) sorted by relevance

/external/libopus/src/
Dmlp_train.c46 MLPTrain * mlp_init(int *topo, int nbLayers, float *inputs, float *outputs, int nbSamples) in mlp_init() argument
70 for (i=0;i<nbSamples;i++) in mlp_init()
75 inMean[j] /= nbSamples; in mlp_init()
76 std /= nbSamples; in mlp_init()
97 for (i=0;i<nbSamples;i++) in mlp_init()
99 mean /= nbSamples; in mlp_init()
111 double compute_gradient(MLPTrain *net, float *inputs, float *outputs, int nbSamples, double *W0_gra… in compute_gradient() argument
138 for (s=0;s<nbSamples;s++) in compute_gradient()
195 int nbSamples; member
218 …arg->rms = compute_gradient(arg->net, arg->inputs, arg->outputs, arg->nbSamples, arg->W0_grad, arg… in gradient_thread_process()
[all …]
/external/skia/gm/
Dxfermodeimagefilter.cpp144 constexpr size_t nbSamples = 3; in onDraw() local
145 const SkBlendMode sampledModes[nbSamples] = { in onDraw()
148 int offsets[nbSamples][4] = {{ 10, 10, -16, -16}, in onDraw()
151 for (size_t i = 0; i < nbSamples; ++i) { in onDraw()