dwavesystems / dwavesystems/dwave-pytorch-plugin

Allow user to pass continuous observation to the loss function

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
39
Forks
25
Avg merge
28m
Merged PRs (30d)
1

Description

When RBM is used in an ML pipelines like DVAE it is necessary to update encoder parameters with respect to energy / free energy of the RBM over the output of encoders which are continuous and carry gradients during backpropagation.
The energy / free energy should be calculated with parameters of RBM (h, J) fixed (detached).
specifically the `quasi_objective` function in here [https://github.com/dwavesystems/dwave-pytorch-plugin/blob/main/dwave/plugins/torch/boltzmann_machine.py#L323](url) should allow an optional parameter (continuous observation) and return the related energy / free energy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.