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

RecursionError: maximum recursion depth exceeded while calling a Python object

Open SadAngelF opened this issue 2 years ago • 0 comments

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, 2], [3, 3, 3], [4, 4, 4]]) C.requires_grad = True print(C.abs())

I run the code above, then I get the wrong: RecursionError: maximum recursion depth exceeded while calling a Python object

SadAngelF avatar Oct 10 '22 03:10 SadAngelF