Updates the underlying (framework specific) tensor variable.
In case of a fixed value, this method does nothing and only returns the fixed
value as-is.
- Parameters:
timestep (int) – The current timestep that the update might depend on.
- Returns:
The current value of the tensor variable as a python float.
- Return type:
float