rbnet.util
Functions
| Create a detached copy of tensor. | |
| 
 | |
| 
 | Normalise tensor  | 
| 
 | For the given ND array (NumPy or PyTorch), normalise each 1D array obtained by indexing the 'axis' dimension if the sum along the other dimensions (for that entry) is non-zero. | 
| 
 | |
| 
 | 
Classes
| 
 | A plain ModuleList with  | 
| A mixin class for modules with constraints to work cooperatively. | |
| 
 | Initialize internal Module state, shared by both nn.Module and ScriptModule. | 
| 
 | A class for probability distributions that enforces positivity and normalisation constraints and projects the gradient in backward passes. | 
| 
 | Attributes: | 
| 
 | A tuple of  |