fix send to device
This commit is contained in:
parent
065e913b2d
commit
d7a932f8ed
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class Tensor:
|
|||
self.device_ctype
|
||||
)
|
||||
|
||||
self.to(device)
|
||||
self = self.to(device)
|
||||
|
||||
else:
|
||||
self.tensor = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue