aang77 commited on
Commit
766ba35
1 Parent(s): b59c09e

Update modeling_cxrbert.py

Browse files
Files changed (1) hide show
  1. modeling_cxrbert.py +1 -0
modeling_cxrbert.py CHANGED
@@ -16,6 +16,7 @@ from .configuration_cxrbert import CXRBertConfig
16
 
17
  BERTTupleOutput = Tuple[T, T, T, T, T]
18
 
 
19
  class CXRBertOutput(ModelOutput):
20
  last_hidden_state: torch.FloatTensor
21
  logits: torch.FloatTensor
 
16
 
17
  BERTTupleOutput = Tuple[T, T, T, T, T]
18
 
19
+ @dataclass
20
  class CXRBertOutput(ModelOutput):
21
  last_hidden_state: torch.FloatTensor
22
  logits: torch.FloatTensor