Solved by Matej_Kompanek in post #2 
              
              
                Following code compiles and runs as expected (at least with MSVC and win 10), or maybe I am missing something ?  
std::vector<int64_t> vec;

vec.push_back(1);
vec.push_back(2);
vec.push_back(3);
auto t = torch::zeros(vec);
std::cout << t << std::endl;