import torch import torch.nn as nn # Single-label binary x = torch.randn(10) yhat = torch.sigmoid(x) y = torch.randint(2, (10,), dtype=torch.
確定! 回上一頁