BCEWithLogitsLoss = Sigmoid + BCELoss,
nn接口 Function接口
nn.BCELoss( ) F.binary_cross_entropy( )
nn.BCEWithLogitsLoss( ) F.binary_cross_entropy_with_logits( )
BCEWithLogitsLoss = Sigmoid + BCELoss,
nn接口 Function接口
nn.BCELoss( ) F.binary_cross_entropy( )
nn.BCEWithLogitsLoss( ) F.binary_cross_entropy_with_logits( )