Skip to content

Commit 1ea5d46

Browse files
committed
chore: prepare release 1.5.0
1 parent 8d1d98a commit 1ea5d46

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/references/api/concrete.ml.quantization.quantized_module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ______________________________________________________________________
7272
### <kbd>method</kbd> `bitwidth_and_range_report`
7373

7474
```python
75-
bitwidth_and_range_report() → Optional[Dict[str, Dict[str, Union[Tuple[int, ], int]]]]
75+
bitwidth_and_range_report() → Union[Dict[str, Dict[str, Union[Tuple[int, ], int]]], NoneType]
7676
```
7777

7878
Report the ranges and bit-widths for layers that mix encrypted integer values.

docs/references/api/concrete.ml.quantization.quantized_module_passes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ______________________________________________________________________
4141
### <kbd>method</kbd> `compute_op_predecessors`
4242

4343
```python
44-
compute_op_predecessors() → DefaultDict[Optional[QuantizedOp], List[Tuple[Optional[QuantizedOp], str]]]
44+
compute_op_predecessors() → DefaultDict[Union[QuantizedOp, NoneType], List[Tuple[Union[QuantizedOp, NoneType], str]]]
4545
```
4646

4747
Compute the predecessors for each QuantizedOp in a QuantizedModule.
@@ -61,7 +61,7 @@ ______________________________________________________________________
6161
```python
6262
detect_patterns(
6363
predecessors: DefaultDict[Optional[QuantizedOp], List[Tuple[Optional[QuantizedOp], str]]]
64-
) → Dict[QuantizedMixingOp, Tuple[List[Optional[QuantizedOp]], Optional[QuantizedOp]]]
64+
) → Dict[QuantizedMixingOp, Tuple[List[Union[QuantizedOp, NoneType]], Union[QuantizedOp, NoneType]]]
6565
```
6666

6767
Detect the patterns that can be optimized with roundPBS in the QuantizedModule.
@@ -107,7 +107,7 @@ ______________________________________________________________________
107107
### <kbd>method</kbd> `process`
108108

109109
```python
110-
process() → Dict[QuantizedMixingOp, Tuple[List[Optional[QuantizedOp]], Optional[QuantizedOp]]]
110+
process() → Dict[QuantizedMixingOp, Tuple[List[Union[QuantizedOp, NoneType]], Union[QuantizedOp, NoneType]]]
111111
```
112112

113113
Analyze an ONNX graph and detect Gemm/Conv patterns that can use RoundPBS.
@@ -129,7 +129,7 @@ ______________________________________________________________________
129129
```python
130130
process_patterns(
131131
valid_paths: Dict[QuantizedMixingOp, Tuple[List[Optional[QuantizedOp]], Optional[QuantizedOp]]]
132-
) → Dict[QuantizedMixingOp, Tuple[List[Optional[QuantizedOp]], Optional[QuantizedOp]]]
132+
) → Dict[QuantizedMixingOp, Tuple[List[Union[QuantizedOp, NoneType]], Union[QuantizedOp, NoneType]]]
133133
```
134134

135135
Configure the rounding bits of roundPBS for the optimizable operations.

0 commit comments

Comments
 (0)