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
initialize method change the state of the sampler. It is called in __repr__ which "apparently" is called behind the seen when debugging. Should we allow __repr__ to change the state of the sampler? This was a confusion point for me (@amal-ghamdi ) while debugging. For example consider this code
Description:
initialize
method change the state of the sampler. It is called in__repr__
which "apparently" is called behind the seen when debugging. Should we allow__repr__
to change the state of the sampler? This was a confusion point for me (@amal-ghamdi ) while debugging. For example consider this codeRunning this code will result in printing
False
, however, if run in debug mode, it will result inTrue
.DoD:
__repr__
and get the update reviewed and mergedFalse
in both debug and run modesThe text was updated successfully, but these errors were encountered: