MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testUnbatch

Method testUnbatch

tensorflow/python/data/util/structure_test.py:682–685  ·  view source on GitHub ↗
(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

Calls 1

_unbatchMethod · 0.45

Tested by

no test coverage detected