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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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