Skip to main content

A lightweight complex-valued neural network package built on PyTorch

Project description

Complex PyTorch

(Available on PyPI)

Author: Josiah W. Smith, Ph.D.

A lightweight complex-valued neural network package built on PyTorch.

This is a package built on PyTorch with the intention of implementing light-weight interfaces for common complex-valued neural network operations and architectures. Notably, we include efficient implementations for linear, convolution, and attention modules in addition to activation functions and normalization layers such as batchnorm and layernorm.

Although there is an emphasis on 1-D data tensors, due to a focus on signal processing, communications, and radar data, many of the routines are implemented for 2-D and 3-D data as well.

Documentation

Please see Read the Docs

Dependencies

This library requires numpy and PyTorch.PyTorch should be installed to your environment using the compute platform (CPU/GPU) settings for your machine. PyTorch will not be automatically installed with the installation of complextorch and MUST be installed manually by the user.

Instalation:

IMPORTANT: Prior to installation, install PyTorch to your environment using your preferred method using the compute platform (CPU/GPU) settings for your machine.

Using pip

pip install complextorch

Basic Usage

import complextorch as cvtorch

x = cvtorch.randn(64, 5, 7)

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

complextorch-1.0.0.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

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

complextorch-1.0.0-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for complextorch-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b4b3a0c3c19581f99303a3e7c535aa345e908e26d9b7c4ac07858bac7dadd4b1
MD5 ecf30a65ae4829b72dd6b16e5f0aaf79
BLAKE2b-256 d430cd844c14be748d8b2b2d5556f9d23441bdf6bc834fff87de5d7d5a654f66

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for complextorch-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f5ae397b8fccf1fa774eaa50d7713263f32da5e132a828f024f3a5616ad684f
MD5 eb482f94ea4c99abdacbf22c4c820969
BLAKE2b-256 c060012884011643d3c953da564f16e746369732bdfa00835e4c3b7c9ab3b8df

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