Lines Matching defs:layer_sizes
106 int layer_count() const { return (int)layer_sizes.size(); }
178 int n1 = layer_sizes[i-1];
179 int n2 = layer_sizes[i];
207 return Mat_<int>(layer_sizes, true);
214 _layer_sizes.copyTo(layer_sizes);
224 int n = layer_sizes[i];
231 weights[i].create(layer_sizes[i-1]+1, n, CV_64F);
234 int ninputs = layer_sizes.front();
235 int noutputs = layer_sizes.back();
251 CV_Assert( (type == CV_32F || type == CV_64F) && inputs.cols == layer_sizes[0] );
252 int noutputs = layer_sizes[l_count-1];
293 int cols = layer_sizes[j];
551 int i, j, vcount = layer_sizes[0];
586 int i, j, vcount = layer_sizes.back();
659 if( layer_sizes.empty() )
664 inputs.cols != layer_sizes[0] )
671 outputs.cols != layer_sizes.back() )
729 int ivcount = layer_sizes[0];
730 int ovcount = layer_sizes.back();
739 int n = layer_sizes[i];
802 int n = layer_sizes[i];
831 int n1 = layer_sizes[i-1], n2 = layer_sizes[i];
877 int ivcount = ann->layer_sizes.front();
878 int ovcount = ann->layer_sizes.back();
890 x[i].resize(ann->layer_sizes[i]*dcount0);
891 df[i].resize(ann->layer_sizes[i]*dcount0);
916 Mat x2( dcount, ann->layer_sizes[i], CV_64F, &x[i][0] );
950 int n1 = ann->layer_sizes[i-1], n2 = ann->layer_sizes[i];
1008 total += layer_sizes[i];
1052 int n1 = layer_sizes[i-1], n2 = layer_sizes[i];
1150 if( layer_sizes.empty() )
1154 fs << "layer_sizes" << layer_sizes;
1252 readVectorOrMat(fn["layer_sizes"], _layer_sizes);
1294 return layer_sizes.empty() ? 0 : layer_sizes[0];
1302 vector<int> layer_sizes;