Skip to main content

TensorFlow utilities for complex neural networks.

Project description

tf-complex

Build Status

This package was inspired by the work of Elizabeth Cole et al.: Image Reconstruction using an Unrolled DL Architecture including Complex-Valued Convolution and Activation Functions. Please cite their work appropriately if you use this package. The code for their work is available here.

Installation

You can install tf-complex using pypi:

pip install tf-complex

Example use

You can define a complex convolution in the following way to use in one of your models:

from tf_complex.convolutions import ComplexConv2D

conv = ComplexConv2D(
  16,
  3,
  padding='same',
  activation='crelu',
)

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

tf-complex-0.0.3.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

tf_complex-0.0.3-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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