Hi,
I was looking for an API to set weight values in libtorch. In the python version, one can easily use torch.nn.functional.weight.data.fill_(xx) and torch.nn.functional.bias.data.fill_(xx). But, it seems that such an API does not exist in C++ yet.
I would appreciate any help or comment to achieve such functionality.
Thanks,
Afshin