v0.3.2
What's changed
- Fix for
GradientAccumulateOptimizerto supporttf >= 2.10by dynamically inheriting from (legacy) Optimizer related to #37 - Deprecated and removed
tensorflow-addons(now onlytensorflowis required) related to #40 - Fix for macOS builds failing due to poor dependency versioning related to #39
- Added support for Python 3.11-3.12, see #43
- Added support for TensorFlow 2.2 again (after
tf-addonsremoval), see #44 - Fixed
tensorflor-datasetsversioning in unit tests to work across all relevant setups, see #41 - Added custom
AccumBatchNormalizationlayer demonstrating similar results to regular keras' BN, see here - Adding notebook for HuggingFaceTF models by @0syrys in #34
- Improved code coverage from 46% to 74%
Full Changelog: v0.3.1...v0.3.2
New Contributors
- @0syrys made their first contribution in #34
Full Changelog: v0.3.1...v0.3.2
How to install?
pip install gradient-accumulator==0.3.2
New API feature
Custom Batch Normalization layer
from gradient_accumulator.layers import AccumBatchNormalization
model = Sequential()
model.add(AccumBatchNormalization())