torch.nn.functional.binary_cross_entropy_with_logits(input, target, ... -torch.mean((label*torch.log(x)+(1-label)*torch.log(1-x))*weight) print(result).
確定! 回上一頁