OK,this problem is solved. I have downloaded the pytorch of C++ installed vesion which the file VariableType.h is in