I am also getting the same error,
File “C:\Users\XYZ\Anaconda3\envs\PyTorch\lib\site-packages\torch\nn\modules\linear.py”, line 72, in init
self.weight = Parameter(torch.Tensor(out_features, in_features))
TypeError: new() received an invalid combination of arguments - got (Tensor, GCN), but expected one of:

(torch.device device)
(torch.Storage storage)
(Tensor other)
(tuple of ints size, torch.device device)
didn’t match because some of the arguments have invalid types: (!Tensor!, !GCN!)
(object data, torch.device device)
didn’t match because some of the arguments have invalid types: (!Tensor!, !GCN!)