Update modeling_cxrbert.py
Browse files- 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
|