You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some circumstances we need the map to be indexed with other variables. For instance when we work with transformed variables and need the map to link the original value variables to the transformed variables (which may have different shapes/dtypes). In this case we need to overwrite the ref_params property:
Currently one has to pass an iterable (that is then converted to a tuple) to initialize
RaveledParamsMap
:In some circumstances we need the map to be indexed with other variables. For instance when we work with transformed variables and need the map to link the original value variables to the transformed variables (which may have different shapes/dtypes). In this case we need to overwrite the
ref_params
property:I suggest to simplify this by allowing the
RaveledParamsMap
to be initialized with a dictionary:Shapes and dtypes are infered from the dictionaries' values, the map is indexed by the dictionaries' keys.
The text was updated successfully, but these errors were encountered: