pytorch-complex-tensor icon indicating copy to clipboard operation
pytorch-complex-tensor copied to clipboard

Can it support to transfer CUDA torch.tensor to CUDA complex tensor?

Open KellyGong opened this issue 4 years ago • 0 comments

` 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)) `

the output is

Process finished with exit code -1073741819 (0xC0000005)

Thanks! Best wishes

KellyGong avatar Mar 25 '20 09:03 KellyGong