Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Dec 3, 2024
1 parent 694f641 commit 31eb86f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tensordict/tensorclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ def __subclasscheck__(self, subclass):
]
# Methods to be executed from tensordict, any ref to self means 'self._tensordict', no wrap of result
_FALLBACK_METHOD_FROM_TD_NOWRAP = [
"_check_batch_size",
"_check_device",
"_check_dim_name",
"_check_unlock",
"_default_get",
Expand Down Expand Up @@ -181,6 +183,7 @@ def __subclasscheck__(self, subclass):
"_select", # TODO: must be specialized
"_set_at_tuple",
"_set_tuple",
"_to_module",
"abs",
"abs_",
"acos",
Expand Down Expand Up @@ -327,6 +330,7 @@ def __subclasscheck__(self, subclass):
"tanh",
"tanh_",
"to",
"to_module",
"transpose",
"trunc",
"trunc_",
Expand Down

0 comments on commit 31eb86f

Please sign in to comment.