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

Method __repr__

tensorflow/python/data/ops/dataset_ops.py:400–406  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 4

get_legacy_output_shapesFunction · 0.85
get_legacy_output_typesFunction · 0.85
typeFunction · 0.85
replaceMethod · 0.80

Tested by

no test coverage detected