Skip to main content

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

Project description

Complex PyTorch

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.

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-0.1.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

complextorch-0.1.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for complextorch-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d08a5fccb37379bba48bd3a2680f5f60cccdfc20b5c1da6417a75570c5c83bfb
MD5 672d7f3ef1e6028099cc7c34064ea95f
BLAKE2b-256 8a45124860190f2687758a22da5b3194b6f41b49bcccfa1ae330a91ea16f1f9e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for complextorch-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb7b73085e01475711f48ce9cb2b2932d1e83b9ce46dc2a69c4e203ebe2d06e
MD5 4add1f73454ce10d37a42c0e8ebd0d03
BLAKE2b-256 7b4cf7e964ba42a9c81e8cc00492e94907d2067ad70b64c59348ac57df30881e

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