101 NN writing NN category returned is not noMatch (0x7FFF), it is (0xFFFF)
when using code examples
intel_pmt::neurondata neurondata;
int count = 1;
while (uint16_t ncount = curiepme.iterateneuronstosave(neurondata))
{
// iterate on network , save data.
if (ncount == curiepme.nomatch)
{
serial.print("hit 0x7fff");
break;
}
else
the ncount comes when committed nodes finished (ie have 10 committed nodes, on node 11 iteration on above), nomatch constant of 0x7fff never gets hit, number comes category/context etc 65535 (0xffff).
finished saving cat neuron:65535
saving node#:406 nn cat #65535saved info iterate func in lib cat :
65535
context:65535 influence:65535 mininfluence:2 category:65535
vector:255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255
--------------
marcus
intel_pmt::neurondata neurondata;
int count = 1;
while (uint16_t ncount = curiepme.iterateneuronstosave(neurondata))
{
// iterate on network , save data.
if (ncount == curiepme.nomatch)
{
serial.print("hit 0x7fff");
break;
}
else
the ncount comes when committed nodes finished (ie have 10 committed nodes, on node 11 iteration on above), nomatch constant of 0x7fff never gets hit, number comes category/context etc 65535 (0xffff).
finished saving cat neuron:65535
saving node#:406 nn cat #65535saved info iterate func in lib cat :
65535
context:65535 influence:65535 mininfluence:2 category:65535
vector:255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255
--------------
marcus
hi @marcusobrien, i'll it.
fyi, if post issues (defects in code) on github repo, i'd appreciate
https://github.com/01org/intel-pattern-matching-technology
fyi, if post issues (defects in code) on github repo, i'd appreciate

https://github.com/01org/intel-pattern-matching-technology
Arduino Forum > Products > Arduino 101 (Moderators: cmaglie, facchinm) > 101 NN writing NN category returned is not noMatch (0x7FFF), it is (0xFFFF)
arduino
Comments
Post a Comment