ellip;,)</code></dd>
</dl></div>
<details class="source">
<summary>
<span>Expand source code</span>
<a href="https://github.com/sigsep/open-unmix-pytorch/blob/b436d5f7d40c2b8ff0b2500e9d953fa47929b261/openunmix/transforms.py#L192-L209" class="git-link">Browse git</a>
</summary>
<pre><code class="python">def forward(self, spec: Tensor) -&gt; Tensor:
    &#34;&#34;&#34;
    Args:
        spec: complex_tensor (Tensor): Tensor shape of
            `(..., complex=2)`

    Returns:
        Tensor: Power/Mag of inp