📜  nn.dropout - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:50.841000             🧑  作者: Mango

代码示例2
>>> m = nn.Dropout(p=0.2)
>>> input = torch.randn(20, 16)
>>> output = m(input)