Accessing state_dicts in c++

Hi guys,

Can anyone suggest a way to interpolate the weights of a network in c++ directly, such as this example in Python?

Thanks