Open
Description
After PyTorch update I get following message while running sample DCGAN C++ application:
[W Resize.cpp:19] Warning: An output with one or more elements was resized since it had shape [64, 1, 1, 1], which does not match the required output shape [64, 1, 1, 64].This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (function resize_output)
Message goes from calls to Tensor::backward()
. It seems like this warning is a result of changes in 2f840b166. I don't know if it's a PyTorch or sample application issue.