pytorch-complex-tensor
pytorch-complex-tensor copied to clipboard
Can it support to transfer CUDA torch.tensor to CUDA complex tensor?
` 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