d="torchtril">torch.tril</h2>
<pre><code>torch.tril(*shape,
            requires_grad=false,
            device='cpu') → Tensor
</code></pre>
<p>Returns a 2D lower triangular tensor.</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 to keep track of this tensor's gradients. Set this to true if you want to <strong>learn</strong> this parameter in your model. Default: <code>false</c