Hi
I want to use one model output as the parameters of another model, how can I do it?
When doing something like:
model.state_dict()[‘first_layer.conv.weight’].copy_(x1)
It doesn’t really work.
Cannot do the backward.
Assume that x1 is the output of another model.
Thanks a lot in advance