can anyone have a sample for the correct use of  and torch::nn::functional::pad in CPP,
this is python code
input_data = torch.nn.functional.pad( input_data.unsqueeze(1), (2,2, 0, 0), mode=‘reflect’)
and I cant convert this line to CPP with libtorch. equal function in libtorch is
torch:;nn::functional::pad()
what is the type of parameters in this function?