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

Method _add_conversion

tensorflow/python/ops/parallel_for/pfor.py:1246–1249  ·  view source on GitHub ↗
(self, old_output, new_output)

Source from the content-addressed store, hash-verified

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
1248 assert isinstance(new_output, (WrappedTensor, ops.Operation)), new_output
1249 self._conversion_map[old_output] = new_output
1250
1251 def _convert_helper(self, op_or_tensor):
1252 stack = [op_or_tensor]

Callers 3

_init_pforMethod · 0.95
_convert_helperMethod · 0.95
fFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected