Arthur Hau, PhD🐶🐱🌱🎵🦣<p>There are two obstacles when you use <a href="https://tribe.net/tags/Assemblyscript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Assemblyscript</span></a> and <a href="https://tribe.net/tags/Deno" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Deno</span></a> for <a href="https://tribe.net/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MachineLearning</span></a> <a href="https://tribe.net/tags/ML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ML</span></a> and <a href="https://tribe.net/tags/SmallLanguageModels" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallLanguageModels</span></a> <a href="https://tribe.net/tags/SLM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SLM</span></a>. 1. Assemblyscript works with linear memory and you have to flatten 3D <a href="https://tribe.net/tags/tensors" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tensors</span></a> and 2D <a href="https://tribe.net/tags/matrices" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>matrices</span></a> into 1D <a href="https://tribe.net/tags/arrays" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arrays</span></a> for doing any matrix algebra. 2. Deno is a bit more complicated than Node.js when working with <a href="https://tribe.net/tags/WASM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WASM</span></a> (<a href="https://tribe.net/tags/Webassemly" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Webassemly</span></a>) files. Here is how you do it. Webassembly makes NNUE models even faster in computation. This together with <a href="https://tribe.net/tags/WebGPU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebGPU</span></a> will become our future. <a href="https://tribe.net/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://tribe.net/tags/javascript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>javascript</span></a></p>