mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(scripts): reset continue state after each code block to avoid combining everything into a single code block
This commit is contained in:
@@ -80,6 +80,7 @@ The `NumpyModule` allows us to runs inference as for a `nn.Module`. Here, the pr
|
||||
|
||||
We can then quantize the numpy module with `PostTrainingAffineQuantization` as follows:
|
||||
|
||||
<!--python-test:cont-->
|
||||
```python
|
||||
from concrete.quantization import PostTrainingAffineQuantization
|
||||
numpy_input = numpy.random.uniform(-1, 1, size=(10,14)) # some input with 14 features to calibrate the quantization
|
||||
|
||||
Reference in New Issue
Block a user