Method
testUnbatch
(self, element_structure, expected_unbatched_structure)
Source from the content-addressed store, hash-verified
| 680 | }), |
| 681 | ) |
| 682 | def testUnbatch(self, element_structure, expected_unbatched_structure): |
| 683 | unbatched_structure = nest.map_structure( |
| 684 | lambda component_spec: component_spec._unbatch(), element_structure) |
| 685 | self.assertEqual(unbatched_structure, expected_unbatched_structure) |
| 686 | |
| 687 | # pylint: disable=g-long-lambda |
| 688 | @parameterized.named_parameters( |
Callers
nothing calls this directly
Tested by
no test coverage detected