e are some observations we want to make about this linearization that are very
useful for many optimizations.</p>
<p>Transforming into this linear space is very simple, it is a summation of the
input dimension multiplied by the stride at that dimension:</p>
<pre><code class="language-clojure">user&gt; (dtt/tensor-&gt;dimensions (dtt/-&gt;tensor (partition 2 (range 4))))

{:shape [2 2],
 :strides [2 1],
 :offsets [0 0],
 :max-shape [2 2],
 :dense? true,
 :global-&gt;local #&lt;Delay@4a0f7470: :not-delivered&