You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.the A is current features, the B is pre_features?
2.loss = criterion(output, target).view(1, -1).mm(weight1).view(1),when loss.backward(), the weight1 will be back propagation?
The text was updated successfully, but these errors were encountered:
No, actually A and B are two variables and they can be considered as two features in current features.
weight1 is only used for reweighting the loss calculated by each sample so that its update is not included in the backpropagation of the main network. The backpropagation of the main network only includes parameters of the main model.
1.the A is current features, the B is pre_features?
2.loss = criterion(output, target).view(1, -1).mm(weight1).view(1),when loss.backward(), the weight1 will be back propagation?
The text was updated successfully, but these errors were encountered: