;&gt; from brevitas.core.quant import IntQuant</span>
<span class="sd">        &gt;&gt;&gt; int_quant = IntQuant(narrow_range=True, signed=True)</span>
<span class="sd">        &gt;&gt;&gt; int_quant_wrapper = PrescaledRestrictIntQuantWithInputBitWidth(int_quant, Identity())</span>
<span class="sd">        &gt;&gt;&gt; scale, input_bit_width = torch.tensor(0.01), torch.tensor(4.)</span>
<span class="sd">        &gt;&gt;&gt; inp = torch.Tensor([0.042, -0.053, 0.31, -0.44])</span>
<span class="sd">        &gt