This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Inference.run throws when passing Variables of type PARAMETER as 'constants' argument #193
Labels
bug
Something isn't working
Describe the bug
When passing Variables of type PARAMETER as 'constants' argument to the constructor of Inference (or child classes), this line throws during the execution of Inference's run method since the Variables that were passed as 'constants' are in self._var_trans but not in the 'kw' input argument.
Expected behavior
Execution does not throw and Variables passed as 'constants' argument to the Inference constructor, even if they are of type PARAMETER, are treated as constants and not optimized in training.
Desktop:
The text was updated successfully, but these errors were encountered: