Var.value

Contents

Var.value#

property Var.value: Any#

The value of the variable.

Can only be set if the variable is strong. If the variable is part of a Model m with m.auto_update == True, setting the value of the variable triggers an update of the model. The auto-update can be disabled to improve the performance if multiple model parameters are updated at once.