Skip to content

Commit

Permalink
chore: prepare release 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-stoian-zama committed Oct 23, 2023
1 parent 0cc5f8e commit bc48143
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
root_url = root_url if root_url.endswith("/") else root_url + "/"

# The full version, including alpha/beta/rc tags
release = "1.2.0"
release = "1.3.0"


# -- General configuration ---------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/developer-guide/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
- [`utils.all_values_are_floats`](./concrete.ml.common.utils.md#function-all_values_are_floats): Indicate if all unpacked values are of a supported float dtype.
- [`utils.all_values_are_integers`](./concrete.ml.common.utils.md#function-all_values_are_integers): Indicate if all unpacked values are of a supported integer dtype.
- [`utils.all_values_are_of_dtype`](./concrete.ml.common.utils.md#function-all_values_are_of_dtype): Indicate if all unpacked values are of the specified dtype(s).
- [`utils.array_allclose_and_same_shape`](./concrete.ml.common.utils.md#function-array_allclose_and_same_shape): Check if two numpy arrays are equal within a tolerances and have the same shape.
- [`utils.check_dtype_and_cast`](./concrete.ml.common.utils.md#function-check_dtype_and_cast): Convert any allowed type into an array and cast it if required.
- [`utils.check_there_is_no_p_error_options_in_configuration`](./concrete.ml.common.utils.md#function-check_there_is_no_p_error_options_in_configuration): Check the user did not set p_error or global_p_error in configuration.
- [`utils.compute_bits_precision`](./concrete.ml.common.utils.md#function-compute_bits_precision): Compute the number of bits required to represent x.
Expand Down
30 changes: 30 additions & 0 deletions docs/developer-guide/api/concrete.ml.common.utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,36 @@ Indicate if all unpacked values are of the specified dtype(s).

______________________________________________________________________

<a href="../../../src/concrete/ml/common/utils.py#L588"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>function</kbd> `array_allclose_and_same_shape`

```python
array_allclose_and_same_shape(
a,
b,
rtol: float = 1e-05,
atol: float = 1e-08,
equal_nan: bool = False
) → bool
```

Check if two numpy arrays are equal within a tolerances and have the same shape.

**Args:**

- <b>`a`</b> (numpy.ndarray): The first input array
- <b>`b`</b> (numpy.ndarray): The second input array
- <b>`rtol`</b> (float): The relative tolerance parameter
- <b>`atol`</b> (float): The absolute tolerance parameter
- <b>`equal_nan`</b> (bool): Whether to compare NaN’s as equal. If True, NaN’s in a will be considered equal to NaN’s in b in the output array

**Returns:**

- <b>`bool`</b>: True if the arrays have the same shape and all elements are equal within the specified tolerances, False otherwise.

______________________________________________________________________

<a href="../../../src/concrete/ml/common/utils.py#L52"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>class</kbd> `FheMode`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Quantization utilities for a numpy array/tensor.

## **Global Variables**

- **QUANT_ROUND_LIKE_ROUND_PBS**
- **STABILITY_CONST**

______________________________________________________________________
Expand Down
6 changes: 3 additions & 3 deletions docs/developer-guide/api/concrete.ml.sklearn.base.md
Original file line number Diff line number Diff line change
Expand Up @@ -3823,7 +3823,7 @@ For KNN, the de-quantization step is not required. Because \_inference returns t

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/base.py#L2126"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/base.py#L2127"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `predict`

Expand All @@ -3846,7 +3846,7 @@ quantize_input(X: 'ndarray') → ndarray

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/base.py#L2137"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/base.py#L2138"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

## <kbd>class</kbd> `SklearnKNeighborsClassifierMixin`

Expand Down Expand Up @@ -4183,7 +4183,7 @@ For KNN, the de-quantization step is not required. Because \_inference returns t

______________________________________________________________________

<a href="../../../src/concrete/ml/sklearn/base.py#L2126"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
<a href="../../../src/concrete/ml/sklearn/base.py#L2127"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>

### <kbd>method</kbd> `predict`

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "concrete-ml"
version = "1.2.0"
version = "1.3.0"
description = "Concrete ML is an open-source set of tools which aims to simplify the use of fully homomorphic encryption (FHE) for data scientists."
license = "BSD-3-Clause-Clear"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion src/concrete/ml/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""File to manage the version of the package."""
# Auto-generated by "make set_version" do not modify
__version__ = "1.2.0"
__version__ = "1.3.0"

0 comments on commit bc48143

Please sign in to comment.