(self)
| 398 | raise NotImplementedError("Dataset.element_spec") |
| 399 | |
| 400 | def __repr__(self): |
| 401 | output_shapes = nest.map_structure(str, get_legacy_output_shapes(self)) |
| 402 | output_shapes = str(output_shapes).replace("'", "") |
| 403 | output_types = nest.map_structure(repr, get_legacy_output_types(self)) |
| 404 | output_types = str(output_types).replace("'", "") |
| 405 | return ("<%s shapes: %s, types: %s>" % (type(self).__name__, output_shapes, |
| 406 | output_types)) |
| 407 | |
| 408 | @property |
| 409 | def _flat_shapes(self): |
nothing calls this directly
no test coverage detected