Skip to main content

Keras Gradient Accumulation

Travis Coverage Version Downloads License

[中文|English]

Install

pip install keras-gradient-accumulation

Usage

Wrapper

from keras_gradient_accumulation import GradientAccumulation

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

Adam

from keras_gradient_accumulation import AdamAccumulated

optimizer = AdamAccumulated(accumulation_steps=8)

Known Issues

  • Not available for batch normalization
  • Not compatible with OptimizerV2

Metadata

Release files for keras-gradient-accumulation 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-gradient-accumulation 0.0.6
File Size Uploaded Provenance Actions
keras-gradient-accumulation-0.0.6.tar.gz 7.5 kB Without provenance Details for keras-gradient-accumulation-0.0.6.tar.gz

Release files / keras-gradient-accumulation-0.0.6.tar.gz

Download URL keras-gradient-accumulation-0.0.6.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1e5046aeafdcedb88e5d047b2f2791366a8574a24de5a1f79b378873e53db7b2
BLAKE2b-256 checksum
How to use checksums
bcaddac21e613c0016f6b145d434faaa3a0715f8bb40769d35ba1c2f206597de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Security for keras-gradient-accumulation 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page