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. 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

complextorch-0.1.2-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: complextorch-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 49.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d17dfcd38997691e2483209e5f4008fb2047163cac3544ab14a5d6cbdbc60eae
MD5 d26ab58c8c763e89250e7668682d0592
BLAKE2b-256 b3cf35e0828ebff8358704cc7269a98dc6e2ab5352712702aeabcdcbd58555a9

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