What is "std.data.new(n,z_dim)" and how to write it in C++

Hi,
I am trying write the following python code in C++.

“eps = torch.autograd.Variable(std.data.new(n,z_dim).normal_())”

I got stuck on the “std.data.new(n,z_dim)”, I didn’t find it in torch API and python, anyone have idea on it, and how write it in C++?
Many thanks~