train_eval_funs
Description
Basic methods for training and evaluation of models with callback calls.
Functions
|
Return the device of the given pytorch model. |
|
Evaluate the model wrt loss and |
|
Prepare and return a torch data loader with device-dependent multi-processing settings. |
|
Performs prediction with probit approximation of the Bayesian posterior. |
|
Evaluate the model wrt loss and |
|
Train for one epoch, evaluate, and return history and test results. |