-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for parameterization upper and lower bounds? #320
Comments
Hi Isuru, If you want even more control on the parameterization, then I suggest using the |
Hi @loreloc , Thank you for the reply and the info. I will check out the
I actually tried out the same earlier. If you think this is something good to have in addition to capabilities of BR, |
Hi Isuru, |
Hi,
Right now, the
Parameterization
class takes the argumentsinitialization
,activation
anddtype
[1]. If there is a requirement to specify upper and/or lower limits to the circuit parameter values, is there a way of doing it? AFAIU, theParameterization
class should carry this additional arguments, or is there a better way?Some symbolic level parameter classes (ex.:
ClampParameter
[2]) already exist for actual clamping, I think we only need to pass the additional information about min/max values from the definition of the symbolic circuit.[1]. https://github.com/april-tools/cirkit/blob/main/cirkit/templates/circuit_templates/utils.py#L35-L44
[2]. https://github.com/april-tools/cirkit/blob/main/cirkit/symbolic/parameters.py#L563
Thanks,
Isuru
The text was updated successfully, but these errors were encountered: