Skip to content

Commit

Permalink
mod: descs
Browse files Browse the repository at this point in the history
  • Loading branch information
jindongwang committed Feb 20, 2019
1 parent 55370a9 commit 22ac14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/deep/DaNN/DaNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ def forward(self, src, tar):
x_tar = self.dropout(x_tar)
x_src_mmd = self.relu(x_src)
x_tar_mmd = self.relu(x_tar)
x_src = self.layer_hidden(x_src_mmd)
return x_src, x_src_mmd, x_tar_mmd
y_src = self.layer_hidden(x_src_mmd)
return y_src, x_src_mmd, x_tar_mmd

0 comments on commit 22ac14b

Please sign in to comment.