span class='kw'>head_size</span><span class='kw'>=</span><span class='fl'>128</span>, <span class='kw'>num_heads</span><span class='kw'>=</span><span class='fl'>128</span>)
<span class='no'>query</span> <span class='kw'>=</span> <span class='no'>tf</span>$<span class='no'>random</span>$<span class='fu'>uniform</span>(<span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span>(<span class='fl'>32L</span>, <span class='fl'>20L</span>, <span class='fl'>200L</span>)) <span class='co'># (batch_si