Update convert.py
remove useless comment
This commit is contained in:
parent
dd8902d3e4
commit
e3c2421b9f
1 changed files with 1 additions and 3 deletions
|
@ -709,9 +709,7 @@ class LazyUnpickler(pickle.Unpickler):
|
|||
|
||||
@staticmethod
|
||||
def rebuild_from_type_v2(func, new_type, args, state):
|
||||
# import torch; return torch._tensor._rebuild_from_type_v2(func, new_type, args, state)
|
||||
ret = func(*args)
|
||||
return ret
|
||||
return func(*args)
|
||||
|
||||
CLASSES: Dict[Any, Any] = {
|
||||
('torch._tensor', '_rebuild_from_type_v2'): rebuild_from_type_v2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue