tlbook-code
tlbook-code copied to clipboard
在models部分有关bottleneck_layer位置的问题
在您的这本书提供的models.py的code中,在forward函数中,source和target是先过了classifier_layer,再通过bottleneck_layer 但是在DeepDA提供的code中,是先通过bottleneck_layer再通过classifier_layer 想问下以上两种方式哪种是正确的,抑或是都可以?
这2个的classifier_layer是不一样的,你可以仔细看一下。所以都是对的。