Gets rid of // comments
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Thu, 5 Jul 2012 07:49:13 +0000 (03:49 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Fri, 13 Jul 2012 18:50:37 +0000 (14:50 -0400)
celt/celt.c
src/mlp_train.c

index f784e91..8f7f428 100644 (file)
@@ -351,7 +351,6 @@ static int transient_analysis(const opus_val32 * restrict in, int len, int C,
          opus_val16 max_abs=0;
          for (j=0;j<2*block;j++)
             max_abs = MAX16(max_abs, ABS16(tmp[i*block+j]));
          opus_val16 max_abs=0;
          for (j=0;j<2*block;j++)
             max_abs = MAX16(max_abs, ABS16(tmp[i*block+j]));
-         //printf("%f ", max_abs);
          bins[i] = max_abs;
          maxbin = MAX16(maxbin, bins[i]);
       }
          bins[i] = max_abs;
          maxbin = MAX16(maxbin, bins[i]);
       }
@@ -398,7 +397,7 @@ static int transient_analysis(const opus_val32 * restrict in, int len, int C,
       bmetric = 5*count1 + 4*count2 + 3*count3 + 2*count4 + count5;
       metric = fmetric+bmetric;
 
       bmetric = 5*count1 + 4*count2 + 3*count3 + 2*count4 + count5;
       metric = fmetric+bmetric;
 
-      //if (metric>40)
+      /*if (metric>40)*/
       if (metric>20+50*MAX16(analysis->tonality, analysis->noisiness))
          is_transient=1;
 
       if (metric>20+50*MAX16(analysis->tonality, analysis->noisiness))
          is_transient=1;
 
@@ -415,7 +414,7 @@ static int transient_analysis(const opus_val32 * restrict in, int len, int C,
 #ifdef FUZZING
    is_transient = rand()&0x1;
 #endif
 #ifdef FUZZING
    is_transient = rand()&0x1;
 #endif
-   //printf("%d %f %f %f %f\n", is_transient, *tf_estimate, tf_max, analysis->tonality, analysis->noisiness);
+   /*printf("%d %f %f %f %f\n", is_transient, *tf_estimate, tf_max, analysis->tonality, analysis->noisiness);*/
    return is_transient;
 }
 
    return is_transient;
 }
 
index f0fb40d..6421c17 100644 (file)
@@ -154,7 +154,7 @@ double compute_gradient(MLPTrain *net, float *inputs, float *outputs, int nbSamp
                        error[i] = out[i] - netOut[i];
                        rms += error[i]*error[i];
                        *error_rate += fabs(error[i])>1;
                        error[i] = out[i] - netOut[i];
                        rms += error[i]*error[i];
                        *error_rate += fabs(error[i])>1;
-                        //error[i] = error[i]/(1+fabs(error[i]));
+                       /*error[i] = error[i]/(1+fabs(error[i]));*/
                }
                /* Back-propagate error */
                for (i=0;i<outDim;i++)
                }
                /* Back-propagate error */
                for (i=0;i<outDim;i++)