xrbm.train package¶
Submodules¶
xrbm.train.cdk module¶
Contrastive Divergence Gradient Approximator
-
class
xrbm.train.cdk.
CDApproximator
(learning_rate, momentum=0, k=1, regularizer=None)[source]¶ Bases:
object
Contrastive Divergence Gradient Approximator
-
apply_updates
(model, grads)[source]¶ Updates the model parameters based on the given gradients, using momentum
-