Closed cht619 closed 2 years ago
outputs_tgt = outputs.narrow(0, labels_source.size(0), inputs.size(0)-labels_source.size(0)) # get dt outputs_tgt_perturb = outputs.narrow(0, inputs.size(0), inputs.size(0) - labels_source.size(0)) # what is this for?
outputs_tgt_perturb = outputs.narrow(0, inputs.size(0), output.size(0) - input.size(0))
outputs_tgt = outputs.narrow(0, labels_source.size(0), inputs.size(0)-labels_source.size(0)) # get dt outputs_tgt_perturb = outputs.narrow(0, inputs.size(0), inputs.size(0) - labels_source.size(0)) # what is this for?