import torch.nn.functional as F
loss = F.multilabel_soft_margin_loss(x_f, label) #其中x_f大小为:torch.Size([1, 20]),label大小为torch.Size([1, 20]),1代表batch_size
import torch.nn.functional as F
loss = F.multilabel_soft_margin_loss(x_f, label) #其中x_f大小为:torch.Size([1, 20]),label大小为torch.Size([1, 20]),1代表batch_size
8479

被折叠的 条评论
为什么被折叠?
>
