Skip to main content

A fully modular framework for modeling and optimizing analog/photonic neural networks

Project description

AnalogVNN

arXiv Open In Colab

PyPI version Documentation Status Python License: MPL 2.0

Documentation: https://analogvnn.readthedocs.io/

Installation:

pip install analogvnn

3 Layered Linear Photonic Analog Neural Network

Abstract

AnalogVNN is a simulation framework built on PyTorch which can simulate the effects of optoelectronic noise, limited precision, and signal normalization present in photonic neural network accelerators. We use this framework to train and optimize linear and convolutional neural networks with up to 9 layers and ~1.7 million parameters, while gaining insights into how normalization, activation function, reduced precision, and noise influence accuracy in analog photonic neural networks. By following the same layer structure design present in PyTorch, the AnalogVNN framework allows users to convert most digital neural network models to their analog counterparts with just a few lines of code, taking full advantage of the open-source optimization, deep learning, and GPU acceleration libraries available through PyTorch.

AnalogVNN Paper: https://arxiv.org/abs/2210.10048

Citing AnalogVNN

We would appreciate if you cite the following paper in your publications for which you used AnalogVNN:

@article{shah2022analogvnn,
  title={AnalogVNN: A fully modular framework for modeling and optimizing photonic neural networks},
  author={Shah, Vivswan and Youngblood, Nathan},
  journal={arXiv preprint arXiv:2210.10048},
  year={2022}
}

Or in textual form:

Vivswan Shah, and Nathan Youngblood. "AnalogVNN: A fully modular framework for modeling 
and optimizing photonic neural networks." arXiv preprint arXiv:2210.10048 (2022).

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

analogvnn-1.0.0.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

analogvnn-1.0.0-py3-none-any.whl (72.0 kB view details)

Uploaded Python 3

File details

Details for the file analogvnn-1.0.0.tar.gz.

File metadata

  • Download URL: analogvnn-1.0.0.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for analogvnn-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5fcc6c319dc3a9aef482ae826496c3ed5a469ed020f946dffba41a52f0bb3460
MD5 b1c2ee93eec4a87995b39e37f8d53baf
BLAKE2b-256 24a0f14031e37ecb498ebae85a1e96f504721f18ef0c98d89266e3c27a63aba9

See more details on using hashes here.

File details

Details for the file analogvnn-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: analogvnn-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 72.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for analogvnn-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68ac9ac112fc0b574cb93ecf9ac60a6236eea5d8f0f4fb5f99ebc970ac40744b
MD5 4ece0743d3b801d80c134c9dbd9090f4
BLAKE2b-256 d648e55222341a470e49ca6cd7124af69fc3e1481e2b3ebc275616b87a798a0b

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