StochasticDepth class torchvision.ops.StochasticDepth(p: float, mode: str)[source] See stochastic_depth().