Hi,
Is it possible to assign weights & bias of linear op in C++?
auto m = torch::nn::Linear(
      torch::nn::LinearOptions(in_feature_dim, out_feature_dim).bias(true));

// assign weights & bias 
 m.get()->weight.copy_(weight_py_tensor);????

Searched around, didn’t find a good solution.
Thanks!!