trides #list&lt;int64&gt;[2]
[1024, 1, ]}
</code></pre>
<p>Once we have a reduced expression of our dimension space, we can build an AST
that expressed exactly the transformation required to transform correctly from
the global index space into the local index space:</p>
<pre><code class="language-clojure">user&gt; (require '[tech.v3.tensor.dimensions.global-to-local :as gtol])
nil

user&gt; (require '[tech.v3.tensor.dimensions.global-to-local :as gtol])
nil
user&gt; (def test-ast (gtol/global-&gt;local-ast 