virne.solver.learning.utils#
Functions
|
Apply a mask to a given logits tensor. |
|
Get the available device (CPU or GPU). |
|
Get a sample from an input observation batch given the indices. |
|
Convert a batch of node and edge information into Pytorch Geometric format. |
|
Convert node and edge information into Pytorch Geometric format. |
|
Load batch data from a list of networks |
|
Load data from network |
|
Normalize node or edge data. |
|
Update mean, variance, and count from the batch mean, variance, and count. |
Classes
|
Calculate running mean and standard deviation for a given data. |