Spaces:
Runtime error
Runtime error
Update transformer.py
Browse files- transformer.py +0 -1
transformer.py
CHANGED
@@ -87,7 +87,6 @@ class Encoder(nn.Module):
|
|
87 |
)
|
88 |
self.mode = mode
|
89 |
|
90 |
-
@cached_property
|
91 |
def device(self):
|
92 |
return list(self.parameters())[0].device
|
93 |
|
|
|
87 |
)
|
88 |
self.mode = mode
|
89 |
|
|
|
90 |
def device(self):
|
91 |
return list(self.parameters())[0].device
|
92 |
|