pytorch-complex-tensor
pytorch-complex-tensor copied to clipboard
Unofficial complex tensor and scalar support for Pytorch
Bumps [py](https://github.com/pytest-dev/py) from 1.7.0 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.2 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...
Bumps [numpy](https://github.com/numpy/numpy) from 1.15.4 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.15 to 2.0.16. Changelog Sourced from codecov's changelog. 2.0.16 fixed reported command injection vulnerability. Commits 3a8b06b Version 2.0.16 b2951c0 Merge pull request #231 from codecov/ce-1380 2a80aa4 CE-1380_sanitize_args...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.0 to 9.3.0. Release notes Sourced from pillow's releases. 9.3.0 https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html Changes Initialize libtiff buffer when saving #6699 [@radarhere] Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [@wiredfool]...
Bumps [certifi](https://github.com/certifi/python-certifi) from 2018.11.29 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...
from pytorch_complex_tensor import ComplexTensor import math import torch import torch.nn as nn import torch.nn.functional as F import numpy as np # torch equivalent C = ComplexTensor([[1, 1, 1], [2, 2,...
Added functionalities for sin() and cos()
` import pytorch_complex_tensor as pct import torch if __name__ == '__main__': C = torch.FloatTensor([[1, 1, 1], [2, 2, 2], [3, 3, 3], [4, 4, 4]]) C = C.cuda() print(pct.ComplexTensor(C)) `...
Is conjugate of complex tensor supported? I guess it would be easy to implement by flipping one of the tensor dimensions, but wanted to ask if you would support it...