Searched refs:tensor_str (Results 1 – 2 of 2) sorted by relevance
60 def has_tensor(self, tensor_str): argument61 return self._HasTensor(compat.as_bytes(tensor_str)) # pylint: disable=protected-access66 def get_tensor(self, tensor_str): argument70 self, compat.as_bytes(tensor_str))
218 tensor_str = str(t)219 self.assertIn("shape=%s, dtype=%s" % (t.shape, t.dtype.name), tensor_str)220 self.assertIn(str(t), tensor_str)