I updated PyTorch to 0.4 and started rewriting my old C extensions. However, my code gave an error, when I tried to copy data from one tensor to another. In my old implementation, I also had a similar line but I have never seen that error.
tensor.copy_(other_tensor) gives the following error:
RuntimeError: VariableType::ID() not implemented
What does this error mean? How can I fix this? Thanks in advance.