teral notranslate"><span class="pre">(k,)</span></code>.</p>
<p>If multiple query vectors were provided, both <code class="docutils literal notranslate"><span class="pre">neighbor_ids</span></code> and <code class="docutils literal notranslate"><span class="pre">distances</span></code>
will be of shape <code class="docutils literal notranslate"><span class="pre">(num_queries,</span> <span class="pre">k)</span></code>, ordered such that the <code class="docutils literal notranslate"><span class="pre">i</span