At https://deeplearnjs.org/index.html#demos , it said the API will be available as 'dl', here's a print screen of the site:
but when I tried putting
<head><script src="https://unpkg.com/deeplearn"></script></head>
<body><script>var math = new dl.NDArrayMathGPU();
it prompted Uncaught ReferenceError: dl is not defined
How should I load it then?
The documentation might have a mistake.
It seems that the library is globally available as
deeplearn
instead ofdl