M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Create a <a href="../classes/Tensor.html">Tensor</a> filled with a single value.</p>

<h3>Example</h3><pre><code class="language-javascript"><span class="hl-0">  </span><span class="hl-1">// 128x8 tensor of all 1s</span><br/><span class="hl-0">  </