The non-linear activation is automatically applied in CrossEntropyLoss . When you call BCELoss , you will typically want to apply the sigmoid ...
確定! 回上一頁