drop_path
drop_path
¶
DropPath
¶
Bases: Module
Stochastic depth as in timm's DropPath, dropping entire samples from the batch. Taken from https://arxiv.org/pdf/1603.09382.
Source code in src/versatil/models/layers/drop_path.py
forward
¶
Randomly drop whole samples from the residual branch during training.