v0.3.2
What's changed
- Fix for
GradientAccumulateOptimizer
to supporttf >= 2.10
by dynamically inheriting from (legacy) Optimizer related to #37 - Deprecated and removed
tensorflow-addons
(now onlytensorflow
is 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-addons
removal), see #44 - Fixed
tensorflor-datasets
versioning in unit tests to work across all relevant setups, see #41 - Added custom
AccumBatchNormalization
layer 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())