??? 05/11/09 11:27 Read: times |
#165231 - explanation Responding to: ???'s previous message |
i am trying to explain all 3 of urs ques here.
1.) i have put your code in my code with some improvement..i.e. i have tried it after copying the for loop portion in my code which u had given me earlier to see the update in the ports. i had done in the same way u had explained..i.e. first i started start/stop debuggging session & then i had press the F10 to see the step by step execution of the ports..but it doesn't work..the port shown only one update i.e. 0x55 to 0x01...after this no update is seen in the code.. i wana to see the update in the ports as the way we are providing in the numpat and numin..like 1,2,3,4,5,...so on.. for( j = 1 ; j <= NumHidden ; j++ ) { /* initialize WeightIH and DeltaWeightIH */ for( i = 0 ; i <= NumInput ; i++ ) { DeltaWeightIH[i][j] = 0.0 ; WeightIH[i][j] = 2.0 * ( rando() - 0.5 ) * smallwt ; } } for( k = 1 ; k <= NumOutput ; k ++ ) { /* initialize WeightHO and DeltaWeightHO */ for( j = 0 ; j <= NumHidden ; j++ ) { DeltaWeightHO[j][k] = 0.0 ; WeightHO[j][k] = 2.0 * ( rando() - 0.5 ) * smallwt ; |