Args:
p: probability of an element to be zeroed. Default: 0.5
- training: apply dropout if is ``True``. Defualt: ``True``
+ training: apply dropout if is ``True``. Default: ``True``
inplace: If set to ``True``, will do this operation in-place. Default: ``False``
"""
if p < 0. or p > 1.:
Args:
p: probability of a channel to be zeroed. Default: 0.5
- training: apply dropout if is ``True``. Defualt: ``True``
+ training: apply dropout if is ``True``. Default: ``True``
inplace: If set to ``True``, will do this operation in-place. Default: ``False``
"""
if p < 0. or p > 1.:
Args:
p: probability of a channel to be zeroed. Default: 0.5
- training: apply dropout if is ``True``. Defualt: ``True``
+ training: apply dropout if is ``True``. Default: ``True``
inplace: If set to ``True``, will do this operation in-place. Default: ``False``
"""
# This is 100% the same code as dropout2d. We duplicate this code so that