Error:module 'torch' has no attribute 'empty'

This seems to be a bug when trying to print an empty Tensor.
@richard explained it here.