</pre>
<p><br></p>
<h2 id="torchrandn">torch.randn</h2>
<pre><code>torch.randn(*shape,
            requires_grad=false,
            device='cpu',
            xavier=false) → Tensor
</code></pre>
<p>Returns a tensor filled with randomly sampled data with dimensions like <code>shape</code>. The sample is from a normal distribution.</p>
<p>Parameters</p>
<ul>
<li><strong>shape (Array)</strong> - Javascript Array containing the shape of the Tensor.</li>
<li><strong>requires_grad (boolean)</strong> - Whether t