n><span class="p">(</span><span class="n">image</span><span class="p">,</span> <span class="n">size</span><span class="o">=</span><span class="mi">2</span><span class="p">))</span>
</pre></div>
</div>
<img alt="../_images/5_data_augmentation_considerations_2_0.png" src="../_images/5_data_augmentation_considerations_2_0.png" />
<p>In order to perform data augmentation on the image we can create a
pipeline of transformations.</p>
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></