torch.nn.functional.dropout3d#
- torch.nn.functional.dropout3d(input,p=0.5,training=True,inplace=False)[source]#
Randomly zero out entire channels (a channel is a 3D feature map).
For example, the-th channel of the-th sample in thebatched input is a 3D tensor of the input tensor.Each channel will be zeroed out independently on every forward call withprobability
pusing samples from a Bernoulli distribution.See
Dropout3dfor details.