165 std::size_t numPatterns =
batchSize(patterns);
166 output.resize(numPatterns);
175 UIntVector bin(numPatterns);
177 for (
unsigned int i=0, c=0; c<
m_classes; c++)
179 for (std::size_t e=0; e<c; e++, i++)
182 for(std::size_t p = 0; p != numPatterns; ++p){
192 for(std::size_t p = 0; p != numPatterns; ++p){
193 for (
unsigned int c=1; c <
m_classes; c++){
194 if (votes(p,c) > votes(p,output(p)))