Fix the design issues in MeasurableTransform
#206
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
refactoring
A change that improves the codebase but doesn't necessarily introduce a new feature
rv-transforms
Involves transforms applied to random variables
Currently,
MeasurableTransform
keeps a fixed set ofvalid_scalar_type
s consisting of supported scalarOp
s. This needs to be completely changed so that supportedOp
s can be extended in a reasonable way, and without the need to import/specify them in AePPL itself, or perform hackish updates to static lists in AePPL classes.The entire approach needs to be reconsidered carefully, although the aforementioned improvements are still a good start.
The text was updated successfully, but these errors were encountered: