> <span class="s1">&#39;black_border_size&#39;</span><span class="p">)</span>

<div class="viewcode-block" id="SpatialTransformationMethod.generate"><a class="viewcode-back" href="../../../source/attacks.html#cleverhans.attacks.SpatialTransformationMethod.generate">[docs]</a>  <span class="k">def</span> <span class="nf">generate</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">x</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</