Skip to main content

Complex Modules for PyTorch

Project description


Install it using pip:

pip install pytorch-complex

Usage: Similar to PyTorch. For using the Complex features of this library, just change the regular torch imports with torchcomplex imports. For example: import torchcomplex.nn as nn instead of import torch.nn as nn Then, simply nn.Conv2d for both torch and torchcomplex, for 2D Convolution


0.0.8 (2020-12-08)

  • Complex Weight Initializations added (Few basics and trabelsi_standard, trabelsi_independent)

0.0.1 (2020-11-06)

  • First release (of the package) on PyPI.
  • torchcomplex.nn -> Convolutions, Linears, Dropout, Pooling, BatchNorm, Few Actications
  • Untested first version, could be buggy

0.0.0 (2020-11-06)

  • First release (basic structure, not the actual package code) on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytorch-complex, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size pytorch_complex-0.0.8-py3-none-any.whl (42.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pytorch-complex-0.0.8.tar.gz (36.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page