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
Currently the hashing of generic objects is a bit brittle, for example torch.Tensor objects don't have an empty __dict__ so they all get hashed to the same value. An option is to iterate through all the attributes in __dir__ and find all the non-method/property attributes to make a hash out of, this could be quite difficult to do generically though...
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Currently the hashing of generic objects is a bit brittle, for example torch.Tensor objects don't have an empty
__dict__
so they all get hashed to the same value. An option is to iterate through all the attributes in__dir__
and find all the non-method/property attributes to make a hash out of, this could be quite difficult to do generically though...The text was updated successfully, but these errors were encountered: