Not a Contribution.
Is it possible to access and modify the parameters of a TorchScript model using the libtorch C++ API?
Suppose for eg, that we want to load the parameters in a std vector/map, perform some operations on them and write them back to the TorchScript model. I believe this is possible using the torch::nn::Module API, but if we do not have the model definition in C++, would something like this be doable using the TorchScript model?
Thanks!