Skip to content

Commit

Permalink
Remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
caisq committed Feb 13, 2020
1 parent 4a71937 commit d0126d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion speech-commands/src/browser_fft_recognizer.ts
Expand Up @@ -228,7 +228,6 @@ export class BrowserFftSpeechCommandRecognizer implements
}

const scores = await y.data() as Float32Array;
const t1 = Date.now();
const maxIndexTensor = y.argMax(-1);
const maxIndex = (await maxIndexTensor.data())[0];
const maxScore = Math.max(...scores);
Expand Down

0 comments on commit d0126d8

Please sign in to comment.