Skip to main content

Deep Learning framework extension allowing more efficient backpropogation of gradient in a situation with branched computational graph structure

Project description

fast-deep-rnn

This is the Course Project for the DeepLearning University Course.

Install

Library can be installed from the PyPI via

pip install fast_deep_rnn

Structure

core module contains the original core of the framework with Tensor class implementation and the set of differentiable operations, organized in Modules.

core_v2 module contains the alternative proposed implementation, resulting in much faster gradient computing in RNN-s.

Notebook nbs/02_minimal_training.ipynb contains the simplest example of model, having exponential growth in original gradient computing, and benchmarking function to measure this growth. git tags baseline_benchmark_results and solution_benchmark_results contain corresponding benchmark results inside the notebook.

Notebook nbs/01_lstm_training.ipynb contains training of LSTM on number sorting task, which became possible only after the implemented optimization.

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

fast-deep-rnn-0.0.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fast_deep_rnn-0.0.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file fast-deep-rnn-0.0.2.tar.gz.

File metadata

  • Download URL: fast-deep-rnn-0.0.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for fast-deep-rnn-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4ad433e6623de982b30d22cf2e2bbaae27e28e95f7d39a06245c619882b687f4
MD5 7effde5d6573f46ea87f2f992eb7b54b
BLAKE2b-256 a0bbde36ffecda4512c8a2048ac14da6d8417df4db9ebd171598288a92467f45

See more details on using hashes here.

File details

Details for the file fast_deep_rnn-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fast_deep_rnn-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for fast_deep_rnn-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 089c9df5a4b1422238d9585dbb905297e540a142f0e08a4993137fb8d6bfc0e7
MD5 415d016e43ad21589ca28ce24263ffd4
BLAKE2b-256 244b44b7a1fa8dcd781ceb9625cf21ff148b5c3ee8dff9be4495f068d23d3a93

See more details on using hashes here.

Supported by

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