()
| 31 | } |
| 32 | |
| 33 | async function test() { |
| 34 | const testExamples = 50; |
| 35 | const batch = data.nextTestBatch(testExamples); |
| 36 | const predictions = model.predict(batch.xs); |
| 37 | const labels = model.classesFromLabel(batch.labels); |
| 38 | |
| 39 | ui.showTestResults(batch, predictions, labels); |
| 40 | } |
| 41 | |
| 42 | async function mnist() { |
| 43 | await load(); |
no test coverage detected