True if t is not a conversion of itself.
(self, t)
| 1239 | return output |
| 1240 | |
| 1241 | def _was_converted(self, t): |
| 1242 | """True if t is not a conversion of itself.""" |
| 1243 | converted_t = self._conversion_map[t] |
| 1244 | return converted_t.t is not t |
| 1245 | |
| 1246 | def _add_conversion(self, old_output, new_output): |
| 1247 | assert isinstance(old_output, (ops.Tensor, ops.Operation)), old_output |