Tf-encrypted

Latest version: v0.9.1

Safety actively analyzes 619136 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.9.1

**Added**

- support 128 bits ring size for aby3 protocol to provide more precision
- support appending to TFRecord dataset as a tensorflow op

**Fixed**

- pond protocol device assertion error
- tfe.function decorator with argument not tfe tensor
- secure random with really big tensor shape

0.9.0

Not secure
**Changed**

- Remove all TF1 like TFE features, e.g. `tfe.Session`, `tfe.Placeholder`...
- Rely on Tensorflow 2.9.1
- Eager execution
- Auto add dependency for stateful op, e.g. `assign`, `read_value`...
- Define a graph by `tfe.function`
- Build TFE model from ONNX model, support both train and inference

**Fixed**

- share's device bug

0.8.0

Not secure
**Added**
- Graph conversion from native TF graph to TFE graph (Resnet50 tested)
- Auto backward propagation for neural network model training
- Various necessary functions for neural network training in the ABY3 protocol
- 3PC Benchmark

**Fixed**
- Compatibility with tf 1.13.2

0.7.0

Not secure
**Fixed**

- Fix a buggy CI workflow that fails to use cache in 'deploy' step (because of a different image from 'build step')
- Remove skipping conditions in aby3 test

**Added**
- ABY3 available on pypi

0.5.9

Not secure
**Added**

- We now support TensorFlow 1.14.0
- OpenMined as organizational contributor in the README
- Links to TF Seal and Keras blog posts in the README


**Changed**

- Add more detailed explanations to the Keras Classification notebooks

**Fixed**

- Public division by adding reciprotal (tf.math.reciprotal) support
- A bug in interactive truncation which could have lead to overflow
- SecureNN's ReLU out of memory error for large tensors. Above a certain threshold (tensor size), the tensor gets splitted. ReLU is performed on each split and the results are then concatenated.
- An edge case in `tfe.convert` where it couldnt't convert a model correctly using specific special ops in the graph

0.5.8

Not secure
**Added**

- Converter support for DepthwiseConv2d layer
- `tfe.keras.GlobalAveragePooling2D`: now support global average pooling operation for spatial data
- `tfe.keras.GlobalMaxPooling2D`: now supports global max pooling operation for spatial data
- Added training support basic models:
- Backpropagation for `tfe.keras.layers.dense` and sigmoid activation
- `tfe.keras.losses.BinaryCrossentropy`: now supports binary cross-entropy loss.
- `tfe.keras.optimizers.SGD`: now supports stochastic gradient descent optimizer.
- Added `compile` method to `tfe.keras.models.Sequential` to configure the model for training.
- Added `fit` method to `tfe.keras.models.Sequential` to trains models for a given number of epochs.
- Bloom's example for fast linear regression
- Add example of Keras model training with differential privacy, combined with predictions on encrypted data.

**Changed**

- More detailed error message when raising error for unknown layer arguments.

**Fixed**
- Explicitly use int64 for numpy in Pond protocol because `int` is interpreted differently on Windows (32bits) and macOS (64 bits).
- Converter raises exception when passing empty model.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.