ss="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Take in a dictionary of parameters and applies attack-specific checks</span>
<span class="sd">    before saving them as attributes.</span>
<span class="sd">    :param n_samples: (optional) The number of transformations sampled to</span>
<span class="sd">                      construct the attack. Set it to None to run</span>
<span class="sd">                      full grid attack.</span>
<span class="sd">    :param dx_min: 