MCPcopy Create free account
hub / github.com/ModalityDance/Omni-R1 / ModelOutputTest

Class ModelOutputTest

src/transformers/tests/utils/test_model_output.py:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32@dataclass
33class ModelOutputTest(ModelOutput):
34 a: float
35 b: Optional[float] = None
36 c: Optional[float] = None
37
38
39class ModelOutputTester(unittest.TestCase):

Calls

no outgoing calls

Tested by 9

test_get_attributesMethod · 0.68
test_set_attributesMethod · 0.68
test_set_keysMethod · 0.68
test_torch_pytreeMethod · 0.68