DropPath¶
- class dragon.vm.torch.nn.DropPath(
 p=0.2,
 inplace=False
 )[source]¶
- Set the examples over input to zero randomly. [Larsson et.al, 2016]. - The DropPath function is defined as: \[\text{DropPath}(x_{ij}) = x_{ij} * (r_{i} \sim \mathcal{B}(1, 1 - p)) \]- Examples: - x = torch.ones(5, 2, 2, 2) m = torch.nn.DropPath() y = m(x) - See also 
