Bounded#
- class torchsim.Bounded(initial, lower, upper)[source]#
Bases:
objectAn initial value and the range it is allowed to move in.
- initial#
Where the design starts.
- Type:
array-like
- lower, upper
The limits, either scalars or values per element. They are enforced exactly, by optimizing a variable the limits are a sigmoid of, so no iterate is ever outside them – which matters when the bound is what the scanner can actually play.
- Type:
float or array-like