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

Method __str__

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

Source from the content-addressed store, hash-verified

893 return self
894
895 def __str__(self):
896 return "tf.Tensor(%s, shape=%s, dtype=%s)" % (numpy_text(self), self.shape,
897 self.dtype.name)
898
899 def __repr__(self):
900 return "<tf.Tensor: id=%s, shape=%s, dtype=%s, numpy=%s>" % (

Callers

nothing calls this directly

Calls 1

numpy_textFunction · 0.85

Tested by

no test coverage detected