This improves speed 15-20 times for me.
static void define_pattern(void)
{
if (pat_set == -1){
errChk(krui_allocNewPatternSet(&pat_set));
errChk(krui_newPattern()); /* added clk */
}
else
{
errChk(krui_setPatternNo(1));
/* deleted clk errChk(krui_deletePattern()); */
errChk(krui_modifyPattern()); /* added clk */
}
/* deleted clk errChk(krui_newPattern()); */
/* since the pattern has no variable dimensions the following */
/* functions may be called with dummyarray arguments with don't */
/* care contents */
errChk(krui_DefShowSubPat(dummyarray, dummyarray, dummyarray,
dummyarray));
errChk(krui_DefTrainSubPat(dummyarray, dummyarray, dummyarray,
dummyarray, NULL));
}
Cliff
--
FedEx
.. Cliff Kotnik
.... clko...@fedex.com
...... Voice: 719-484-2284 FAX: 719-484-2279
Has anyone successfully compiled SNNS in Red Hat 8.0? I have tried several
times and always failed when compiling xgui.
Any suggestions would be greatly appreciated.
Le
Have you checked the "bugfixes" section on the SNNS homepage? If not, do
so. If yes, tell us the compiler error message.
Bye, Patrick
Thanks