pfg.sampler#
The particle samplers are included here, e.g., SGLD, SVGD, PFG.
Functions
|
Get log p gradient from model with batch inputs |
|
Get functional gradient in SVGD algorithm. |
Classes
|
Implement PFG with Pytorch Optimizer class. |
|
Implement SGLD with Pytorch Optimizer class. |
|
Implement RBF SVGD with Pytorch Optimizer class. |
|
Implement RMSprop-like preconditioned SGLD (pSGLD) with Pytorch Optimizer class. |