"new_empty()"function. Is it a python function or pytorch function?
Closed this issue · 1 comments
wangshanshanAHU commented
Sorry,I can't run the codes because the erro of "new_empty()"function. Is it a python function or pytorch function? I run it below pytorch 0.4 version.
jxgu1016 commented
new_empty
is a new method to initialize Tensor since PyTorch 0.4.1. Updating your PyTorch version will fix it.