v class="output_markdown rendered_html output_subarea ">
<h4 id="pad_to_shape" class="doc_header"><code>pad_to_shape</code><a href="https://github.com/JayYip/m3tl/tree/master/m3tl/problem_types/utils.py#L55" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>pad_to_shape</code>(<strong><code>from_tensor</code></strong>:<code>Tensor</code>, <strong><code>to_tensor</code></strong>:<code>Tensor</code>, <strong><code>axis</code></strong>=<em><code>1</code></em>)</p>
</blockquote>

</d