Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Aug 8, 2023
1 parent fa19024 commit 36c0d3e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tensordict/tensordict.py
Original file line number Diff line number Diff line change
Expand Up @@ -3785,9 +3785,6 @@ def __init__(
for key, value in source.items():
self.set(key, value)

# def __hash__(self):
# return hash((self._tensordict, self._batch_size, self._device))

@classmethod
def from_dict(cls, input_dict, batch_size=None, device=None, batch_dims=None):
"""Returns a TensorDict created from a dictionary or another :class:`TensorDict`.
Expand Down

0 comments on commit 36c0d3e

Please sign in to comment.