>)</span>
    <span class="n">keras_model</span><span class="o">.</span><span class="n">save</span><span class="p">(</span><span class="n">siamese_network_h5_path</span><span class="p">,</span> <span class="n">save_format</span><span class="o">=</span><span class="s1">'tf'</span><span class="p">)</span>

    <span class="c1"># Extract the embedding network from the siamese network</span>
    <span class="n">embedding_network</span> <span class="o">=</span> <span class="kc">None</span>
    <span class="k">fo