Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Sep 1, 2017
1 parent 3d260c4 commit 95caa59
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/rnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,24 +176,3 @@ void compute_rnn(RNNState *rnn, float *gains, float *vad, const float *input) {
compute_gru(&denoise_gru, rnn->denoise_gru_state, denoise_input);
compute_dense(&denoise_output, gains, rnn->denoise_gru_state);
}

#if 0
int main() {
float vad_out[MAX_NEURONS] = {0};
float input[INPUT_SIZE];
float gains[DENOISE_OUTPUT_SIZE];
RNNState rnn;
RNN_CLEAR(&rnn, 1);
while (1)
{
int i;
for (i=0;i<INPUT_SIZE;i++) scanf("%f", &input[i]);
for (i=0;i<45;i++) scanf("%f", &vad_out[0]);
if (feof(stdin)) break;
compute_rnn(&rnn, gains, vad_out, input);

for (i=0;i<22;i++) printf("%f ", gains[i]);
printf("%f\n", vad_out[0]);
}
}
#endif

0 comments on commit 95caa59

Please sign in to comment.