an class="sd">    Examples:</span>
<span class="sd">        &gt;&gt;&gt; from brevitas.core.scaling import ConstScaling</span>
<span class="sd">        &gt;&gt;&gt; binary_quant = ClampedBinaryQuant(ConstScaling(0.1))</span>
<span class="sd">        &gt;&gt;&gt; inp = torch.Tensor([0.04, -0.6, 3.3]).requires_grad_(True)</span>
<span class="sd">        &gt;&gt;&gt; out, scale, zero_point, bit_width = binary_quant(inp)</span>
<span class="sd">        &gt;&gt;&gt; out</span>
<span class="sd">        tensor([ 0