joechou commited on
Commit
ac1b612
·
1 Parent(s): 96bb16f

Update transformer.py

Browse files
Files changed (1) hide show
  1. 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