hash of Tensor is by object, not by value. It’s not reasonable to hash by value because (1) it’s expensive for large tensors and (2) every hash of a cuda tensor will be a synchronization.
1 Like
hash of Tensor is by object, not by value. It’s not reasonable to hash by value because (1) it’s expensive for large tensors and (2) every hash of a cuda tensor will be a synchronization.