使用F.dropout ( nn.functional.dropout )的时候需要设置它的training这个状态参数与模型整体的一致. 比如: Class DropoutFC(nn.Module): def ...
確定! 回上一頁