rk.
An MLP consists of at least three layers of nodes: an input layer, a hidden layer and an output layer.</p>
<p><strong>constructor</strong> create  an instance of MLP</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">input_dim</span><span class="p">,</span> <span class="n">hidden_dim</span><span class="p">,</span> <span class="n">hidden_dims</sp