Skip to main content

No project description provided

Project description

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

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

autodiffpy-free-holmes-0.0.9.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

autodiffpy_free_holmes-0.0.9-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file autodiffpy-free-holmes-0.0.9.tar.gz.

File metadata

  • Download URL: autodiffpy-free-holmes-0.0.9.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for autodiffpy-free-holmes-0.0.9.tar.gz
Algorithm Hash digest
SHA256 50d5342d71cb89b412085a867795b21da5c61cde4a39760dbfedad15273abf36
MD5 1db1e4a93903b4b6fdac2b2eaaa00165
BLAKE2b-256 87d42662b8a26e25a702a5b13ed1706cb7be656c9e33df405960e93c0c475722

See more details on using hashes here.

File details

Details for the file autodiffpy_free_holmes-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: autodiffpy_free_holmes-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for autodiffpy_free_holmes-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b6f6b016c500e8853a4a2ac1702c7ae1230390320b1894e2ef8468e91d9fc5
MD5 3e7e4c4c2367623783b93a0f578e7014
BLAKE2b-256 2e78075d0c661f8c5dff0d8663afd1d0950e42aab3fcf891678da7e02b449b13

See more details on using hashes here.

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