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

Method __repr__

tensorflow/python/ops/ragged/ragged_tensor.py:1783–1788  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1781 # String Encoding
1782 #=============================================================================
1783 def __repr__(self):
1784 if self._is_eager():
1785 return "<tf.RaggedTensor %s>" % self.to_list()
1786 else:
1787 return "tf.RaggedTensor(values=%s, row_splits=%s)" % (self._values,
1788 self._row_splits)
1789
1790 #=============================================================================
1791 # Eager Execution Mode

Callers

nothing calls this directly

Calls 2

_is_eagerMethod · 0.95
to_listMethod · 0.95

Tested by

no test coverage detected