summaryrefslogtreecommitdiff
path: root/neural.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2009-02-14 21:16:30 +0000
committerMatt Turner <mattst88@gmail.com>2009-02-14 21:16:30 +0000
commit4f4a74e76d0b7dfea9904cbb43a8905cf80768c6 (patch)
treed021dcf3dde6b76c13467725dedfaa22585febee /neural.c
parent3623dac70811c8a8622233ca15a09ebbad331342 (diff)
More Cleanups, found using icc
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@92 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'neural.c')
-rw-r--r--neural.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/neural.c b/neural.c
index 1c6deb3..817bb50 100644
--- a/neural.c
+++ b/neural.c
@@ -84,7 +84,6 @@ int learned; /* flag--if true, network has learned all patterns */
static clock_t DoNNetIteration(unsigned long nloops);
static void do_mid_forward(int patt);
static void do_out_forward();
-void display_output(int patt);
static void do_forward_pass(int patt);
static void do_out_error(int patt);
static void worst_pass_error();
@@ -265,53 +264,15 @@ for (neurode=0; neurode<OUT_SIZE; neurode++)
}
}
-/*************************
-** display_output(patt) **
-**************************
-** Display the actual output vs. the desired output of the
-** network.
-** Once the training is complete, and the "learned" flag set
-** to true, then display_output sends its output to both
-** the screen and to a text output file.
-**
-** NOTE: This routine has been disabled in the benchmark
-** version. -- RG
-**/
-/*
-void display_output(int patt)
-{
-int i;
-
- fprintf(outfile,"\n Iteration # %d",iteration_count);
- fprintf(outfile,"\n Desired Output: ");
-
- for (i=0; i<OUT_SIZE; i++)
- {
- fprintf(outfile,"%6.3f ",out_pats[patt][i]);
- }
- fprintf(outfile,"\n Actual Output: ");
-
- for (i=0; i<OUT_SIZE; i++)
- {
- fprintf(outfile,"%6.3f ",out_out[i]);
- }
- fprintf(outfile,"\n");
- return;
-}
-*/
-
/**********************
** do_forward_pass() **
***********************
** control function for the forward pass through the network
-** NOTE: I have disabled the call to display_output() in
-** the benchmark version -- RG.
**/
static void do_forward_pass(int patt)
{
do_mid_forward(patt); /* process forward pass, middle layer */
do_out_forward(); /* process forward pass, output layer */
-/* display_output(patt); ** display results of forward pass */
}
/***********************