Skip to main content

Gradient accumulation for Keras

Project description

Keras Gradient Accumulation

Travis Coverage Version Downloads License

[中文|English]

Install

pip install keras-gradient-accumulation

Usage

from keras_gradient_accumulation import GradientAccumulation

optimizer = GradientAccumulation('adam', accumulation_steps=8)

Known Issues

  • Not compatible with OptimizerV2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keras-gradient-accumulation-0.0.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page