openfold.model.dropout¶
Classes
|
Implementation of dropout with the ability to share the dropout mask along a particular dimension. |
|
Convenience class for columnwise dropout as described in subsection 1.11.6. |
|
Convenience class for rowwise dropout as described in subsection 1.11.6. |
- class Dropout(r, batch_dim)¶
Bases:
ModuleImplementation of dropout with the ability to share the dropout mask along a particular dimension.
If not in training mode, this module computes the identity function.