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

Method _was_converted

tensorflow/python/ops/parallel_for/pfor.py:1241–1244  ·  view source on GitHub ↗

True if t is not a conversion of itself.

(self, t)

Source from the content-addressed store, hash-verified

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

Callers 1

_convert_helperMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected