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
(In my actual use case I can't do something simple like w_merged = w1 at the start because I need to have the variable in a larger scope.)
Could a check be added that tests if w_merged does not contain any data and then simply overwrites it with the values of w instead of trying to add them?
While I'm talking about this, could a check be added so that something like w1.add(1.0) works instead of manually needing to wrap the value on input in something like w1.add(np.array([1.0]))?
Thank you!
The text was updated successfully, but these errors were encountered:
Hey, just found this library and want to say that it covers exactly my use case. Thanks!
However, I found a minor annoyance in the API. If I have multiple Welford objects
w1
,w2
, and so on, and want to merge them into onewill give the following error:
Causing me to have to write a workaround like the following:
(In my actual use case I can't do something simple like
w_merged = w1
at the start because I need to have the variable in a larger scope.)Could a check be added that tests if
w_merged
does not contain any data and then simply overwrites it with the values ofw
instead of trying to add them?While I'm talking about this, could a check be added so that something like
w1.add(1.0)
works instead of manually needing to wrap the value on input in something likew1.add(np.array([1.0]))
?Thank you!
The text was updated successfully, but these errors were encountered: