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

Method __repr__

tensorflow/python/framework/ops.py:899–901  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

897 self.dtype.name)
898
899 def __repr__(self):
900 return "<tf.Tensor: id=%s, shape=%s, dtype=%s, numpy=%s>" % (
901 self._id, self.shape, self.dtype.name, numpy_text(self, is_repr=True))
902
903 def __len__(self):
904 """Returns the length of the first dimension in the Tensor."""

Callers

nothing calls this directly

Calls 1

numpy_textFunction · 0.85

Tested by

no test coverage detected