</span></code></pre>
</div>
<div class="section level2">
<h2 id="you-can-use-a-hypermodel-subclass-instead-of-a-model-building-function">You can use a HyperModel subclass instead of a model-building function<a class="anchor" aria-label="anchor" href="#you-can-use-a-hypermodel-subclass-instead-of-a-model-building-function"></a>
</h2>
<p>This makes it easy to share and reuse hypermodels.</p>
<p>A <code>HyperModel</code> subclass only needs to implement a <code>build(self, hp)</code> method.</p>
<pre><code><sp