Skip to main content

autodiffpy - Group 13

Build Status Coverage Status

autodiffpy is a library implementing automatic differentiation to make the calculation of gradients of complex functions fast and precise.

Installation

pip install autodiffpy-free-holmes

Getting Started with Forward mode

from autodiffpy.forward import Forward

x = Forward('x', 3)
f = x ** 2

print(f.value, f.get_gradient('x'))
>>> 9 6

Getting Started with Reverse mode

from autodiffpy.reverse import Reverse

x = Reverse(3)
f = x ** 2

f.gradient_value = 1

print(f.value, x.get_gradient())
>>> 9 6

Learn more

To learn more about the features of forward and reverse mode, including functions of multiple inputs and outputs and elementary functions, head to our documentation at our docs.

Authors

  • Teddy Liu
  • Tapley Stephenson
  • Zihao Xu
  • David Zheng

Metadata

Release files for autodiffpy-free-holmes 0.0.9

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

Source distribution (sdist)

Source distribution for autodiffpy-free-holmes 0.0.9
File Size Uploaded Provenance Actions
autodiffpy-free-holmes-0.0.9.tar.gz 7.9 kB Without provenance Details for autodiffpy-free-holmes-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for autodiffpy-free-holmes 0.0.9
File Interpreter ABI Platform Actions
autodiffpy_free_holmes-0.0.9-py3-none-any.whl Python 3 none any Details for autodiffpy_free_holmes-0.0.9-py3-none-any.whl

Total release size: 17.8 kB

Release files / autodiffpy-free-holmes-0.0.9.tar.gz

Download URL autodiffpy-free-holmes-0.0.9.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50d5342d71cb89b412085a867795b21da5c61cde4a39760dbfedad15273abf36
BLAKE2b-256 checksum
How to use checksums
87d42662b8a26e25a702a5b13ed1706cb7be656c9e33df405960e93c0c475722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7

Release files / autodiffpy_free_holmes-0.0.9-py3-none-any.whl

Download URL autodiffpy_free_holmes-0.0.9-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e5b6f6b016c500e8853a4a2ac1702c7ae1230390320b1894e2ef8468e91d9fc5
BLAKE2b-256 checksum
How to use checksums
2e78075d0c661f8c5dff0d8663afd1d0950e42aab3fcf891678da7e02b449b13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.7

Security for autodiffpy-free-holmes 0.0.9

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