flags.ts:29 Debugging mode is ON. The output of every math call will be downloaded to CPU and checked for NaNs. This significantly impacts performance. (anonymous) @ flags.ts:29 t.set @ environment.ts:110 t.enableDebugMode @ globals.ts:50 (anonymous) @ VM818:1 undefined 4util.ts:428 Uncaught (in promise) Error: A tensor of type float32 being uploaded contains -Infinity. at O (util.ts:428:7) at q (util.ts:560:5) at un (tensor_ops.ts:111:7) at Object.sn [as tensor] (tensor_ops.ts:59:3) at f (speech-commands.min.js:17:7038) at e. (speech-commands.min.js:17:5802) at speech-commands.min.js:17:1880 at Object.next (speech-commands.min.js:17:1985) at speech-commands.min.js:17:923 at new Promise () O @ util.ts:428 q @ util.ts:560 un @ tensor_ops.ts:111 sn @ tensor_ops.ts:59 f @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 i @ speech-commands.min.js:17 e.onAudioFrame @ speech-commands.min.js:17 setInterval (async) (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 s @ speech-commands.min.js:17 Promise.then (async) l @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 i @ speech-commands.min.js:17 e.start @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 s @ speech-commands.min.js:17 Promise.then (async) l @ speech-commands.min.js:17 (anonymous) @ speech-commands.min.js:17 i @ speech-commands.min.js:17 e.listen @ speech-commands.min.js:17 start @ speechmodel.js:32 (anonymous) @ scriptui.js:67 profiler.ts:96 div 109.79999995231628ms 4D 1,43,232,1 9976 a: 4D 1,43,232,1 b: 0D wi: 43.89999985694885, wi: 30, Xa: 35.90000009536743 profiler.ts:96 reshape 46.40000009536743ms 2D 1,9976 9976 x: 4D 1,43,232,1 so: 46.40000009536743 profiler.ts:96 reshape 0ms 0D 1 x: 2D 1,1 profiler.ts:96 cast 0ms 4D 1,43,232,1 9976 x: 4D 1,43,232,1 profiler.ts:96 sub 70.39999985694885ms 4D 1,43,232,1 9976 a: 4D 1,43,232,1 b: 4D 1,1,1,1 eo: 27.59999990463257, Xa: 42.799999952316284 profiler.ts:96 square 72.70000004768372ms 4D 1,43,232,1 9976 x: 4D 1,43,232,1 $o: 38.30000019073486, Do: 34.39999985694885 profiler.ts:96 div 116.20000004768372ms 4D 1,43,232,1 9976 a: 4D 1,43,232,1 b: 0D eo: 38.799999952316284, wi: 35, Xa: 42.40000009536743 profiler.ts:96 reshape 35.40000009536743ms 2D 1,9976 9976 x: 4D 1,43,232,1 so: 35.40000009536743 profiler.ts:96 reshape 0ms 0D 1 x: 2D 1,1 profiler.ts:96 sub 72.70000004768372ms 4D 1,43,232,1 9976 a: 4D 1,43,232,1 b: 0D eo: 31, Xa: 41.700000047683716 profiler.ts:96 sqrt 34.299999952316284ms 0D 1 $x: 0D Do: 34.299999952316284 profiler.ts:96 add 96ms 0D 1 a: 0D b: 0D eo: 30.799999952316284, wi: 31.299999952316284, Xa: 33.90000009536743 profiler.ts:96 div 40.299999952316284ms 4D 1,43,232,1 9976 a: 4D 1,43,232,1 b: 0D Xa: 40.299999952316284 profiler.ts:96 slice 30.799999952316284ms 4D 1,43,232,1 9976 x: 4D 1,43,232,1 t: 30.799999952316284 profiler.ts:96 reshape 0ms 3D 1,16,8 128 x: 4D 2,8,1,8 profiler.ts:96 reshape 0ms 3D 1,16,9450 151200 x: 2D 16,9450 profiler.ts:96 reshape 44.200000047683716ms 4D 1,42,225,8 75600 x: 3D 1,9450,8 so: 44.200000047683716 profiler.ts:96 maxPool 74.5ms 4D 1,21,112,8 18816 x: 4D 1,42,225,8 $o: 38.90000009536743, ao: 35.59999990463257 profiler.ts:96 reshape 0ms 3D 1,64,32 2048 x: 4D 2,4,8,32 profiler.ts:96 reshape 0ms 3D 1,64,2180 139520 x: 2D 64,2180 profiler.ts:96 reshape 32.700000047683716ms 4D 1,20,109,32 69760 x: 3D 1,2180,32 so: 32.700000047683716 profiler.ts:96 maxPool 82.90000009536743ms 4D 1,10,54,32 17280 x: 4D 1,20,109,32 $o: 46.60000014305115, ao: 36.299999952316284 profiler.ts:96 reshape 0ms 3D 1,256,32 8192 x: 4D 2,4,32,32 profiler.ts:96 reshape 0ms 3D 1,256,459 117504 x: 2D 256,459 profiler.ts:96 reshape 34.10000014305115ms 4D 1,9,51,32 14688 x: 3D 1,459,32 so: 34.10000014305115 profiler.ts:96 maxPool 57.799999952316284ms 4D 1,4,25,32 3200 x: 4D 1,9,51,32 $o: 26.5, ao: 31.299999952316284 profiler.ts:96 reshape 0ms 3D 1,256,32 8192 x: 4D 2,4,32,32 profiler.ts:96 reshape 0ms 3D 1,256,66 16896 x: 2D 256,66 profiler.ts:96 reshape 0ms 4D 1,3,22,32 2112 x: 3D 1,66,32 profiler.ts:96 maxPool 70.59999990463257ms 4D 1,2,11,32 704 x: 4D 1,3,22,32 $o: 34.5, ao: 36.09999990463257 profiler.ts:96 reshape 0ms 3D 1,704,2000 1408000 x: 2D 704,2000 profiler.ts:96 fusedMatMul 115ms 3D 1,1,2000 2000 $a: 3D 1,1,704 $b: 3D 1,704,2000 $bias: 1D 2000 eo: 74, Zi: 41 profiler.ts:96 reshape 0ms 3D 1,2000,2 4000 x: 2D 2000,2 profiler.ts:96 fusedMatMul 23.40000009536743ms 3D 1,1,2 2 $a: 3D 1,1,2000 $b: 3D 1,2000,2 Zi: 23.40000009536743 profiler.ts:96 add 14.800000190734863ms 2D 1,2 2 a: 2D 1,2 b: 1D 2 Xa: 14.800000190734863 profiler.ts:96 reshape 0ms 1D 1 1 x: 2D 1,1 profiler.ts:96 sub 29.199999809265137ms 2D 1,2 2 a: 2D 1,2 b: 2D 1,1 eo: 16.899999856948853, Xa: 12.299999952316284 profiler.ts:96 exp 7.8999998569488525ms 2D 1,2 2 $x: 2D 1,2 Xo: 7.8999998569488525 profiler.ts:96 reshape 0ms 1D 1 1 x: 2D 1,1 profiler.ts:96 log 24.50000023841858ms 1D 1 1 $x: 1D 1 eo: 14.700000047683716, Xo: 9.800000190734863 profiler.ts:96 add 27ms 1D 1 1 a: 1D 1 b: 1D 1 eo: 10.900000095367432, Xa: 16.09999990463257 profiler.ts:96 sub 11.200000047683716ms 2D 1,2 2 a: 2D 1,2 b: 2D 1,1 Xa: 11.200000047683716 profiler.ts:96 exp 9ms 2D 1,2 2 $x: 2D 1,2 Xo: 9 profiler.ts:96 unnamed scope 236.99999976158142ms 0D 1 permutedX: 4D 1,43,232,1 mi: 33.700000047683716, $o: 34.80000019073486, oo: 38.09999990463257, oo: 43.299999952316284, oo: 43.19999980926514, di: 43.89999985694885 profiler.ts:96 sum 0ms 0D 1 0: 4D 1,43,232,1 profiler.ts:96 mean 29.799999952316284ms 0D 1 0: 4D 1,43,232,1 mi: 29.799999952316284 profiler.ts:96 reshape 0ms 4D 1,1,1,1 1 x: 0D profiler.ts:96 unnamed scope 217.39999961853027ms 0D 1 permutedX: 4D 1,43,232,1 mi: 34.39999985694885, $o: 36.09999990463257, oo: 37.5, oo: 36.89999985694885, oo: 35.59999990463257, di: 36.90000009536743 profiler.ts:96 sum 0ms 0D 1 0: 4D 1,43,232,1 profiler.ts:96 mean 41.200000047683716ms 0D 1 0: 4D 1,43,232,1 mi: 41.200000047683716 profiler.ts:96 reshape 0ms 3D 43,232,1 9976 x: 4D 1,43,232,1 profiler.ts:96 fusedConv2d 234.400000333786ms 4D 1,42,225,8 75600 x: 4D 1,43,232,1 filter: 4D 2,8,1,8 bias: 1D 8 mi: 42.5, Hi: 42.299999952316284, mi: 31.600000143051147, Zi: 78.40000009536743, mi: 39.60000014305115 profiler.ts:96 reshape 0ms 3D 21,112,8 18816 x: 4D 1,21,112,8 profiler.ts:96 fusedConv2d 269.89999985694885ms 4D 1,20,109,32 69760 x: 4D 1,21,112,8 filter: 4D 2,4,8,32 bias: 1D 32 mi: 34.89999985694885, eo: 41.40000009536743, Hi: 54.09999990463257, mi: 26.700000047683716, Zi: 76.79999995231628, mi: 36 profiler.ts:96 reshape 0ms 3D 10,54,32 17280 x: 4D 1,10,54,32 profiler.ts:96 fusedConv2d 269.7999999523163ms 4D 1,9,51,32 14688 x: 4D 1,10,54,32 filter: 4D 2,4,32,32 bias: 1D 32 mi: 35.799999952316284, eo: 50, Hi: 39, mi: 38.5, Zi: 78.5, mi: 28 profiler.ts:96 reshape 0ms 3D 4,25,32 3200 x: 4D 1,4,25,32 profiler.ts:96 fusedConv2d 248.70000004768372ms 4D 1,3,22,32 2112 x: 4D 1,4,25,32 filter: 4D 2,4,32,32 bias: 1D 32 mi: 39.09999990463257, eo: 41.09999990463257, Hi: 37.10000014305115, mi: 35.799999952316284, Zi: 60.10000014305115, mi: 35.5 profiler.ts:96 reshape 0ms 2D 1,704 704 x: 4D 1,2,11,32 profiler.ts:96 clone 0ms 2D 1,704 704 $x: 2D 1,704 profiler.ts:96 reshape 0ms 3D 1,1,704 704 x: 2D 1,704 profiler.ts:96 reshape 0ms 2D 1,2000 2000 x: 3D 1,1,2000 profiler.ts:96 reshape 0ms 3D 1,1,2000 2000 x: 2D 1,2000 profiler.ts:96 reshape 0ms 2D 1,2 2 x: 3D 1,1,2 profiler.ts:96 reshape 0ms 2D 1,2 2 x: 2D 1,2 profiler.ts:96 cast 0ms 2D 1,2 2 x: 2D 1,2 profiler.ts:96 max 29.200000286102295ms 1D 1 1 x: 2D 1,2 $o: 9.200000047683716, oo: 10.100000143051147, di: 9.900000095367432 profiler.ts:96 reshape 0ms 2D 1,1 1 x: 1D 1 profiler.ts:96 reshape 0ms 1D 1 1 x: 2D 1,1 profiler.ts:96 reshape 0ms 2D 1,2 2 x: 2D 1,2 profiler.ts:96 unnamed scope 36.200000047683716ms 1D 1 1 permutedX: 2D 1,2 $o: 17.100000143051147, oo: 8.5, di: 10.599999904632568 profiler.ts:96 sum 0ms 1D 1 1 0: 2D 1,2 profiler.ts:96 reshape 0ms 2D 1,1 1 x: 1D 1 profiler.ts:96 softmax 64.59999990463257ms 2D 1,2 2 0: 2D 1,2 mi: 8.400000095367432, mi: 12.699999809265137, mi: 9.799999952316284, mi: 16.09999990463257, mi: 9.299999952316284, mi: 8.300000190734863 profiler.ts:96 reshape 0ms 2D 1,2 2 x: 2D 1,2 profiler.ts:96 reshape 0ms 1D 1 1 x: 2D 1,1 profiler.ts:96 argMax 30.100000143051147ms 1D 1 1 x: 2D 1,2 ba: 12.800000190734863, di: 17.299999952316284